pub type BeefyMmrLeafOf<C> = MmrLeaf<BlockNumberOf<C>, HashOf<C>, MmrHashOf<C>, BeefyMmrLeafExtraOf<C>>;Expand description
Actual type of leafs in the BEEFY MMR.
Aliased Type§
struct BeefyMmrLeafOf<C> {
pub version: MmrLeafVersion,
pub parent_number_and_hash: (<C as Chain>::BlockNumber, <C as Chain>::Hash),
pub beefy_next_authority_set: BeefyAuthoritySet<<C as ChainWithBeefy>::MmrHash>,
pub leaf_extra: <C as ChainWithBeefy>::BeefyMmrLeafExtra,
}Fields§
§version: MmrLeafVersionVersion of the leaf format.
Can be used to enable future format migrations and compatibility.
See [MmrLeafVersion] documentation for details.
parent_number_and_hash: (<C as Chain>::BlockNumber, <C as Chain>::Hash)Current block parent number and hash.
A merkle root of the next BEEFY authority set.
leaf_extra: <C as ChainWithBeefy>::BeefyMmrLeafExtraArbitrary extra leaf data to be used by downstream pallets to include custom data in the
[MmrLeaf]