net: add nLastBlockTime/TXTime to CNodeStats, CNode::copyStats
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -530,6 +530,8 @@ void CNode::copyStats(CNodeStats &stats, const std::vector<bool> &m_asmap)
|
|||||||
}
|
}
|
||||||
X(nLastSend);
|
X(nLastSend);
|
||||||
X(nLastRecv);
|
X(nLastRecv);
|
||||||
|
X(nLastTXTime);
|
||||||
|
X(nLastBlockTime);
|
||||||
X(nTimeConnected);
|
X(nTimeConnected);
|
||||||
X(nTimeOffset);
|
X(nTimeOffset);
|
||||||
stats.addrName = GetAddrName();
|
stats.addrName = GetAddrName();
|
||||||
|
|||||||
@@ -619,6 +619,8 @@ public:
|
|||||||
bool fRelayTxes;
|
bool fRelayTxes;
|
||||||
int64_t nLastSend;
|
int64_t nLastSend;
|
||||||
int64_t nLastRecv;
|
int64_t nLastRecv;
|
||||||
|
int64_t nLastTXTime;
|
||||||
|
int64_t nLastBlockTime;
|
||||||
int64_t nTimeConnected;
|
int64_t nTimeConnected;
|
||||||
int64_t nTimeOffset;
|
int64_t nTimeOffset;
|
||||||
std::string addrName;
|
std::string addrName;
|
||||||
|
|||||||
Reference in new issue
Block a user