Trait sc_network_gossip::Network
source · 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.