aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/connection_context.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-04-28 19:55:23 +0100
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-04-28 19:56:28 +0100
commit9cc0d4220fd7b13c3b2f15e7cb8b06f6f1b0e2fb (patch)
treedf66613a88f771f58667673884d9fb95e4c7d3ff /src/cryptonote_basic/connection_context.h
parentMerge pull request #3709 (diff)
downloadmonero-9cc0d4220fd7b13c3b2f15e7cb8b06f6f1b0e2fb.tar.xz
connection_context: remove "state_" prefix from state names
It's redundant and makes it easier to print them in columns
Diffstat (limited to '')
-rw-r--r--src/cryptonote_basic/connection_context.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cryptonote_basic/connection_context.h b/src/cryptonote_basic/connection_context.h
index 5cd1709ab..3f4651565 100644
--- a/src/cryptonote_basic/connection_context.h
+++ b/src/cryptonote_basic/connection_context.h
@@ -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";
}