Trait beefy_merkle_tree::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__: &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.