Registry / networking / solana-gossip

solana-gossip

JSON →
library4.0.0rscratesunverified

Implements the gossip protocol for the Solana blockchain, enabling node discovery and cluster information propagation.

# Cargo.toml [dependencies] solana-gossip = "4.0.0"
INSTALL
IMPORT
SIG · SOLANA-GOSSIP
S
solana-gossip
networkingrustv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

GossipService
use solana_gossip::gossip_service::GossipService;

References the GossipService for Solana's gossip protocol.

use solana_gossip::gossip_service::GossipService; fn main() { // GossipService requires a cluster info and bank_forks; simplified example println!("GossipService module available"); }
Debug
Known issues
gotchaRequires full Solana runtime dependencies; not a standalone library.
fix
Use within a Solana validator or SDK project.
affects: >=4.0.0
Upgrade
Version history
4.0.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
Amazon
1
Resources
solana-gossip — cargo add solana-gossip · libregistry