Function solana_gossip::crds_gossip::get_weight [−][src]
Expand description
Computes bounded weight given some max, a time since last selected, and a stake value The minimum stake is 1 and not 0 to allow ‘time since last’ picked to factor in.