Expand description
Checks for whether cited anchors are previously-computed note commitment tree roots.
Functionsยง
- block_
fetch_ ๐sprout_ final_ treestates - Accepts a
ZebraDb
,Arc<Chain>
, andSemanticallyVerifiedBlock
. - block_
sapling_ ๐orchard_ anchors_ refer_ to_ final_ treestates - Accepts a
ZebraDb
,Chain
, andSemanticallyVerifiedBlock
. - block_
sprout_ ๐anchors_ refer_ to_ treestates - Accepts a
ZebraDb
,Arc<Chain>
,Arc<Block>
, and anArc<[transaction::Hash]>
of hashes corresponding to the transactions inBlock
- fetch_
sprout_ ๐final_ treestates - This function fetches and returns the Sprout final treestates from the state,
so
sprout_anchors_refer_to_treestates()
can check Sprout final and interstitial treestates, without accessing the disk. - sapling_
orchard_ ๐anchors_ refer_ to_ final_ treestates - Checks the final Sapling and Orchard anchors specified by
transaction
- sprout_
anchors_ ๐refer_ to_ treestates - Checks the Sprout anchors specified by
transactions
. - tx_
anchors_ ๐refer_ to_ final_ treestates - Accepts a
ZebraDb
, an optionalOption<Arc<Chain>>
, and anUnminedTx
.