Skip to main content

decide

Function decide 

Source
pub fn decide(
    msg: &SignedMessage,
    me: AgentId,
    policy: &Policy,
    now: u64,
    seen: &mut Dedupe,
) -> Verdict
Expand description

The full inbound gate. me is this agent’s own id; the bus routes by key, but we re-check so a misrouted or spoofed to can’t slip through.