aboutsummaryrefslogtreecommitdiff
path: root/src/kernel
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/kernel
parentfa148602e67fe035b1b21eff6c0b656919ac2d45 (diff)
downloadbitcoin-fa9cba7afb73c01bd2c8fefd662dfc80dd98c5e8.tar.xz
Remove ::incrementalRelayFee and ::minRelayTxFee globals
Diffstat (limited to 'src/kernel')
-rw-r--r--src/kernel/mempool_options.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/kernel/mempool_options.h b/src/kernel/mempool_options.h
index 861860f345..3e9be06a77 100644
--- a/src/kernel/mempool_options.h
+++ b/src/kernel/mempool_options.h
@@ -6,6 +6,9 @@
#include <kernel/mempool_limits.h>
+#include <policy/feerate.h>
+#include <policy/policy.h>
+
#include <chrono>
#include <cstdint>
@@ -33,6 +36,9 @@ struct MemPoolOptions {
int check_ratio{0};
int64_t max_size_bytes{DEFAULT_MAX_MEMPOOL_SIZE_MB * 1'000'000};
std::chrono::seconds expiry{std::chrono::hours{DEFAULT_MEMPOOL_EXPIRY_HOURS}};
+ CFeeRate incremental_relay_feerate{DEFAULT_INCREMENTAL_RELAY_FEE};
+ /** A fee rate smaller than this is considered zero fee (for relaying, mining and transaction creation) */
+ CFeeRate min_relay_feerate{DEFAULT_MIN_RELAY_TX_FEE};
bool require_standard{true};
bool full_rbf{DEFAULT_MEMPOOL_FULL_RBF};
MemPoolLimits limits{};