Skip to main content

decide

Function decide 

Source
pub fn decide(
    local: Option<&ProviderHealth>,
    tier: Option<Tier>,
    peers: &[Vote],
    now: Timestamp,
) -> Option<Tier>
Expand description

The rule in the module docs: the tier to route at, given the local entry, the local verdict and the peers’ votes.