Crate pezpallet_beefy_mmr

Crate pezpallet_beefy_mmr 

Source
Expand description

A BEEFY+MMR pezpallet combo.

While both BEEFY and Merkle Mountain Range (MMR) can be used separately, these tools were designed to work together in unison.

The pezpallet provides a standardized MMR Leaf format that can be used to bridge BEEFY+MMR-based networks (both standalone and Pezkuwi-like).

The MMR leaf contains:

  1. Block number and parent block hash.
  2. Merkle Tree Root Hash of next BEEFY validator set.
  3. 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 pezpallet::*;

Modules§

pezpallet
The pezpallet module in each FRAME pezpallet hosts the most important items needed to construct this pezpallet.

Structs§

BeefyEcdsaToEthereum
Convert BEEFY secp256k1 public keys into Ethereum addresses
DepositBeefyDigest
A BEEFY consensus digest item with MMR root hash.

Traits§

BeefyMmrApi
API useful for BEEFY light clients.
WeightInfo
Weight functions needed for pezpallet_beefy_mmr.