Module solana_core::crds_gossip[][src]

Expand description

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

Functions

Computes a normalized(log of actual stake) stake

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.