aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2019-09-18 13:31:59 -0400
committerMarcoFalke <falke.marco@gmail.com>2019-09-23 08:00:14 -0400
commitfaec689bed7a5b66e2a7675853d10205b933cec8 (patch)
treeb21dc3595c97b2c8018a801667701ce16ab63780 /src/net.h
parentfaaa1f01daba94b021ca77515266a16d27f0364e (diff)
txmempool: Make entry time type-safe (std::chrono)
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.h b/src/net.h
index f33147155a..44655abf80 100644
--- a/src/net.h
+++ b/src/net.h
@@ -761,7 +761,7 @@ public:
// Used for BIP35 mempool sending
bool fSendMempool GUARDED_BY(cs_tx_inventory){false};
// Last time a "MEMPOOL" request was serviced.
- std::atomic<int64_t> timeLastMempoolReq{0};
+ std::atomic<std::chrono::seconds> m_last_mempool_req{std::chrono::seconds{0}};
int64_t nNextInvSend{0};
CCriticalSection cs_feeFilter;