Module merkle_tree

Module merkle_tree 

Source

Modules§

cuda

Structs§

MemoryMerkleSubTree
A Merkle subtree stored in a single flat buffer, combining a vertical path and a heap-ordered binary tree.
MemoryMerkleTree
A Memory Merkle tree composed of independent subtrees (one per address space), each built asynchronously and finalized into a top-level Merkle root.

Constants§

MERKLE_TOUCHED_BLOCK_WIDTH
Width of ((u32, u32), TimestampedValues<F, DIGEST_WIDTH>) in u32 units. = 2 (key) + 1 (timestamp) + DIGEST_WIDTH (values)
TIMESTAMPED_BLOCK_WIDTH
Width of ((u32, u32), TimestampedValues<F, DEFAULT_BLOCK_SIZE>) in u32 units. = 2 (key) + 1 (timestamp) + DEFAULT_BLOCK_SIZE (values)