aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorAmiti Uttarwar <amiti@uttarwar.org>2019-10-30 15:37:35 -0700
committerAmiti Uttarwar <amiti@uttarwar.org>2019-11-05 11:12:10 +0100
commit1a8f0d5a74d5cc0000456932babf35301f5c1686 (patch)
treeef35833e97ffd8ad755565fd42d1bbe44c99de16 /src/net.h
parent4de630354fc6808b9b13b9e82da1a82f2f50f26a (diff)
downloadbitcoin-1a8f0d5a74d5cc0000456932babf35301f5c1686.tar.xz
[tools] update nNextInvSend to use mockable time
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 ab69e8b82b..c5e7f6c2b1 100644
--- a/src/net.h
+++ b/src/net.h
@@ -762,7 +762,7 @@ public:
bool fSendMempool GUARDED_BY(cs_tx_inventory){false};
// Last time a "MEMPOOL" request was serviced.
std::atomic<std::chrono::seconds> m_last_mempool_req{std::chrono::seconds{0}};
- int64_t nNextInvSend{0};
+ std::chrono::microseconds nNextInvSend{0};
CCriticalSection cs_feeFilter;
// Minimum fee rate with which to filter inv's to this node