diff options
author | MacroFake <falke.marco@gmail.com> | 2022-05-31 13:30:23 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-05-31 15:05:57 +0200 |
commit | fa4068b4e2192f168bb120624eca5735f0dadf6f (patch) | |
tree | deae23440db335efc3a7a335c16d22935e9dd946 /src/policy/policy.cpp | |
parent | 5f65afff9c4c735d607a69fc3d18b4ecadbf3ba9 (diff) | |
download | bitcoin-fa4068b4e2192f168bb120624eca5735f0dadf6f.tar.xz |
Move minRelayTxFee to policy/settings
Also fix includes using iwyu
Diffstat (limited to 'src/policy/policy.cpp')
-rw-r--r-- | src/policy/policy.cpp | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/policy/policy.cpp b/src/policy/policy.cpp index 6aba6a4a5b..f6452266b7 100644 --- a/src/policy/policy.cpp +++ b/src/policy/policy.cpp @@ -7,10 +7,22 @@ #include <policy/policy.h> -#include <consensus/validation.h> #include <coins.h> +#include <consensus/amount.h> +#include <consensus/consensus.h> +#include <consensus/validation.h> +#include <policy/feerate.h> +#include <primitives/transaction.h> +#include <script/interpreter.h> +#include <script/script.h> +#include <script/standard.h> +#include <serialize.h> #include <span.h> +#include <algorithm> +#include <cstddef> +#include <vector> + CAmount GetDustThreshold(const CTxOut& txout, const CFeeRate& dustRelayFeeIn) { // "Dust" is defined in terms of dustRelayFee, |