merkle_root

Function merkle_root 

Source
pub fn merkle_root(leaves: Vec<FpBN256>) -> FpBN256
Expand description

Build a Merkle root from a full list of leaves

Computes the Merkle root by repeatedly hashing pairs of nodes until a single root remains.

ยงPanics

Panics if leaves is empty.