Skip to main content

doubts_unread

Function doubts_unread 

Source
pub fn doubts_unread(
    due: i64,
    now: i64,
    record_lost: Option<i64>,
    peers: &[Peer],
    since: i64,
    heard: &BTreeSet<String>,
) -> Vec<Doubt>
Expand description

doubts_now, at a phone’s alarm whose own pull did not go through since it began (since, Unix seconds): failed, or too slow, the sync app asked instead. Of the devices in heard, an entry or a health claim saying more came since: what they say is as fresh as the sync app makes it. Any other known only by what it said before then, closed (or an older Sioul whose claims say so), may have opened since and answered: said in doubt, as it was last heard, never known (docs/health.md, “Knowing”). One in use stays as FRESH has it: known only while its news is minutes old, which the alarm’s own wait already spends.