[][src]Module solana::crds_gossip

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::BLOB_DATA_SIZE size.

Structs

CrdsGossip

Constants

CRDS_GOSSIP_BLOOM_SIZE

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.