Skip to main content

Module local_recovery

Module local_recovery 

Source
Expand description

Inspect a checkpoint using the signed head of a held local lease.

The host must maintain root protection, locality, rollback-resistant freshness and a read/policy lease through return. A file lock and two equal snapshots do not independently prove those properties.

Traits§

LocalRecoveryPolicy
Current exact recovery permission and authenticated membership evidence. Missing ancestry/exclusion evidence must return Unknown. Implementations must bind their proof to the root, chain, receipt and supplied head.

Functions§

inspect_local_recovery
Use one caller-held lease without opening another head or acquiring another lock. No writes, head changes, scans, repair or deletion are performed. The checkpoint bytes and head are verified through existing custody APIs; the policy supplies authenticated membership and anti-rollback authority.