aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-04-29 21:29:40 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-01-07 15:25:47 +0100
commitfad1f0fd33e5e7a65b702237c7ca8e1b694852d2 (patch)
tree56e4dd78c242cc0d9ab2e512c6c98fb8e1b4af45 /src/net.h
parent42675e783337bf56dfc51df6c14931df5e72f185 (diff)
downloadbitcoin-fad1f0fd33e5e7a65b702237c7ca8e1b694852d2.tar.xz
net: Remove unused cs_feeFilter
Diffstat (limited to 'src/net.h')
-rw-r--r--src/net.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net.h b/src/net.h
index acc1da49a5..f402257b94 100644
--- a/src/net.h
+++ b/src/net.h
@@ -573,9 +573,8 @@ public:
std::atomic<std::chrono::seconds> m_last_mempool_req{0s};
std::chrono::microseconds nNextInvSend{0};
- RecursiveMutex cs_feeFilter;
- // Minimum fee rate with which to filter inv's to this node
- CAmount minFeeFilter GUARDED_BY(cs_feeFilter){0};
+ /** Minimum fee rate with which to filter inv's to this node */
+ std::atomic<CAmount> minFeeFilter{0};
CAmount lastSentFeeFilter{0};
int64_t nextSendTimeFeeFilter{0};
};