Expand description
Guardians’ views of each other’s availability.
The public
PEER_AVAILABILITY_ENDPOINT
serves them.
Each guardian reports when it last saw each peer take part in consensus
and, per window, how much of the window it observed itself
(coverage_bps) and the fraction of that time each peer took part. A
single report is one guardian’s opinion; clients combine the reports with
merge_peer_availability.
After a peer reset, peer_coverage_bps replaces shared coverage for that
peer. Clients must support this field to interpret reset observations
correctly. Older clients still read reports, but treat fresh scores as
backed by the shared observation history. Upgrade clients when using resets.
Structs§
- Merged
Peer Availability - The combined view of several guardians, see
merge_peer_availability. - Peer
Availability - One guardian’s view of its peers’ availability.
- Reset
Peer Availability Request - Admin request to clear one peer’s observations on this guardian and start fresh ones. Every request clears again, including a repeated one.
- Window
Availability - One guardian’s view of its peers’ availability over one window.
Constants§
- PEER_
AVAILABILITY_ WINDOWS_ SECS - Time constants of the availability windows in seconds: one week and 30
days. Recent outages show in
last_seen_secsinstead.
Functions§
- merge_
peer_ availability - Combines the reports of several guardians into one view.