Crate sc_authority_discovery
source ·Expand description
Structs
- Service to interact with the
crate::Worker. - An authority discovery
Workercan publish the local node’s addresses as well as discover those of other nodes via a Kademlia DHT. - Configuration of
Worker.
Enums
- Error type for the authority discovery module.
- Role an authority discovery
Workercan run as.
Traits
- Wrapper for
AuthorityDiscoveryApi. Can be be implemented by any struct without dependency on the runtime.
Functions
- Same as
new_worker_and_servicebut with support for providing theconfig.