Function snarkvm_dpc::block::pedersen_merkle_tree::pedersen_merkle_root_hash_with_leaves [−][src]
pub fn pedersen_merkle_root_hash_with_leaves(
hashes: &[[u8; 32]]
) -> (Fr, Vec<Fr>)
Expand description
Calculates the root of the Merkle tree using a Pedersen Hash instantiated with a PRNG and the base layer hashes leaved