aboutsummaryrefslogtreecommitdiff
path: root/tests/core_tests
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-04 21:44:43 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-07-04 21:56:10 +0000
commita96c1a46d4b3854252de75cbe09458ad5d1aecb0 (patch)
tree22efdfe92304f430073027b80e5c765f6ac0e192 /tests/core_tests
parentp2p: add a few missing connection close calls (diff)
downloadmonero-a96c1a46d4b3854252de75cbe09458ad5d1aecb0.tar.xz
cryptonote_protocol: drop peers we can't download from when syncing
Any peer that's behind us while syncing is useless to us (though not to them). This ensures that we don't get our peer slots filled with peers that we can't use. Once we've synced, we can connect to them and they can then sync off us if they want.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions