Trait mina_merkle::MerkleMerger 
source · [−]pub trait MerkleMerger {
    type Hash;
    fn merge(
        hashes: [Option<Self::Hash>; 2],
        metadata: MerkleTreeNodeMetadata
    ) -> Option<Self::Hash>;
}Expand description
Trait that merges the hashes of child nodes and calculates the hash of their parent