pub fn others(
switch: &Switch,
here: &str,
heard: &[(String, i64)],
now: i64,
since: i64,
registered: &dyn Fn(&str) -> bool,
) -> Vec<(String, Follows)>Expand description
Each other device that counts (heard from in the last LIVE_DAYS days, by
the sharing: heard, its id and when, Unix seconds), and how it follows
while do-not-disturb holds here, since since (milliseconds): a table
written before that (by more than MARGIN_MS, for clocks that disagree)
says what held there before, not now. registered says whether a device
has its entry in the devices’ registry (a Sioul that knows do-not-disturb).
A computer as Sioul quit there is closed; a computer said silenced but not
heard from for COMPUTER_QUIET is waiting for its news (a crash says nothing).