aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-17 21:39:44 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-17 21:39:44 +0200
commit4466b6d1b08d827f3bdddb1cab8ca05833b65437 (patch)
tree3e86342c3194fddb5fac2b5f51b33bcf55ec887a /src/cryptonote_basic
parentMerge pull request #2301 (diff)
parentcryptonote_protocol: large block sync size before v4 (diff)
downloadmonero-4466b6d1b08d827f3bdddb1cab8ca05833b65437.tar.xz
Merge pull request #2303
5a283078 cryptonote_protocol: large block sync size before v4 (moneromooo-monero) 7b747607 cryptonote_protocol: kick idle synchronizing peers (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r--src/cryptonote_basic/connection_context.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_basic/connection_context.h b/src/cryptonote_basic/connection_context.h
index 5c4cda9eb..3283543e2 100644
--- a/src/cryptonote_basic/connection_context.h
+++ b/src/cryptonote_basic/connection_context.h
@@ -46,6 +46,7 @@ namespace cryptonote
{
state_before_handshake = 0, //default state
state_synchronizing,
+ state_standby,
state_idle,
state_normal
};
@@ -69,6 +70,8 @@ namespace cryptonote
return "state_before_handshake";
case cryptonote_connection_context::state_synchronizing:
return "state_synchronizing";
+ case cryptonote_connection_context::state_standby:
+ return "state_standby";
case cryptonote_connection_context::state_idle:
return "state_idle";
case cryptonote_connection_context::state_normal: