Structs
An Exclusion Proof Leaf data for a Sparse Merkle Tree.
An Exclusion Proof for a Sparse Merkle Tree.
An Inclusion Proof for a Sparse Merkle Tree.
Enums
An Exclusion Proof Leaf for a Sparse Merkle Tree.
A wrapper on inclusion and exclusion proofs for a Sparse Merkle Tree proof.
Error used when something goes wrong while computing or verifying Sparse Merkle Proofs.
Functions
Returns the computed leaf hash of “MTH(D[n]) = SHA-256(0x00 || MTH(D[0:k]) || MTH(D[k:n]))”.