Skip to main content

Module peer_availability

Module peer_availability 

Source
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.

Structs§

MergedPeerAvailability
The combined view of several guardians, see merge_peer_availability.
PeerAvailability
One guardian’s view of its peers’ availability.
WindowAvailability
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_secs instead.

Functions§

merge_peer_availability
Combines the reports of several guardians into one view.