referrerpolicy=no-referrer-when-downgrade

Trait AuthorityDiscoveryConfig

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T: Config> AuthorityDiscoveryConfig for T