aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cryptonote_protocol/cryptonote_protocol_defs.h6
-rw-r--r--src/rpc/core_rpc_server_commands_defs.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/cryptonote_protocol/cryptonote_protocol_defs.h b/src/cryptonote_protocol/cryptonote_protocol_defs.h
index eddb3b67b..850108858 100644
--- a/src/cryptonote_protocol/cryptonote_protocol_defs.h
+++ b/src/cryptonote_protocol/cryptonote_protocol_defs.h
@@ -27,14 +27,14 @@ namespace cryptonote
std::string peer_id;
uint64_t recv_count;
- time_t recv_idle_time;
+ uint64_t recv_idle_time;
uint64_t send_count;
- time_t send_idle_time;
+ uint64_t send_idle_time;
std::string state;
- time_t live_time;
+ uint64_t live_time;
BEGIN_KV_SERIALIZE_MAP()
KV_SERIALIZE(incoming)
diff --git a/src/rpc/core_rpc_server_commands_defs.h b/src/rpc/core_rpc_server_commands_defs.h
index 39acadb04..bd8aff706 100644
--- a/src/rpc/core_rpc_server_commands_defs.h
+++ b/src/rpc/core_rpc_server_commands_defs.h
@@ -495,6 +495,7 @@ namespace cryptonote
std::list<connection_info> connections;
BEGIN_KV_SERIALIZE_MAP()
+ KV_SERIALIZE(status)
KV_SERIALIZE(connections)
END_KV_SERIALIZE_MAP()
};