Trait tp_authority_discovery::AuthorityDiscoveryApi[][src]

pub trait AuthorityDiscoveryApi<Block: BlockT>: Core<Block> {
    fn authorities(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<Vec<AuthorityId>, Self::Error> { ... }
fn authorities_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<Vec<AuthorityId>, Self::Error> { ... } }
Expand description

The authority discovery api.

This api is used by the client/authority-discovery module to retrieve identifiers of the current and next authority set.

Provided methods

Retrieve authority identifiers of the current and next authority set.

Retrieve authority identifiers of the current and next authority set.

Trait Implementations

The identifier of the runtime api.

The version of the runtime api.

Implementors