Skip to main content

write_commitment_tree

Function write_commitment_tree 

Source
pub fn write_commitment_tree<Node: HashSer, W: Write, const DEPTH: u8>(
    tree: &CommitmentTree<Node, DEPTH>,
    writer: W,
) -> Result<()>
Expand description

Serializes a legacy CommitmentTree as an array of bytes.