aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-26 12:40:40 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-02-26 12:45:28 +0000
commiteef164f7cc805ecf1881812cebb972ad0ce58edb (patch)
tree53e642585b1187998de3daff9f6802b53dc38880 /tests
parentMerge pull request #4988 (diff)
downloadmonero-eef164f7cc805ecf1881812cebb972ad0ce58edb.tar.xz
cryptonote_protocol_handler: search for syncing peers in "cruise mode"
When all our outgoing peer slots are filled, we cycle one peer at a time looking for syncing peers until we have at least two such peers. This brings two advantages: - Peers without incoming connections will find more syncing peers that before, thereby strengthening network decentralization - Peers will have more resistance to isolation attacks, as they are more likely to find a "good" peer than they were before
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions