pub trait Network<B: BlockT>: NetworkPeers + NetworkEventStream + NetworkNotification + NetworkBlock<B::Hash, NumberFor<B>> {
    // Provided method
    fn add_set_reserved(&self, who: PeerId, protocol: ProtocolName) { ... }
}
Expand description

Abstraction over a network.

Provided Methods§

source

fn add_set_reserved(&self, who: PeerId, protocol: ProtocolName)

Implementors§