1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-07-06 17:46:00 +00:00

Fix formatting

This commit is contained in:
Peter Todd
2013-10-21 02:18:47 -04:00
parent 3b0e74507e
commit d9e890a8f2
36 changed files with 129 additions and 240 deletions

View File

@@ -1,5 +1,3 @@
{{bip}}
<pre>
BIP: 60
Title: Fixed Length "version" Message (Relay-Transactions Field)
@@ -28,7 +26,7 @@ Another property of fixed-length field messages is the ability to pass stream op
==Specification==
=== version ===
When a node creates an outgoing connection, it will immediately [[Version Handshake|advertise]] its version. The remote node will respond with its version. No futher communication is possible until both peers have exchanged their version.
When a node creates an outgoing connection, it will immediately advertise its version. The remote node will respond with its version. No futher communication is possible until both peers have exchanged their version.
Payload:
@@ -49,11 +47,11 @@ Payload:
|-
| 8 || nonce || uint64_t || Node random nonce, randomly generated every time a version packet is sent. This nonce is used to detect connections to self.
|-
| ? || user_agent || [[#Variable length string|var_str]] || [[BIP_0014|User Agent]] (0x00 if string is 0 bytes long)
| ? || user_agent || var_str || [[bip-0014.mediawiki|User Agent]] (0x00 if string is 0 bytes long)
|-
| 4 || start_height || int32_t || The last block received by the emitting node
|-
| 1 || relay || bool || Whether the remote peer should announce relayed transactions or not, see [[BIP 0037]], since version >= 70001
| 1 || relay || bool || Whether the remote peer should announce relayed transactions or not, see [[bip-0037.mediawiki|BIP 0037]], since version >= 70001
|}
A "verack" packet shall be sent if the version packet was accepted.
@@ -90,7 +88,3 @@ Additionally the protocol version is increased from 70001 to 70002.
==Copyright==
This document is placed in the public domain.
[[Category:Developer]]
[[Category:Technical]]
[[Category:BIP|D]]