Structs§
- Merkle
Tree - The struct for the Merkle tree, consisting of the root and the nodes.
A typical tree would look like this
root
/
leaf 12 leaf 34 / \ /
leaf 1 leaf 2 leaf 3 leaf 4 The bottom leafs correspond to the hashes of the elements, while each upper layer contains the hash of the concatenation of the daughter nodes.