mirror of
https://github.com/monero-project/monero.git
synced 2024-12-25 23:19:25 -05:00
Merge pull request #68 from tewinget/daemon_rpc
daemon rpc get_connections call minor changes
This commit is contained in:
commit
55b92e3999
@ -27,14 +27,14 @@ namespace cryptonote
|
|||||||
std::string peer_id;
|
std::string peer_id;
|
||||||
|
|
||||||
uint64_t recv_count;
|
uint64_t recv_count;
|
||||||
time_t recv_idle_time;
|
uint64_t recv_idle_time;
|
||||||
|
|
||||||
uint64_t send_count;
|
uint64_t send_count;
|
||||||
time_t send_idle_time;
|
uint64_t send_idle_time;
|
||||||
|
|
||||||
std::string state;
|
std::string state;
|
||||||
|
|
||||||
time_t live_time;
|
uint64_t live_time;
|
||||||
|
|
||||||
BEGIN_KV_SERIALIZE_MAP()
|
BEGIN_KV_SERIALIZE_MAP()
|
||||||
KV_SERIALIZE(incoming)
|
KV_SERIALIZE(incoming)
|
||||||
|
@ -495,6 +495,7 @@ namespace cryptonote
|
|||||||
std::list<connection_info> connections;
|
std::list<connection_info> connections;
|
||||||
|
|
||||||
BEGIN_KV_SERIALIZE_MAP()
|
BEGIN_KV_SERIALIZE_MAP()
|
||||||
|
KV_SERIALIZE(status)
|
||||||
KV_SERIALIZE(connections)
|
KV_SERIALIZE(connections)
|
||||||
END_KV_SERIALIZE_MAP()
|
END_KV_SERIALIZE_MAP()
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user