Skip to main content

traversal_path_values

Function traversal_path_values 

Source
fn traversal_path_values(
    traversal_path: &[usize],
    tree_height: usize,
) -> Vec<Value>
Expand description

Compute the full set of path JSON values for a traversal path (leaf to root).

Each element is the path prefix used as a row key in a Merkle-tree table.