pub fn network_endpoint_config(
    max_broadcasts_per_peer: usize
) -> (Vec<ProtocolId>, Vec<ProtocolId>, QueueStyle, usize, Option<&'static IntCounterVec>)
Expand description

Create a new Sender that only sends for the MEMPOOL_DIRECT_SEND_PROTOCOL ProtocolId and a Receiver (Events) that explicitly returns only said ProtocolId..