Expand description
Traits and types used to permit comparison testing between tree implementations.
Modules§
- complete_
tree - Sample implementation of the Tree interface.
Structs§
Enums§
Traits§
- Test
Checkpoint - Test
Hashable - Tree
- A Merkle tree that supports incremental appends, marking of leaf nodes for construction of witnesses, checkpoints and rollbacks.
Functions§
- append_
str - apply_
operation - arb_
marking - Returns a strategy for creating a uniformly-distributed
Marking
value. - arb_
operation - arb_
retention - Returns a strategy for creating a uniformly-distributed
Retention
value. - check_
append - This test expects a depth-4 tree and verifies that the tree reports itself as full after 2^4 appends.
- check_
checkpoint_ rewind - check_
operations - check_
remove_ mark - check_
rewind_ remove_ mark - check_
root_ hashes - This checks basic append and root computation functionality
- check_
witness_ consistency - check_
witnesses - compute_
root_ from_ witness - unmark
- witness