Crate sc_authority_discovery[−][src]
Expand description
Structs
Service to interact with the crate::Worker
.
An authority discovery Worker
can publish the local node’s addresses as well as discover
those of other nodes via a Kademlia DHT.
Configuration of Worker
.
Enums
Traits
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
.
Functions
Same as new_worker_and_service
but with support for providing the config
.