penumbra_tct::validate

Function forgotten

Source
pub fn forgotten(tree: &Tree) -> Result<(), InvalidForgotten>
Expand description

Verify that the internal forgotten versions are consistent throughout the tree.

This is a relatively expensive operation which requires traversing the entire tree structure.

If this ever returns Err, it indicates a bug in this crate.