Module avalanche_types::message::version
source · [−]Structs
The first outbound message that the local node sends to its remote peer
when the connection is established. In order for the local node to be
tracked as a valid peer by the remote peer, the fields must be valid.
For instance, the network ID must be matched and timestamp should be in-sync.
Otherwise, the remote peer closes the connection.
ref. “avalanchego/network/peer#handleVersion”
ref. https://pkg.go.dev/github.com/ava-labs/avalanchego/network#Network “Dispatch”