Expand description
TTL cache of verified node facts, held by
crate::cluster::ClusterMembership (ADR-099 section 2).
Only verified facts enter. An entry is served while its facts are
within TTL; expired entries are invisible to readers and removed by
NodeFactsCache::evict_expired. A node’s facts are replaced only by a
higher seq (or the same seq re-issued with identical content, which
refreshes nothing), so a replayed older block cannot roll a node back.
Deltas must be signed by the same key as the cached base, name its
seq, and carry a strictly increasing delta seq.
Structs§
- Cached
Node Facts - One cached, verified facts block plus what the receiver knows about it.
- Node
Facts Cache - Verified node facts with TTL.
Enums§
- Cache
Error - Why the cache refused something.
- Insert
Outcome - What an insert did.
- Tier
Source - Where a node’s tier came from. Only an operator-set tier is sticky: a mesh-derived tier follows the current connection (admission) every frame.
Constants§
- MAX_
CACHED_ NODES - Most nodes held.
- MAX_
DISCOVERED - Most mesh-derived
Discoveredentries held at once, whatever the total.