pub trait BeefyApi<Block: BlockT>: Core<Block> {
    fn validator_set(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<Option<ValidatorSet<AuthorityId>>, ApiError> { ... } fn validator_set_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<Option<ValidatorSet<AuthorityId>>, ApiError> { ... } }
Expand description

API necessary for BEEFY voters.

Provided Methods§

Return the current active BEEFY validator set

Return the current active BEEFY validator set

Trait Implementations§

The identifier of the runtime api.
The version of the runtime api.

Implementors§