Crate ergo_merkle_tree
source ·Expand description
Ergo Merkle Tree and Merkle verification tools
Structs
- Compact Merkle multiproof. Can be created using
crate::MerkleTree::proof_by_indices
Implementation based on https://deepai.org/publication/compact-merkle-multiproofs - A LevelNode used for MerkleProof verification, consists of a 32 byte hash and side it is on in tree
- A MerkleProof type. Given leaf data and levels (bottom-upwards), the root hash can be computed and validated
- Merkle Tree
Enums
- Node for a Merkle Tree
- The side the merkle node is on in the tree