aboutsummaryrefslogtreecommitdiff
path: root/src/consensus/consensus.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-11-08 08:33:35 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2017-11-08 08:46:50 +0100
commit5ef3b6967b5c8936a137acf2e1a71d6f1d84c63c (patch)
tree027baa08e949677467e1e9140bcc027218e78474 /src/consensus/consensus.h
parent5776582b7f3efc9af1c35b68a51bd2c83b848a32 (diff)
parent5ce7cb95180b7d8873dae91d8370bc7ea69cd2a7 (diff)
Merge #11524: [net] De-duplicate connection eviction logic
5ce7cb9 [net] De-duplicate connection eviction logic (Thomas Snider) Pull request description: While reviewing the safeguards against deliberate node isolation on the network by malicious actors, I found a good de-duplication candidate. I think this form is much more legible (the type of `cutoffs` notwithstanding). ReverseCompareNodeTimeConnected is not included in the list since the cutoff size is a function of the remaining number of nodes in the candidate eviction set. Tree-SHA512: ed17999fa9250dcf8448329219324477117e4ecd2d41dedd72ad253e44630eef50b3232c420f1862ebbfb9b8c94efbba1a235b519e39ff5946865c7d69a75280
Diffstat (limited to 'src/consensus/consensus.h')
0 files changed, 0 insertions, 0 deletions