pub fn append(
        reader: &R,
        num_existing_leaves: LeafCount,
        new_leaves: &[HashValue],
    ) -> Result<(HashValue, Vec<Node>)> {
        MerkleAccumulatorView::<R, H>::new(reader, num_existing_leaves).append(new_leaves)
    }
/// Given an existing Merkle Accumulator (represented by `num_existing_leaves` and a `reader`
/// that is able to fetch all existing frozen nodes), and a list of leaves to be appended,
/// returns the result root hash and new nodes to be frozen.
Given an existing Merkle Accumulator (represented by `num_existing_leaves` and a `reader`
that is able to fetch all existing frozen nodes), and a list of leaves to be appended,
returns the result root hash and new nodes to be frozen.
Given an existing Merkle Accumulator ( represented by ` num_existing_leaves ` and a ` reader ` that is able to fetch all existing frozen nodes ) and a list of leaves to be appended returns the result root hash and new nodes to be frozen .
pub fn append(
        reader: &R,
        num_existing_leaves: LeafCount,
        new_leaves: &[HashValue],
    ) -> Result<(HashValue, Vec<Node>)> {
        MerkleAccumulatorView::<R, H>::new(reader, num_existing_leaves).append(new_leaves)
    }
pub fn append ( reader : & R , num_existing_leaves : LeafCount , new_leaves : & [ HashValue ] , ) -> Result < ( HashValue , Vec < Node > ) > { MerkleAccumulatorView :: < R , H > :: new ( reader , num_existing_leaves ) . append ( new_leaves ) }
Given an existing Merkle Accumulator (represented by `num_existing_leaves` and a `reader`
that is able to fetch all existing frozen nodes), and a list of leaves to be appended,
returns the result root hash and new nodes to be frozen.
Given an existing Merkle Accumulator ( represented by ` num_existing_leaves ` and a ` reader ` that is able to fetch all existing frozen nodes ) and a list of leaves to be appended returns the result root hash and new nodes to be frozen .
reader
&R
num_existing_leaves
LeafCount
new_leaves
&[HashValue]
reader
&R
num_existing_leaves
LeafCount
new_leaves
&[HashValue]