Expand description

Substrate authority discovery.

This crate enables Substrate authorities to discover and directly connect to other authorities. It is split into two components the Worker and the Service.

See Worker and Service for more documentation.

Structs

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.
  • 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