Skip to main content

nonced_tree_depth

Function nonced_tree_depth 

Source
pub fn nonced_tree_depth(block_count: u32) -> usize
Expand description

Canonical sibling-chain length for a block_count-leaf nonced tree.

The number of div_ceil(2) folds from the leaf level down to a single root (0 for a single-block chunk). Matches nonced_block_siblings’s output.