mirror of
https://github.com/monero-project/monero.git
synced 2024-11-17 08:17:37 +00:00
Merge pull request #68 from tewinget/daemon_rpc
daemon rpc get_connections call minor changes
This commit is contained in:
commit
55b92e3999
2 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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()
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue