referrerpolicy=no-referrer-when-downgrade
pub trait AuthorityDiscoveryConfig {
    // Required method
    fn authorities() -> Vec<AuthorityDiscoveryId>;
}
Expand description

An abstraction for the authority discovery pallet to help with mock testing.

Required Methods§

source

fn authorities() -> Vec<AuthorityDiscoveryId>

Retrieve authority identifiers of the current authority set in canonical ordering.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T: Config> AuthorityDiscoveryConfig for T