From dd9044b8d4624fb7ffd432b6b89ab99290957a3e Mon Sep 17 00:00:00 2001 From: Greg Sanders Date: Tue, 12 Nov 2024 12:20:30 -0500 Subject: [PATCH] ephemeral policy: IWYU --- src/policy/ephemeral_policy.cpp | 15 +++++++++++++++ src/policy/ephemeral_policy.h | 9 +++++++-- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/src/policy/ephemeral_policy.cpp b/src/policy/ephemeral_policy.cpp index c1e184c81f5..2d13a7e007b 100644 --- a/src/policy/ephemeral_policy.cpp +++ b/src/policy/ephemeral_policy.cpp @@ -2,8 +2,23 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. +#include #include +#include +#include #include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include bool PreCheckEphemeralTx(const CTransaction& tx, CFeeRate dust_relay_rate, CAmount base_fee, CAmount mod_fee, TxValidationState& state) { diff --git a/src/policy/ephemeral_policy.h b/src/policy/ephemeral_policy.h index ac889e8234e..90ac21b2d49 100644 --- a/src/policy/ephemeral_policy.h +++ b/src/policy/ephemeral_policy.h @@ -5,10 +5,15 @@ #ifndef BITCOIN_POLICY_EPHEMERAL_POLICY_H #define BITCOIN_POLICY_EPHEMERAL_POLICY_H +#include #include -#include #include -#include + +#include + +class CFeeRate; +class CTxMemPool; +class TxValidationState; /** These utility functions ensure that ephemeral dust is safely * created and spent without unduly risking them entering the utxo