Module beefy_primitives::mmr

source ·
Expand description

BEEFY + MMR utilties.

While BEEFY can be used completely indepentently as an additional consensus gadget, it is designed around a main use case of making bridging standalone networks together. For that use case it’s common to use some aggregated data structure (like MMR) to be used in conjunction with BEEFY, to be able to efficiently prove any past blockchain data.

This module contains primitives used by Polkadot implementation of the BEEFY+MMR bridge, but we imagine they will be useful for other chains that either want to bridge with Polkadot or are completely standalone, but heavily inspired by Polkadot.

Structs

Details of a BEEFY authority set.
A standard leaf that gets added every block to the MMR constructed by Substrate’s pallet_mmr.
A MMR leaf versioning scheme.

Traits

A provider for extra data that gets added to the Mmr leaf

Type Definitions

Details of the next BEEFY authority set.