Module zebra_state::service::check::anchors
source ยท Expand description
Checks for whether cited anchors are previously-computed note commitment tree roots.
Functionsยง
- Accepts a
ZebraDb
,Arc<Chain>
,Arc<Block>
, and anArc<[transaction::Hash]>
of hashes corresponding to the transactions inBlock
- 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. - Checks the final Sapling and Orchard anchors specified by
transaction
- Checks the Sprout anchors specified by
transactions
.