Skip to main content

should_keep_peer

Function should_keep_peer 

Source
fn should_keep_peer(
    expected: &StreamProtocol,
    peer_protocols: &[StreamProtocol],
) -> bool
Expand description

A peer’s network is identifiable only by its advertised kademlia StreamProtocol.