Expand description
Merkle Mountain Range primitive types.
Re-exports§
pub use mmr_lib;
Modules§
- utils
- Merkle Mountain Range utilities.
Structs§
- Ancestry
Proof - An MMR ancestry proof for a prior mmr root.
- Compact
- A composition of multiple leaf elements with compact form representation.
- Encodable
Opaque Leaf - A type-safe wrapper for the concrete leaf type.
- Leaf
Proof - An MMR proof data for a group of leaves.
- Opaque
Leaf - A helper type to allow using arbitrary SCALE-encoded leaf data in the RuntimeApi.
Enums§
- Data
OrHash - An element representing either full data or its hash.
- Error
- Merkle Mountain Range operation error.
Constants§
- INDEXING_
PREFIX - Prefix for elements stored in the Off-chain DB via Indexing API.
Traits§
- Full
Leaf - A full leaf content stored in the offchain-db.
- Leaf
Data Provider - A provider of the MMR’s leaf data.
- MmrApi
- API to interact with MMR pallet.
- OnNew
Root - New MMR root notification hook.