Skip to main content

wan_sig_is_fresh

Function wan_sig_is_fresh 

Source
pub fn wan_sig_is_fresh(wan_ts_secs: i64, now_secs: i64) -> bool
Expand description

Whether a carried wan_ts_secs is inside the freshness window (§2.4). Both bounds inclusive. Outside it the verdict is None (stale), not Some(false): a stale signature grants nothing that dropping it wouldn’t.