Expand description
Ergo Merkle Tree and Merkle verification tools
Structs§
- Batch
Merkle Proof - Compact Merkle multiproof. Can be created using
crate::MerkleTree::proof_by_indices
Implementation based on https://deepai.org/publication/compact-merkle-multiproofs - Level
Node - A LevelNode used for MerkleProof verification, consists of a 32 byte hash and side it is on in tree
- Merkle
Proof - A MerkleProof type. Given leaf data and levels (bottom-upwards), the root hash can be computed and validated
- Merkle
Tree - Merkle Tree
Enums§
- Merkle
Node - Node for a Merkle Tree
- Node
Side - The side the merkle node is on in the tree
Constants§
- HASH_
SIZE - Hash size for all nodes in
crate::MerkleTree
,crate::MerkleProof
andcrate::BatchMerkleProof