Module cuprate_p2p_core::client::handshaker
source · Expand description
Handshake Module
This module contains a HandShaker which is a Service that takes an open connection and attempts
to complete a handshake with them.
This module also contains a ping function that can be used to check if an address is reachable.
Structs§
- A request to complete a handshake.
- The peer handshaking service.
Enums§
Functions§
- Send a ping to the requested peer and wait for a response, returning the
peer_id.