Expand description
Prelude. Also provides sample instantiations of merkle trees.
Re-exports§
pub use crate::append_only::MerkleTree;
pub use crate::universal_merkle_tree::UniversalMerkleTree;
pub use crate::AppendableMerkleTreeScheme;
pub use crate::DigestAlgorithm;
pub use crate::Element;
pub use crate::ForgetableMerkleTreeScheme;
pub use crate::ForgetableUniversalMerkleTreeScheme;
pub use crate::Index;
pub use crate::LookupResult;
pub use crate::MerkleTreeScheme;
pub use crate::NodeValue;
pub use crate::ToTraversalPath;
pub use crate::UniversalMerkleTreeScheme;
Macros§
- impl_
to_ traversal_ path_ biguint - Macros for implementing ToTreversalPath for BigUint types
- impl_
to_ traversal_ path_ primitives - Macros for implementing ToTreversalPath for primitive types
Structs§
- Keccak256
Digest - Wrapper for the actual hash function
- Keccak256
Node - Internal node for merkle tree
- Merkle
Tree Proof - A (non)membership Merkle proof consists of all values of siblings of a Merkle path.
- Rescue
Hash - Wrapper for rescue hash function
- Sha3
Digest - Wrapper for the actual hash function
- Sha3
Node - Internal node for merkle tree
Enums§
- Merkle
Node - An internal Merkle node.
Type Aliases§
- Keccak256
Merkle Tree - Merkle tree using keccak256 hash
- Light
Weight Keccak256 Merkle Tree - Light weight merkle tree using Keccak256 hash
- Light
WeightSH A3Merkle Tree - Light weight merkle tree using SHA3 hash
- Rescue
Light Weight Merkle Tree - A standard light merkle tree using RATE-3 rescue hash function
- Rescue
Merkle Tree - A standard merkle tree using RATE-3 rescue hash function
- Rescue
Sparse Merkle Tree - Example instantiation of a SparseMerkleTree indexed by I
- SHA3
Merkle Tree - Merkle tree using SHA3 hash