Skip to main content

update_telemetry_with_clock

Function update_telemetry_with_clock 

Source
pub fn update_telemetry_with_clock(
    paths: &RunPaths,
    update: &TelemetryUpdate,
    clock: &impl TelemetryClock,
) -> Result<TelemetryAccepted, TelemetryError>
Expand description

Validate and atomically replace the node’s one advisory sample using an injected clock.