diff options
author | Jon Atack <jon@atack.com> | 2021-02-21 21:42:17 +0100 |
---|---|---|
committer | Jon Atack <jon@atack.com> | 2021-03-19 20:11:29 +0100 |
commit | f126cbd6de6e1a8fee0e900ecfbc14a88e362541 (patch) | |
tree | 67187528701f683204f0a981fcec90dee8d24500 /src/test/net_tests.cpp | |
parent | a9d1b40d53ec417eefbe767aa66701ef8e1801d5 (diff) | |
download | bitcoin-f126cbd6de6e1a8fee0e900ecfbc14a88e362541.tar.xz |
Extract ProtectEvictionCandidatesByRatio from SelectNodeToEvict
to allow deterministic unit testing of the ratio-based peer eviction protection
logic, which protects peers having longer connection times and those connected
via higher-latency networks.
Add documentation.
Diffstat (limited to 'src/test/net_tests.cpp')
0 files changed, 0 insertions, 0 deletions