diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-26 12:40:40 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-02-26 12:45:28 +0000 |
commit | eef164f7cc805ecf1881812cebb972ad0ce58edb (patch) | |
tree | 53e642585b1187998de3daff9f6802b53dc38880 /cmake | |
parent | Merge pull request #4988 (diff) | |
download | monero-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 'cmake')
0 files changed, 0 insertions, 0 deletions