Trait sc_authority_discovery::NetworkProvider

source ·
pub trait NetworkProvider: NetworkDHTProvider + NetworkStateInfo + NetworkSigner + Send + Sync { }
Expand description

NetworkProvider provides Worker with all necessary hooks into the underlying Substrate networking. Using this trait abstraction instead of sc_network::NetworkService directly is necessary to unit test Worker.

Implementors§