Module mmr
Source - mmr_lib
- utils
- Merkle Mountain Range utilities.
- AncestryProof
- An MMR ancestry proof for a prior mmr root.
- Compact
- A composition of multiple leaf elements with compact form representation.
- EncodableOpaqueLeaf
- A type-safe wrapper for the concrete leaf type.
- LeafProof
- An MMR proof data for a group of leaves.
- OpaqueLeaf
- A helper type to allow using arbitrary SCALE-encoded leaf data in the RuntimeApi.
- DataOrHash
- An element representing either full data or its hash.
- Error
- Merkle Mountain Range operation error.
- INDEXING_PREFIX
- Prefix for elements stored in the Off-chain DB via Indexing API.
- FullLeaf
- A full leaf content stored in the offchain-db.
- LeafDataProvider
- A provider of the MMR’s leaf data.
- MmrApi
- API to interact with MMR pallet.
- OnNewRoot
- New MMR root notification hook.
- Hash
- Hashing
- Leaf
- LeafIndex
- A type to describe leaf position in the MMR.
- NodeIndex
- A type to describe node position in the MMR (node index).