diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-04 21:53:06 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-10-07 20:29:11 +0100 |
| commit | 0a872798bc3b56401fab842a48150acaf11eab57 (patch) | |
| tree | 99f03a16359e3f5eba0a994ca1ec7a6fc85288fd /cmake/test-static-assert.cpp | |
| parent | 86e9de588c2b550ff5a005d0fcc8445fd5f58baa (diff) | |
| download | monzero-core-0a872798bc3b56401fab842a48150acaf11eab57.tar.gz monzero-core-0a872798bc3b56401fab842a48150acaf11eab57.tar.xz monzero-core-0a872798bc3b56401fab842a48150acaf11eab57.zip | |
protocol: kick idle peers by dropping them
This is safer, as we don't risk break expectations (eg, requesting
block hashes and then receiving a late set of blocks). Dropping a
connection means another will be attempted in a fresh state.
Also bump the kick timeout to 5 minutes, to ensure we only kick
really idle peers.
Diffstat (limited to 'cmake/test-static-assert.cpp')
0 files changed, 0 insertions, 0 deletions
