Skip to main content

latest_network_stat

Function latest_network_stat 

Source
pub async fn latest_network_stat(
    pool: &SqlitePool,
    key: &str,
) -> Result<Option<NetworkStat>>
Expand description

The highest observation for key across every relay — the number to surface (design/NETWORK-SPEC.md §4.1: relays disagree; show the max). None when no probe has ever succeeded.