Crate sp_mmr_primitives

source ·
Expand description

Merkle Mountain Range primitive types.

Re-exports§

  • pub use mmr_lib;

Modules§

  • Merkle Mountain Range utilities.

Structs§

  • An MMR ancestry proof for a prior mmr root.
  • A composition of multiple leaf elements with compact form representation.
  • A type-safe wrapper for the concrete leaf type.
  • An MMR proof data for a group of leaves.
  • A helper type to allow using arbitrary SCALE-encoded leaf data in the RuntimeApi.

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§

Type Aliases§

  • A type to describe leaf position in the MMR.
  • A type to describe node position in the MMR (node index).