2.2.3.3 Contact Record
The Contact Record is used to publish the address information for a contact node, along with the signature of the graph at the time the Record was published.
It is represented as a PEER_RECORD (section 2.2.1.9) with the following fields set:
Record Type MUST be set to the GUID value {00000300-0000-0000-0000-000000000000}
Payload Data MUST have the following data format.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Signature |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Node ID |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Number of Addresses |
|||||||||||||||||||||||||||||||
Addresses (variable) |
|||||||||||||||||||||||||||||||
... |
Signature (8 bytes): The signature of the graph at the time the record was published.
Node ID (8 bytes): The node ID of the publisher.
Number of Addresses (4 bytes): The number of Addresses.
Addresses (variable): The array of addresses for the gen node. The address is expressed in PEER_ADDRESS (section 2.2.1.5) format.