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