Module solana_core::crds_gossip [−][src]
Crds Gossip This module ties together Crds and the push and pull gossip overlays. The interface is designed to run with a simulator or over a UDP network connection with messages up to a packet::PACKET_DATA_SIZE size.
Structs
CrdsGossip |
Constants
CRDS_GOSSIP_DEFAULT_BLOOM_ITEMS | The min size for bloom filters |
Functions
get_stake | Computes a normalized(log of actual stake) stake |
get_weight | 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. |