Expand description
Protocol for version information handshake between nodes at the start of a connection. This is the first step when establishing a p2p conn.
The version protocol starts by instantiating the protocol and creating a new subscription to version and version acknowledgement messages. Then we run the protocol. Nodes send a version message and wait for a version acknowledgement, while asynchronously waiting for version info from the other node and sending the version acknowledgement.
Structsยง
- Protocol
Version - Implements the protocol version handshake sent out by nodes at the beginning of a connection.