pub fn write_chunks(
tree: &mut MerkleTree<{ TREE_HEIGHT }>,
segment_id: u64,
segment: &Segment,
) -> ProgramResult
Expand description
Helper: write chunks to the Merkle tree
pub fn write_chunks(
tree: &mut MerkleTree<{ TREE_HEIGHT }>,
segment_id: u64,
segment: &Segment,
) -> ProgramResult
Helper: write chunks to the Merkle tree