Merge pull request #10026

613ee85 cryptonote_basic: remove state_idle in connection_context (jeffro256)
This commit is contained in:
tobtoht 2025-08-21 16:22:13 +00:00
commit da2c15b76e
No known key found for this signature in database
GPG Key ID: E45B10DD027D2472

View File

@ -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: