Crate merkle [] [src]

merkle implements a Merkle Tree in Rust.

Structs

MerkleTree

A Merkle tree is a binary tree, with values of type T at the leafs, and where every node holds the hash of the concatenation of the hashes of its children nodes.

Proof

An inclusion proof represent the fact that a value is a member of a MerkleTree with root hash root_hash, and hash function digest.