Skip to main content

Module snapshot

Module snapshot 

Source

Structs§

SnapshotCadence
How often the maintenance task writes an anchor (§5.5).

Functions§

cleanup_expired_snapshots
Retention: the newest RETAIN, plus one per day for RETAIN_DAYS (§5.5, D-054).
load_snapshot
Load a snapshot, refusing anything this build cannot read (§5.5, D-043).
save_snapshot
Save a bincode-serialized, zstd-compressed snapshot file (.snap.zst) (§5.5).
write_final
Write the final snapshot on clean shutdown (§5.1.7).