pub trait BeefyMmrApi<Block: BlockT, H>: Core<Block>where
    H: From<Hash> + Into<Hash>,
    BeefyAuthoritySet<H>: Decode,
{ fn authority_set_proof(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<BeefyAuthoritySet<H>, ApiError> { ... } fn authority_set_proof_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<BeefyAuthoritySet<H>, ApiError> { ... } fn next_authority_set_proof(
        &self,
        __runtime_api_at_param__: &BlockId<Block>
    ) -> Result<BeefyNextAuthoritySet<H>, ApiError> { ... } fn next_authority_set_proof_with_context(
        &self,
        __runtime_api_at_param__: &BlockId<Block>,
        context: ExecutionContext
    ) -> Result<BeefyNextAuthoritySet<H>, ApiError> { ... } }
Expand description

API useful for BEEFY light clients.

Provided Methods§

Return the currently active BEEFY authority set proof.

Return the currently active BEEFY authority set proof.

Return the next/queued BEEFY authority set proof.

Return the next/queued BEEFY authority set proof.

Trait Implementations§

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

Implementors§

impl<__SR_API_BLOCK__: BlockT + UnwindSafe + RefUnwindSafe, RuntimeApiImplCall: CallApiAt<__SR_API_BLOCK__> + 'static> BeefyMmrApi<__SR_API_BLOCK__, H256> for RuntimeApiImpl<__SR_API_BLOCK__, RuntimeApiImplCall>where
    RuntimeApiImplCall::StateBackend: StateBackend<HashFor<__SR_API_BLOCK__>>,
    BeefyAuthoritySet<Hash>: UnwindSafe + RefUnwindSafe,
    BeefyNextAuthoritySet<Hash>: UnwindSafe + RefUnwindSafe,
    __SR_API_BLOCK__::Header: UnwindSafe + RefUnwindSafe,