diff options
author | MarcoFalke <falke.marco@gmail.com> | 2020-03-27 18:00:29 -0400 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2020-03-27 17:58:51 -0400 |
commit | fa47a0b003f53708b6d5df1ed4e7f8a7c68aa3ac (patch) | |
tree | dd909b4e2f8de9def87fa483ed0b2f4d0cf86bcf /src/net.h | |
parent | 210b533a114462473024c92a20a0765001abd45d (diff) |
net: Make addr relay mockable
Diffstat (limited to 'src/net.h')
-rw-r--r-- | src/net.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -797,8 +797,8 @@ public: std::vector<CAddress> vAddrToSend; const std::unique_ptr<CRollingBloomFilter> m_addr_known; bool fGetAddr{false}; - int64_t nNextAddrSend GUARDED_BY(cs_sendProcessing){0}; - int64_t nNextLocalAddrSend GUARDED_BY(cs_sendProcessing){0}; + std::chrono::microseconds m_next_addr_send GUARDED_BY(cs_sendProcessing){0}; + std::chrono::microseconds m_next_local_addr_send GUARDED_BY(cs_sendProcessing){0}; bool IsAddrRelayPeer() const { return m_addr_known != nullptr; } |