File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ The <code>addrv2</code> message is defined as a message where <code>pchCommand =
46
46
It is serialized in the standard encoding for P2P messages.
47
47
Its format is similar to the current <code>addr </code> message format
48
48
<ref >[https://bitcoin.org/en/developer-reference#addr Bitcoin Developer Reference: addr message ]</ref >, with the difference that the
49
- fixed 16-byte IP address is replaced by a network ID and a variable-length address, and the time and services format has been changed to VARINT.
49
+ fixed 16-byte IP address is replaced by a network ID and a variable-length address, and the services format has been changed to VARINT.
50
50
51
51
This means that the message contains a serialized <code>std::vector </code> of the following structure:
52
52
@@ -55,9 +55,9 @@ This means that the message contains a serialized <code>std::vector</code> of th
55
55
!Name
56
56
!Description
57
57
|-
58
- | <code>VARINT </code> (unsigned)
58
+ | <code>uint32_t </code>
59
59
| <code>time </code>
60
- | Time that this node was last seen as connected to the network. A time in Unix epoch time format, up to 64 bits wide .
60
+ | Time that this node was last seen as connected to the network. A time in Unix epoch time format.
61
61
|-
62
62
| <code>VARINT </code> (unsigned)
63
63
| <code>services </code>
@@ -144,8 +144,6 @@ The reference implementation is available at (to be done)
144
144
145
145
- Jonas Schnelli: change <code>services </code> field to VARINT, to make the message more compact in the likely case instead of always using 8 bytes.
146
146
147
- - Luke-Jr: change <code>time </code> field to VARINT, for post-2038 compatibility.
148
-
149
147
- Gregory Maxwell: various suggestions regarding extensibility
150
148
151
149
==Appendix A: Tor v2 address encoding ==
You can’t perform that action at this time.
0 commit comments