Module merkle_tree

Module merkle_tree 

Source

Structs§

MerkleProof
A proof that a given datum is at a given index. Note that the proof does not store the data itself, but it needs to be provided to MerkleProof::verify().
MerkleTree
A Merkle tree.

Functions§

internal_node_hash
Hash function applied to internal nodes of the Merkle tree
leaf_hash
Hash function applied to leaves of the Merkle tree