Skip to main content

policy_at

Function policy_at 

Source
pub fn policy_at(
    lists: &[Seen],
    publishers: &[Key],
    at_ms: u64,
    threshold: usize,
    local: &BTreeSet<Key>,
    nunl: &BTreeSet<Key>,
) -> (Policy, bool)
Expand description

The policy as of at_ms: for each publisher, the list with the highest sequence among those seen by that time. If none had been seen by then, the earliest one seen, flagged as such.