referrerpolicy=no-referrer-when-downgrade

Trait pallet_beefy_mmr::BeefyMmrApi

source ·
pub trait BeefyMmrApi<Block: BlockT, H>: Core<Block>
where BeefyAuthoritySet<H>: Decode,
{ // Provided methods fn authority_set_proof( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<BeefyAuthoritySet<H>, ApiError> { ... } fn next_authority_set_proof( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<BeefyNextAuthoritySet<H>, ApiError> { ... } }
Expand description

API useful for BEEFY light clients.

Provided Methods§

source

fn authority_set_proof( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<BeefyAuthoritySet<H>, ApiError>

Return the currently active BEEFY authority set proof.

source

fn next_authority_set_proof( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<BeefyNextAuthoritySet<H>, ApiError>

Return the next/queued BEEFY authority set proof.

Trait Implementations§

source§

impl<Block: BlockT, H> RuntimeApiInfo for dyn BeefyMmrApi<Block, H>

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§