Trait merkle_tree_stream::HashMethods [] [src]

pub trait HashMethods {
    fn leaf(&self, leaf: &PartialNode, roots: &[Rc<Node>]) -> Vec<u8>;
fn parent(&self, a: &Node, b: &Node) -> Vec<u8>; }

Functions that need to be implemented for MerkleTreeStream.

Required Methods

Important traits for Vec<u8>

Pass data through a hash function.

Important traits for Vec<u8>

Pass hashes through a hash function.

Implementors