aboutsummaryrefslogtreecommitdiff
path: root/src/test/net_tests.cpp
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2021-02-21 21:42:17 +0100
committerJon Atack <jon@atack.com>2021-03-19 20:11:29 +0100
commitf126cbd6de6e1a8fee0e900ecfbc14a88e362541 (patch)
tree67187528701f683204f0a981fcec90dee8d24500 /src/test/net_tests.cpp
parenta9d1b40d53ec417eefbe767aa66701ef8e1801d5 (diff)
downloadbitcoin-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