Structs§
- InMemory
Merkle Accumulator - In-memory (non-persistent) Merkle accumulator for export/import and testing.
- Merkle
Accumulator - Storage-backed Merkle accumulator.
- Merkle
Tree Node Event - Event emitted when a Merkle tree node is updated during append.
Functions§
- calc_
num_ partials - Returns the number of partial tree hashes needed for a given size.
This is the bit-length of
size(i.e. floor(log2(size)) + 1). - initialize_
merkle_ accumulator - open_
merkle_ accumulator