pub trait Network<B: BlockT>: NetworkPeers + NetworkEventStream {
// Provided methods
fn add_set_reserved(&self, who: PeerId, protocol: ProtocolName) { ... }
fn remove_set_reserved(&self, who: PeerId, protocol: ProtocolName) { ... }
}
Expand description
Abstraction over a network.