solana/core/tests
behzad nouri a5c6a78f6d
filters out inactive nodes from push options (#12674)
* filters out inactive nodes from push options

https://github.com/solana-labs/solana/pull/12620
patched the DDOS issue with nodes which go offline:
https://github.com/solana-labs/solana/issues/12409

However, offline nodes still see (much lesser) traffic spike, likely
because no origins are pruned from their bloom filter in active set:
https://github.com/solana-labs/solana/blob/aaf3790d8/core/src/crds_gossip_push.rs#L276-L286
and so multiple nodes push redundant duplicate messages to them
simultaneously:
https://github.com/solana-labs/solana/blob/aaf3790d8/core/src/crds_gossip_push.rs#L254-L255

This commit will filter out inactive peers from potential push targets
entirely. To mitigate eclipse attacks, staked nodes are retried
periodically.

* uses current timestamp in test/crds_gossip
2020-10-06 13:48:32 +00:00
..
client.rs Show commit in `--version` and ledger-tool's log (#12636) 2020-10-04 00:30:26 +09:00
cluster_info.rs clippy 2020-08-03 18:35:15 +00:00
crds_gossip.rs filters out inactive nodes from push options (#12674) 2020-10-06 13:48:32 +00:00
fork-selection.rs Tiny cleanups in preparation for persistent tower (#10805) 2020-06-25 18:24:16 +09:00
gossip.rs Add --gossip-validator argument 2020-09-14 20:18:27 -07:00
ledger_cleanup.rs Track votes from gossip for optimistic confirmation (#11209) 2020-07-28 09:33:27 +00:00
rpc.rs Move TestValidator into its own module 2020-09-19 08:35:26 -07:00
snapshots.rs Fix rooted accounts cleanup, simplify locking (#12194) 2020-09-28 16:04:46 -07:00