Skip to main content

verify_all

Function verify_all 

Source
pub fn verify_all(
    current: &Utf8Path,
) -> Result<Vec<(Utf8PathBuf, VerifyReport)>, LogError>
Expand description

Verify the full provenance history: every rotated .gz segment (oldest→newest) followed by the current access.log. Each segment is its own GENESIS-rooted hash chain (segments are deliberately NOT linked across a rotation, PROVENANCE_LOG.md §6), so they are verified independently and reported per-segment.

The audited verify function itself is unchanged; this only orchestrates it over the segment set (gunzipping each .gz to a tempfile first).

§Errors

LogError::Io on a gunzip / tempfile failure. A missing current access.log is not an error (verify reports it empty).