mirror of
https://github.com/monero-project/monero.git
synced 2025-08-01 01:08:47 -04:00
Merge pull request #3725
9cc0d42
connection_context: remove state_ prefix from state names (moneromooo-monero)d9d002c
daemon: print peer state in sync_info (moneromooo-monero)
This commit is contained in:
commit
42e7f31613
2 changed files with 6 additions and 6 deletions
|
@ -67,15 +67,15 @@ namespace cryptonote
|
|||
switch (s)
|
||||
{
|
||||
case cryptonote_connection_context::state_before_handshake:
|
||||
return "state_before_handshake";
|
||||
return "before_handshake";
|
||||
case cryptonote_connection_context::state_synchronizing:
|
||||
return "state_synchronizing";
|
||||
return "synchronizing";
|
||||
case cryptonote_connection_context::state_standby:
|
||||
return "state_standby";
|
||||
return "standby";
|
||||
case cryptonote_connection_context::state_idle:
|
||||
return "state_idle";
|
||||
return "idle";
|
||||
case cryptonote_connection_context::state_normal:
|
||||
return "state_normal";
|
||||
return "normal";
|
||||
default:
|
||||
return "unknown";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue