solana/gossip/tests
behzad nouri d4ce59eee7
reworks weights for gossip pull-requests peer sampling (#28463)
Amplifying gossip peer sampling weights by the time since last
pull-request has undesired consequence that a node coming back online
will see a huge number of pull requests all at once.
This "time since last request" is also unnecessary to include in
weights because as long as sampling probabilities are non-zero, a node
will be almost surely periodically selected in the sample.
The commit reworks peer sampling probabilities by just using (dampened)
stakes as weights.
2023-01-14 15:44:38 +00:00
..
cluster_info.rs renames ContactInfo to LegacyContactInfo (#29566) 2023-01-08 16:00:55 +00:00
crds_gossip.rs reworks weights for gossip pull-requests peer sampling (#28463) 2023-01-14 15:44:38 +00:00
gossip.rs renames ContactInfo to LegacyContactInfo (#29566) 2023-01-08 16:00:55 +00:00