diff options
author | Amiti Uttarwar <amiti@uttarwar.org> | 2019-10-30 15:37:35 -0700 |
---|---|---|
committer | Amiti Uttarwar <amiti@uttarwar.org> | 2019-11-05 11:12:10 +0100 |
commit | 1a8f0d5a74d5cc0000456932babf35301f5c1686 (patch) | |
tree | ef35833e97ffd8ad755565fd42d1bbe44c99de16 /src/net.h | |
parent | 4de630354fc6808b9b13b9e82da1a82f2f50f26a (diff) |
[tools] update nNextInvSend to use mockable time
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |