Module incrementalmerkletree::testing
source · Available on crate feature
test-dependencies
only.Expand description
Traits and types used to permit comparison testing between tree implementations.
Modules§
- Sample implementation of the Tree interface.
Structs§
Enums§
Traits§
- A possibly-empty incremental Merkle frontier.
- A Merkle tree that supports incremental appends, marking of leaf nodes for construction of witnesses, checkpoints and rollbacks.
Functions§
- This test expects a depth-4 tree and verifies that the tree reports itself as full after 2^4 appends.
- This checks basic append and root computation functionality