[][src]Function snarkos_objects::pedersen_merkle_tree::pedersen_merkle_root_hash_with_leaves

pub fn pedersen_merkle_root_hash_with_leaves(
    hashes: &[Vec<u8>]
) -> (Fr, Vec<Fr>)

Calculates the root of the Merkle tree using a Pedersen Hash instantiated with a PRNG and the base layer hashes leaved