Specifies the basic information necessary to connect to a peer node.
Field | Length | Format | Description |
---|---|---|---|
timestamp* | 4 bytes | unix timestamp(LE) | Last known time (in seconds) that the peer was known to be “live.” |
services | 8 bytes | bitfield(LE) | The services this node supports. See Services Bitfield. |
IP address | 16 bytes | ip address | The IP (v4 or v6) address used to connect to the peer. |
port | 2 bytes | unsigned integer(BE) | The port used to the connect to the peer. |
* timestamp is not included where network addresses appear in the version message format
A single format is used to specify IPv4 and IPv6 addresses, IPv4-mapped IPv6 addresses: