Function distance_oracle::distance_rule 
source ยท pub(crate) fn distance_rule(
    received_certs: &FnvHashMap<IdtyIndex, Vec<IdtyIndex>>,
    referees: &FnvHashMap<IdtyIndex, u32>,
    depth: u32,
    idty: IdtyIndex,
) -> PerbillExpand description
Calculates the fraction of accessible referees to total referees for a given identity.