Trait everscale_network::adnl::PeerFilter
source · [−]pub trait PeerFilter: Send + Sync {
fn check(
&self,
ctx: NewPeerContext,
ip: PackedSocketAddr,
peer_id: &NodeIdShort
) -> bool;
}
Expand description
New peers filter