pub const PROVER_ENTRY_TTL: Duration;Expand description
Maximum age of a cached prover entry before it is considered stale.
A proof older than this is treated as “no credit” by
RecentProvers::is_credited_holder even if the commitment hash
still matches.
v10/v12 §6 spec: RECENT_PROOF_TTL = 2 × max audit interval (≈40 min
at the default 20 min max). Setting too low → peers fall out of
credit between audits. Setting too high → lazy node has more leeway
before re-audit is required. 40 min comfortably covers one audit
cycle on the average peer while still requiring re-proof inside the
rotation window.