Skip to main content

checkpoint_gaps

Function checkpoint_gaps 

Source
pub fn checkpoint_gaps<T: ShieldedPoolTester, Dsf: DataStoreFactory>(
    ds_factory: Dsf,
    cache: impl TestCache,
)
Available on crate features test-dependencies only.
Expand description

A gap in scanned coverage directly below the policy depth withholds the anchor: the wallet cannot know that its latest checkpoint carries the tree state at that depth. Scanning the gap restores the anchor without any new checkpoint, since the gap’s blocks add no commitments.