solana-with-rpc-optimizations/gossip
behzad nouri 0c0384ec32
revises turbine peers shuffling order (#20480)
Turbine randomly shuffles cluster nodes on a broadcast tree for each
shred. This requires knowing the stakes and nodes' contact-infos (from
gossip).

However gossip is subject to partitioning and propogation delays.
Additionally unstaked nodes may join and leave the cluster at any
moment, changing the cluster view from one node to another.

This commit:
* Always arranges the unstaked nodes at the bottom of turbine broadcast
  tree.
* Staked nodes are always included regardless of if their contact-info
  is available in gossip or not.
* Uses the unbiased WeightedShuffle construct for shuffling nodes.
2021-10-14 15:09:36 +00:00
..
benches Add sampling logic and DuplicateSlotRepairStatus module (#18721) 2021-07-21 11:15:08 -07:00
src revises turbine peers shuffling order (#20480) 2021-10-14 15:09:36 +00:00
tests Add metric measuring number of successfully inserted push messages (#20275) 2021-09-28 21:41:17 -07:00
.gitignore
Cargo.toml Bump version to 1.9.0 2021-10-06 17:57:41 -07:00
build.rs