pub trait PeerFilter: Send + Sync {
    fn check(
        &self,
        ctx: NewPeerContext,
        ip: PackedSocketAddr,
        peer_id: &NodeIdShort
    ) -> bool; }
Expand description

New peers filter

Required Methods

Implementors