Function solana_gossip::crds_gossip::get_stake [−][src]
pub fn get_stake<S: BuildHasher>(
id: &Pubkey,
stakes: &HashMap<Pubkey, u64, S>
) -> f32
Expand description
Computes a normalized (log of actual stake) stake.