mirror of
https://github.com/monero-project/monero.git
synced 2025-05-07 23:55:05 -04:00
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:
commit
4466b6d1b0
11 changed files with 61 additions and 8 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue