aboutsummaryrefslogtreecommitdiff
path: root/src/txmempool.h
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-21 11:40:22 +0200
committerMacroFake <falke.marco@gmail.com>2022-08-02 15:23:36 +0200
commitfa9cba7afb73c01bd2c8fefd662dfc80dd98c5e8 (patch)
tree6783bc418a352986a77e9e2b37b844523ddf9e02 /src/txmempool.h
parentfa148602e67fe035b1b21eff6c0b656919ac2d45 (diff)
downloadbitcoin-fa9cba7afb73c01bd2c8fefd662dfc80dd98c5e8.tar.xz
Remove ::incrementalRelayFee and ::minRelayTxFee globals
Diffstat (limited to 'src/txmempool.h')
-rw-r--r--src/txmempool.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/txmempool.h b/src/txmempool.h
index 6d04a4a6eb..af5e95a3ec 100644
--- a/src/txmempool.h
+++ b/src/txmempool.h
@@ -568,6 +568,8 @@ public:
const int64_t m_max_size_bytes;
const std::chrono::seconds m_expiry;
+ const CFeeRate m_incremental_relay_feerate;
+ const CFeeRate m_min_relay_feerate;
const bool m_require_standard;
const bool m_full_rbf;
@@ -703,11 +705,11 @@ public:
void CalculateDescendants(txiter it, setEntries& setDescendants) const EXCLUSIVE_LOCKS_REQUIRED(cs);
/** The minimum fee to get into the mempool, which may itself not be enough
- * for larger-sized transactions.
- * The incrementalRelayFee policy variable is used to bound the time it
- * takes the fee rate to go back down all the way to 0. When the feerate
- * would otherwise be half of this, it is set to 0 instead.
- */
+ * for larger-sized transactions.
+ * The m_incremental_relay_feerate policy variable is used to bound the time it
+ * takes the fee rate to go back down all the way to 0. When the feerate
+ * would otherwise be half of this, it is set to 0 instead.
+ */
CFeeRate GetMinFee() const {
return GetMinFee(m_max_size_bytes);
}