referrerpolicy=no-referrer-when-downgrade

Function sc_mixnet::peers_set_config

source ·
pub fn peers_set_config<Block: BlockT, Network: NetworkBackend<Block, <Block as BlockT>::Hash>>(
    name: ProtocolName,
    config: &Config,
    metrics: NotificationMetrics,
    peerstore_handle: Arc<dyn PeerStoreProvider>,
) -> (Network::NotificationProtocolConfig, Box<dyn NotificationService>)
Expand description

Returns the peers set configuration for the mixnet protocol.