Module mmr

Source
Expand description

MMR (Merkle Mountain Range) utilities

Functions for calculating MMR peaks, positions, and other MMR operations. MMR (Merkle Mountain Range) utility functions

This module provides utilities for working with Merkle Mountain Ranges, including hashing functions for both Keccak and Poseidon.

Functionsยง

hash_to_leaf
Converts a header hash into an MMR leaf hash