Module utils
pallet_
mmr
27.0.0
Module utils
Module Items
Structs
Functions
In crate pallet_
mmr
Modules
pallet
utils
Structs
AncestryProof
DefaultBlockHashProvider
LeafProof
NodesUtils
ParentNumberAndHash
Enums
Error
Traits
BenchmarkHelper
BlockHashProvider
FullLeaf
LeafDataProvider
OnNewRoot
WeightInfo
Functions
verify_ancestry_proof
verify_leaves_proof
Type Aliases
LeafIndex
NodeIndex
pallet_mmr
Module
utils
Copy item path
Settings
Help
Summary
Expand description
Merkle Mountain Range utilities.
Structs
§
Nodes
Utils
MMR nodes & size -related utilities.
Functions
§
block_
num_
to_
leaf_
index
Convert a block number into a leaf index.
first_
mmr_
block_
num
Get the first block with MMR.