Skip to main content

jekt_trust

Function jekt_trust 

Source
pub fn jekt_trust(
    delivery_tier: &str,
    sig_verified: Option<bool>,
    lan_verified: Option<bool>,
    channel_verified: Option<bool>,
    wan: Option<bool>,
) -> OriginTrust
Expand description

How far a jekt’s sender is trusted: the marker’s TRUST= label, and the trust of the record’s origin (message_origin), from one function so the two cannot differ.

Each of lan_verified, channel_verified and wan is what srv’s check of the sender on that tier came to: Some(true) it held, Some(false) it was made and failed, None there was nothing to check against. A check that failed is unverified on every tier: someone tried to pass as a sender they could not prove to be, which is not the same as nobody having checked (network-claimed, self-declared). wan is wan_verdict’s answer.