ephemeral policy: IWYU
This commit is contained in:
1 parent
c6859ce2de
commit
dd9044b8d4
2 files changed
+22
-2
No files matched your search
@@ -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 <consensus/validation.h>
|
||||
#include <policy/ephemeral_policy.h>
|
||||
#include <policy/feerate.h>
|
||||
#include <policy/packages.h>
|
||||
#include <policy/policy.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <txmempool.h>
|
||||
#include <util/check.h>
|
||||
#include <util/hasher.h>
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <unordered_set>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
bool PreCheckEphemeralTx(const CTransaction& tx, CFeeRate dust_relay_rate, CAmount base_fee, CAmount mod_fee, TxValidationState& state)
|
||||
{
|
||||
|
||||
@@ -5,10 +5,15 @@
|
||||
#ifndef BITCOIN_POLICY_EPHEMERAL_POLICY_H
|
||||
#define BITCOIN_POLICY_EPHEMERAL_POLICY_H
|
||||
|
||||
#include <consensus/amount.h>
|
||||
#include <policy/packages.h>
|
||||
#include <policy/policy.h>
|
||||
#include <primitives/transaction.h>
|
||||
#include <txmempool.h>
|
||||
|
||||
#include <optional>
|
||||
|
||||
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
|
||||
|
||||
Reference in new issue
Block a user