Module subtree

Source
Expand description

Struct representing Sapling/Orchard note commitment subtrees

Structs§

NoteCommitmentSubtree
Subtree root of Sapling or Orchard note commitment tree, with its associated block height and subtree index.
NoteCommitmentSubtreeData
Subtree root of Sapling or Orchard note commitment tree, with block height, but without the subtree index. Used for database key-value serialization, where the subtree index is the key, and this struct is the value.
NoteCommitmentSubtreeIndex
A note commitment subtree index, used to identify a subtree in a shielded pool. Also used to count subtrees.

Constants§

TRACKED_SUBTREE_HEIGHT
Height at which Zebra tracks subtree roots