Crate solana_gossip[][src]

Modules

cluster_info

The cluster_info module defines a data structure that is shared by all the nodes in the network over a gossip control plane. The goal is to share small bits of off-chain information and detect and repair partitions.

contact_info
crds

This module implements Cluster Replicated Data Store for asynchronous updates in a distributed network.

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

crds_gossip_error
crds_gossip_pull

Crds Gossip Pull overlay This module implements the anti-entropy protocol for the network.

crds_gossip_push

Crds Gossip Push overlay This module is used to propagate recently created CrdsValues across the network Eager push strategy is based on Plumtree http://asc.di.fct.unl.pt/~jleitao/pdf/srds07-leitao.pdf

crds_shards
crds_value
data_budget
duplicate_shred
epoch_slots
gossip_error
gossip_service

The gossip_service module implements the network control plane.

ping_pong
weighted_shuffle

The weighted_shuffle module provides an iterator over shuffled weights.

Macros

socketaddr
socketaddr_any