pub fn merkle_path_root(
leaf_value: impl Borrow<Digest>,
path: impl IntoIterator<Item = impl Borrow<Digest>>,
) -> DigestExpand description
Calculate the root of the path assuming the given leaf value.
NOTE: The result of this function must be checked to be the root of some committed Merkle tree.