sp_mmr_primitives::utils

Function first_mmr_block_num

source
pub fn first_mmr_block_num<H: Header>(
    best_block_num: H::Number,
    mmr_leaf_count: LeafIndex,
) -> Result<H::Number, Error>
Expand description

Get the first block with MMR.