aboutsummaryrefslogtreecommitdiff
path: root/p2p/src/protocols/handshake.rs
Commit message (Collapse)AuthorAgeFiles
* p2p: Major refactoring of the handshake protocolhozan232024-07-151
Introduce a new protocol InitProtocol which can be used as the core protocol for initializing a connection with a peer. Move the handshake logic from the PeerPool module to the protocols directory and build a handshake protocol that implements InitProtocol trait.