pub trait MerkleTree { // Required methods fn push(&mut self, data: &[u8]) -> Result<()>; fn root(&self) -> Result<&[u8]>; }
Merkle Tree representation
Add a new leaf to the tree.
Return the root hash of the tree.