mirror of
https://github.com/monero-project/monero.git
synced 2025-12-09 08:31:28 +09:00
Merge pull request #10026
613ee85 cryptonote_basic: remove state_idle in connection_context (jeffro256)
This commit is contained in:
commit
da2c15b76e
@ -52,7 +52,6 @@ namespace cryptonote
|
||||
state_before_handshake = 0, //default state
|
||||
state_synchronizing,
|
||||
state_standby,
|
||||
state_idle,
|
||||
state_normal
|
||||
};
|
||||
|
||||
@ -130,8 +129,6 @@ namespace cryptonote
|
||||
return "synchronizing";
|
||||
case cryptonote_connection_context::state_standby:
|
||||
return "standby";
|
||||
case cryptonote_connection_context::state_idle:
|
||||
return "idle";
|
||||
case cryptonote_connection_context::state_normal:
|
||||
return "normal";
|
||||
default:
|
||||
@ -149,8 +146,6 @@ namespace cryptonote
|
||||
return 's';
|
||||
case cryptonote_connection_context::state_standby:
|
||||
return 'w';
|
||||
case cryptonote_connection_context::state_idle:
|
||||
return 'i';
|
||||
case cryptonote_connection_context::state_normal:
|
||||
return 'n';
|
||||
default:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user