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