Crate pallet_mmr_primitives[][src]

Merkle Mountain Range primitive types.

Structs

Compact

A composition of multiple leaf elements with compact form representation.

OpaqueLeaf

A helper type to allow using arbitrary SCALE-encoded leaf data in the RuntimeApi.

Proof

A MMR proof data for one of the leaves.

Enums

DataOrHash

An element representing either full data or it's hash.

Error

Merkle Mountain Range operation error.

Traits

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.