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
.