mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-04 08:22:36 +02:00
net: add nLastBlockTime/TXTime to CNodeStats, CNode::copyStats
This commit is contained in:
parent
30dd562fd2
commit
02fbe3ae0b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user