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/settings.h | |
parent | 5f65afff9c4c735d607a69fc3d18b4ecadbf3ba9 (diff) | |
download | bitcoin-fa4068b4e2192f168bb120624eca5735f0dadf6f.tar.xz |
Move minRelayTxFee to policy/settings
Also fix includes using iwyu
Diffstat (limited to 'src/policy/settings.h')
-rw-r--r-- | src/policy/settings.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/policy/settings.h b/src/policy/settings.h index 0b4fc1e770..2311d01fe8 100644 --- a/src/policy/settings.h +++ b/src/policy/settings.h @@ -6,14 +6,19 @@ #ifndef BITCOIN_POLICY_SETTINGS_H #define BITCOIN_POLICY_SETTINGS_H +#include <policy/feerate.h> #include <policy/policy.h> -class CFeeRate; +#include <cstdint> +#include <string> + class CTransaction; // Policy settings which are configurable at runtime. extern CFeeRate incrementalRelayFee; extern CFeeRate dustRelayFee; +/** A fee rate smaller than this is considered zero fee (for relaying, mining and transaction creation) */ +extern CFeeRate minRelayTxFee; extern unsigned int nBytesPerSigOp; extern bool fIsBareMultisigStd; |