All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Added
indices_for_inclusion_proof()
andindices_for_consistency_proof()
methods. These allow the construction of inclusion proofs for trees which do not fit into memory. - Relatedly, added
InclusionProof::from_digests()
andConsistencyProof::from_digests()
- Removed
SimpleWriter
trait in favor of the pre-existingdigest::Update
- Removed
serde
trait impls fromInclusionProof
,ConsistencyProof
, andRootHash
- Renamed the
CtMerkleTree
struct toMemoryBackedTree
- Renamed the
CanonicalSerialize
trait toHashableLeaf
- Changed argument to
MemoryBackedTree::prove_consistency
to be the number of additions, rather than the size of the prefix - Made all verification methods panic-free