solana/gossip/tests
behzad nouri 95d3393008 prunes gossip nodes based on timeliness of delivered messages
As described here:
https://github.com/solana-labs/solana/issues/28642#issuecomment-1337449607
current gossip pruning code fails to maintain spanning trees across
cluster.

This commit instead implements a pruning code based on timeliness of
delivered messages. If a messages is delivered timely enough (in terms
of number of duplicates already observed for that value), it counts
towards the respective node's score. Once there are enough many CRDS
upserts from a specific origin, redundant nodes are pruned based on the
tracked score.

Since the pruning leaves some configurable redundancy and the scores are
reset frequently, it should better tolerate active-set rotations.
2022-12-15 13:28:27 +00:00
..
cluster_info.rs patches errors from clippy::uninlined_format_args 2022-12-06 19:32:15 +00:00
crds_gossip.rs prunes gossip nodes based on timeliness of delivered messages 2022-12-15 13:28:27 +00:00
gossip.rs sdk: Make Packet::meta private, use accessor functions (#29092) 2022-12-06 12:54:49 +01:00