aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorJon Atack <jon@atack.com>2020-08-09 21:49:31 +0200
committerJon Atack <jon@atack.com>2020-08-15 12:03:16 +0200
commit02fbe3ae0bd91cbab2828cb7aa46f6493c82f026 (patch)
treeda7cefaa9baa4e824c5088e0cf93544df9c49edb /src/net.h
parent30dd562fd2c58536fa026fff9853b8d825216b01 (diff)
downloadbitcoin-02fbe3ae0bd91cbab2828cb7aa46f6493c82f026.tar.xz
net: add nLastBlockTime/TXTime to CNodeStats, CNode::copyStats
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net.h b/src/net.h
index 7a8abb401d..c72eada3ff 100644
--- a/src/net.h
+++ b/src/net.h
@@ -619,6 +619,8 @@ public:
bool fRelayTxes;
int64_t nLastSend;
int64_t nLastRecv;
+ int64_t nLastTXTime;
+ int64_t nLastBlockTime;
int64_t nTimeConnected;
int64_t nTimeOffset;
std::string addrName;