Merge bitcoin/bitcoin#23044: refactor: Remove unused validation includes

fa45a1338adb127d69aee982920e29519bc1fed6 refactor: Remove unused validation includes (MarcoFalke)

Pull request description:

  Unused includes will cause needless recompilation when headers are changed. Also, they pretend there are dependencies that don't exist.

  Fix both by removing them.

ACKs for top commit:
  laanwj:
    Code review ACK fa45a1338adb127d69aee982920e29519bc1fed6
  theStack:
    ACK fa45a1338adb127d69aee982920e29519bc1fed6 ♻️

Tree-SHA512: 69190fd09184b75bce34ce3f315a1817e09ea32779f9ddc2d4790c89b0887b6cebd88aba66fa054c43c9183fc66202a556d982dd7034fc389a75802d8aaac83a
This commit is contained in:
merge-script 2021-09-22 12:38:13 +02:00 committed by pasta
parent ea678b5a04
commit 0959f0fe52
No known key found for this signature in database
GPG Key ID: 52527BEDABE87984
2 changed files with 3 additions and 11 deletions

View File

@ -25,6 +25,7 @@
#include <node/blockstorage.h>
#include <node/coinstats.h>
#include <node/ui_interface.h>
#include <node/utxo_snapshot.h>
#include <policy/policy.h>
#include <policy/settings.h>
#include <pow.h>

View File

@ -13,14 +13,10 @@
#include <amount.h>
#include <attributes.h>
#include <coins.h>
#include <consensus/validation.h>
#include <crypto/common.h> // for ReadLE64
#include <chain.h>
#include <fs.h>
#include <node/utxo_snapshot.h>
#include <policy/feerate.h>
#include <policy/packages.h>
#include <protocol.h> // For CMessageHeader::MessageStartChars
#include <script/script_error.h>
#include <sync.h>
#include <txdb.h>
@ -49,23 +45,18 @@ class CInstantSendManager;
class CEvoDB;
class CChainState;
class BlockValidationState;
class CBlockIndex;
class CBlockTreeDB;
class CBlockUndo;
class CChainParams;
struct CCheckpointData;
class CInv;
class CConnman;
class CMNHFManager;
class CScriptCheck;
class CTxMemPool;
class TxValidationState;
class CChainstateHelper;
class ChainstateManager;
struct PrecomputedTransactionData;
class SnapshotMetadata;
struct ChainTxData;
struct DisconnectedBlockTransactions;
struct LockPoints;
struct AssumeutxoData;