Crate sp_mmr_primitives
source ·Expand description
Merkle Mountain Range primitive types.
Re-exports
pub use mmr_lib;
Modules
- Merkle Mountain Range utilities.
Structs
- A composition of multiple leaf elements with compact form representation.
- A type-safe wrapper for the concrete leaf type.
- A helper type to allow using arbitrary SCALE-encoded leaf data in the RuntimeApi.
- An MMR proof data for a group of leaves.
Enums
- An element representing either full data or its hash.
- Merkle Mountain Range operation error.
Constants
- Prefix for elements stored in the Off-chain DB via Indexing API.
Traits
- A full leaf content stored in the offchain-db.
- A provider of the MMR’s leaf data.
- API to interact with MMR pallet.
- New MMR root notification hook.
Type Definitions
- A type to describe leaf position in the MMR.
- A type to describe node position in the MMR (node index).