diff --git a/src/primitives/block.h b/src/primitives/block.h --- a/src/primitives/block.h +++ b/src/primitives/block.h @@ -6,9 +6,9 @@ #ifndef BITCOIN_PRIMITIVES_BLOCK_H #define BITCOIN_PRIMITIVES_BLOCK_H -#include "primitives/transaction.h" -#include "serialize.h" -#include "uint256.h" +#include +#include +#include /** * Nodes collect new transactions into a block, hash them into a hash tree, and diff --git a/src/primitives/block.cpp b/src/primitives/block.cpp --- a/src/primitives/block.cpp +++ b/src/primitives/block.cpp @@ -3,12 +3,12 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include "primitives/block.h" +#include -#include "crypto/common.h" -#include "hash.h" -#include "tinyformat.h" -#include "utilstrencodings.h" +#include +#include +#include +#include uint256 CBlockHeader::GetHash() const { return SerializeHash(*this); diff --git a/src/primitives/transaction.h b/src/primitives/transaction.h --- a/src/primitives/transaction.h +++ b/src/primitives/transaction.h @@ -7,11 +7,11 @@ #ifndef BITCOIN_PRIMITIVES_TRANSACTION_H #define BITCOIN_PRIMITIVES_TRANSACTION_H -#include "amount.h" -#include "feerate.h" -#include "primitives/txid.h" -#include "script/script.h" -#include "serialize.h" +#include +#include +#include +#include