Skip to main content

window_ok

Function window_ok 

Source
fn window_ok(last_inbound_ms: u64, now_ms: u64) -> bool
Expand description

True if now_ms is within 24h of last_inbound_ms. Pulled out as a pure function so the boundary condition (spec §10’s “24h window edge case”) is unit-testable without a clock or network call.