referrerpolicy=no-referrer-when-downgrade

Type Alias MmrProofOf

Source
pub type MmrProofOf<C> = MmrProof<MmrHashOf<C>>;
Expand description

BEEFY MMR proof type used by the given Substrate chain.

Aliased Type§

struct MmrProofOf<C> {
    pub leaf_indices: Vec<u64>,
    pub leaf_count: u64,
    pub items: Vec<<C as ChainWithBeefy>::MmrHash>,
}

Fields§

§leaf_indices: Vec<u64>

The indices of the leaves the proof is for.

§leaf_count: u64

Number of leaves in MMR, when the proof was generated.

§items: Vec<<C as ChainWithBeefy>::MmrHash>

Proof elements (hashes of siblings of inner nodes on the path to the leafs).