Crate sc_authority_discovery
source ·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§
- Error type for the authority discovery module.
- Role an authority discovery
Worker
can run as.
Traits§
- Wrapper for
AuthorityDiscoveryApi
. Can be be implemented by any struct without dependency on the runtime.
Functions§
- Same as
new_worker_and_service
but with support for providing theconfig
.