solana/gossip
mergify[bot] 4f423a512a
v2.0: reworks max number of outgoing push messages (backport of #3016) (#3038)
reworks max number of outgoing push messages (#3016)

max_bytes for outgoing push messages is pretty outdated and does not
allow gossip to function properly with current testnet cluster size.

In particular it does not allow to clear out queue of pending push
messages unless the new_push_messages function is called very frequently
which involves repeatedly locking/unlocking CRDS table.

Additionally leaving gossip entries in the queue for the next round will
add delay to propagating push messages which can compound as messages go
through several hops.

(cherry picked from commit 489f483e1d)

Co-authored-by: behzad nouri <behzadnouri@gmail.com>
2024-10-01 01:01:37 +00:00
..
benches expands weighted-shuffle benchmarks (#179) 2024-03-11 18:49:35 +00:00
src v2.0: reworks max number of outgoing push messages (backport of #3016) (#3038) 2024-10-01 01:01:37 +00:00
tests migrates to the new contact-info (#823) 2024-04-24 18:47:04 +00:00
.gitignore
Cargo.toml Make solana-frozen-abi optional in all remaining crates (#1278) 2024-05-17 14:42:58 +02:00
build.rs Move gossip modules into solana-gossip crate (#17352) 2021-05-26 09:15:46 -06:00