Crate pallet_beefy_mmr
source ·Expand description
A BEEFY+MMR pallet combo.
While both BEEFY and Merkle Mountain Range (MMR) can be used separately, these tools were designed to work together in unison.
The pallet provides a standardized MMR Leaf format that can be used to bridge BEEFY+MMR-based networks (both standalone and Polkadot-like).
The MMR leaf contains:
- Block number and parent block hash.
- Merkle Tree Root Hash of next BEEFY validator set.
- Arbitrary extra leaf data to be used by downstream pallets to include custom data.
and thanks to versioning can be easily updated in the future.
Re-exports§
pub use pallet::*;
Modules§
- The
pallet
module in each FRAME pallet hosts the most important items needed to construct this pallet.
Structs§
- Convert BEEFY secp256k1 public keys into Ethereum addresses
- A BEEFY consensus digest item with MMR root hash.
Traits§
- API useful for BEEFY light clients.
- Weight functions needed for
pallet_beefy_mmr
.