Merge pull request #2303

5a283078 cryptonote_protocol: large block sync size before v4 (moneromooo-monero)
7b747607 cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2017-08-17 21:39:44 +02:00
commit 4466b6d1b0
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD
11 changed files with 61 additions and 8 deletions

View file

@ -46,6 +46,7 @@ namespace cryptonote
{
state_before_handshake = 0, //default state
state_synchronizing,
state_standby,
state_idle,
state_normal
};
@ -69,6 +70,8 @@ namespace cryptonote
return "state_before_handshake";
case cryptonote_connection_context::state_synchronizing:
return "state_synchronizing";
case cryptonote_connection_context::state_standby:
return "state_standby";
case cryptonote_connection_context::state_idle:
return "state_idle";
case cryptonote_connection_context::state_normal: