Skip to main content

root

Function root 

Source
pub fn root(leaves: &[[u8; 32]]) -> [u8; 32]
Expand description

The Merkle root over leaves, RFC 9162 section 2.1: the tree splits at the largest power of two below the width, which is the shape the proofs below are sound over.