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
crds_gossip.rs filters out inactive nodes from push options (#12674) 2020-10-06 13:48:32 +00:00
fork-selection.rs
gossip.rs
ledger_cleanup.rs
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