Skip to main content

timestamp_within_drift

Function timestamp_within_drift 

Source
pub fn timestamp_within_drift(
    timestamp: &str,
    server_clock: &str,
    drift_days: i64,
) -> Option<bool>
Expand description

Invariant 8: the self-asserted timestamp is within ±drift_days of the server clock. A non-security gross-drift guard. None on an unparseable timestamp.