|
|
@ -53,6 +53,7 @@ Value getpeerinfo(const Array& params, bool fHelp) |
|
|
|
obj.push_back(Pair("lastrecv", (boost::int64_t)stats.nLastRecv)); |
|
|
|
obj.push_back(Pair("lastrecv", (boost::int64_t)stats.nLastRecv)); |
|
|
|
obj.push_back(Pair("bytessent", (boost::int64_t)stats.nSendBytes)); |
|
|
|
obj.push_back(Pair("bytessent", (boost::int64_t)stats.nSendBytes)); |
|
|
|
obj.push_back(Pair("bytesrecv", (boost::int64_t)stats.nRecvBytes)); |
|
|
|
obj.push_back(Pair("bytesrecv", (boost::int64_t)stats.nRecvBytes)); |
|
|
|
|
|
|
|
obj.push_back(Pair("blocksrequested", (boost::int64_t)stats.nBlocksRequested)); |
|
|
|
obj.push_back(Pair("conntime", (boost::int64_t)stats.nTimeConnected)); |
|
|
|
obj.push_back(Pair("conntime", (boost::int64_t)stats.nTimeConnected)); |
|
|
|
obj.push_back(Pair("version", stats.nVersion)); |
|
|
|
obj.push_back(Pair("version", stats.nVersion)); |
|
|
|
obj.push_back(Pair("subver", stats.strSubVer)); |
|
|
|
obj.push_back(Pair("subver", stats.strSubVer)); |
|
|
|