Skip to main content

decide

Function decide 

Source
fn decide(
    here: &str,
    asked: &(Vec<Ask>, BTreeSet<(String, String)>),
    root: &Path,
    private: &Path,
    seal: &ReplySeal,
    standing: &dyn Fn(&str) -> Standing,
    own: &Path,
    now: i64,
) -> bool
Expand description

Each request for this phone decided once (replies::verdict), at most replies::STEP_MAX a step, under the ledger’s lock both its processes take: every decision of the step written in the ledger together and flushed once, the claims among them before the listener can see one, then handed over in the private file it watches (replies::add_due); the others said. Each request is decided once; one decided and not said (its word could not be written) is said at the next step (settle). Whether an outcome was written.