Trait sc_network::NetworkStateInfo [−][src]
Trait for providing information about the local network state
Required methods
fn external_addresses(&self) -> Vec<Multiaddr>
[src]
Returns the local external addresses.
fn local_peer_id(&self) -> PeerId
[src]
Returns the local Peer ID.
Implementors
impl<B, H> NetworkStateInfo for NetworkService<B, H> where
B: Block,
H: ExHashT,
[src]
B: Block,
H: ExHashT,
fn external_addresses(&self) -> Vec<Multiaddr>
[src]
Returns the local external addresses.
fn local_peer_id(&self) -> PeerId
[src]
Returns the local Peer ID.