aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSuhas Daftuar <sdaftuar@gmail.com>2017-10-24 16:56:07 -0400
committerMarcoFalke <falke.marco@gmail.com>2017-11-02 15:18:56 -0400
commita607a95d8185b2b8d5a4de6f1bd9054308ebf60a (patch)
treeafd3d482cae2da26bc598247698164c3e618ab4e /contrib
parent459f2db425eaa3257819d496b37430558653289a (diff)
downloadbitcoin-a607a95d8185b2b8d5a4de6f1bd9054308ebf60a.tar.xz
Connect to an extra outbound peer if our tip is stale
If our tip hasn't updated in a while, that may be because our peers are not relaying blocks to us that we would consider valid. Allow connection to an additional outbound peer in that circumstance. Also, periodically check to see if we are exceeding our target number of outbound peers, and disconnect the one which has least recently announced a new block to us (choosing the newest such peer in the case of tie). Github-Pull: #11560 Rebased-From: ac7b37cd2bd612a64a4009ba82f1cd1d57f37434
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions