Expand description
Deterministic test vectors for the transparency log.
Generates reproducible Merkle tree fixtures with known-good roots and inclusion proofs. Used for:
- Cross-implementation compatibility testing
- Regression detection
- Binding verification (Ruby, Python, WASM, Go)
Structs§
- Inclusion
Proof Json - JSON-serializable inclusion proof.
- Proof
Step Json - JSON-serializable proof step.
- Test
Vector - A single test vector entry.
Functions§
- generate_
suite - Generate a suite of test vectors for common tree sizes.
- generate_
vector - Generate a test vector for a tree with
nentries. - suite_
to_ json - Serialize a test vector suite to JSON.
- verify_
vector - Verify a test vector against the current MerkleTree implementation.
Returns
Ok(())if all proofs verify,Errwith details otherwise.