Struct ckb_network::network::NetworkState [−][src]
pub struct NetworkState { /* fields omitted */ }Expand description
The global shared state of the network module
Implementations
Init from config
For restrict lock in inner scope
Get peer id of local node
Use on test
Get local node’s listen address list
use a filter to get protocol id list
Dial just identify protocol
Dial just feeler protocol