aboutsummaryrefslogtreecommitdiff
path: root/src/policy/rbf.h
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-05-31 13:30:23 +0200
committerMacroFake <falke.marco@gmail.com>2022-05-31 15:05:57 +0200
commitfa4068b4e2192f168bb120624eca5735f0dadf6f (patch)
treedeae23440db335efc3a7a335c16d22935e9dd946 /src/policy/rbf.h
parent5f65afff9c4c735d607a69fc3d18b4ecadbf3ba9 (diff)
downloadbitcoin-fa4068b4e2192f168bb120624eca5735f0dadf6f.tar.xz
Move minRelayTxFee to policy/settings
Also fix includes using iwyu
Diffstat (limited to 'src/policy/rbf.h')
-rw-r--r--src/policy/rbf.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/policy/rbf.h b/src/policy/rbf.h
index fcec7052ed..07f68c8fd4 100644
--- a/src/policy/rbf.h
+++ b/src/policy/rbf.h
@@ -5,13 +5,20 @@
#ifndef BITCOIN_POLICY_RBF_H
#define BITCOIN_POLICY_RBF_H
+#include <consensus/amount.h>
#include <primitives/transaction.h>
+#include <threadsafety.h>
#include <txmempool.h>
-#include <uint256.h>
+#include <cstddef>
+#include <cstdint>
#include <optional>
+#include <set>
#include <string>
+class CFeeRate;
+class uint256;
+
/** Maximum number of transactions that can be replaced by BIP125 RBF (Rule #5). This includes all
* mempool conflicts and their descendants. */
static constexpr uint32_t MAX_BIP125_REPLACEMENT_CANDIDATES{100};