Remove unused includes

This commit is contained in:
practicalswift 2019-07-31 10:03:55 +00:00
parent eb292af309
commit 084e17cebd
119 changed files with 0 additions and 159 deletions

View file

@ -8,8 +8,6 @@
#include <uint256.h> #include <uint256.h>
#include <crypto/common.h> #include <crypto/common.h>
#include <stdio.h>
#include <string.h>
template <unsigned int BITS> template <unsigned int BITS>
base_uint<BITS>::base_uint(const std::string& str) base_uint<BITS>::base_uint(const std::string& str)

View file

@ -6,13 +6,11 @@
#ifndef BITCOIN_ARITH_UINT256_H #ifndef BITCOIN_ARITH_UINT256_H
#define BITCOIN_ARITH_UINT256_H #define BITCOIN_ARITH_UINT256_H
#include <assert.h>
#include <cstring> #include <cstring>
#include <limits> #include <limits>
#include <stdexcept> #include <stdexcept>
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>
#include <vector>
class uint256; class uint256;

View file

@ -8,7 +8,6 @@
#include <array> #include <array>
#include <vector> #include <vector>
#include <string>
static void Base58Encode(benchmark::State& state) static void Base58Encode(benchmark::State& state)

View file

@ -6,7 +6,6 @@
#define BITCOIN_BENCH_BENCH_H #define BITCOIN_BENCH_BENCH_H
#include <functional> #include <functional>
#include <limits>
#include <map> #include <map>
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -10,7 +10,6 @@
#include <validation.h> #include <validation.h>
#include <list>
#include <vector> #include <vector>
static void AssembleBlock(benchmark::State& state) static void AssembleBlock(benchmark::State& state)

View file

@ -2,7 +2,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <bench/bench.h> #include <bench/bench.h>
#include <crypto/chacha20.h> #include <crypto/chacha20.h>

View file

@ -2,7 +2,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <bench/bench.h> #include <bench/bench.h>
#include <crypto/chacha_poly_aead.h> #include <crypto/chacha_poly_aead.h>

View file

@ -2,7 +2,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <bench/bench.h> #include <bench/bench.h>
#include <hash.h> #include <hash.h>

View file

@ -4,15 +4,12 @@
#include <bench/bench.h> #include <bench/bench.h>
#include <chainparams.h> #include <chainparams.h>
#include <coins.h>
#include <consensus/merkle.h> #include <consensus/merkle.h>
#include <consensus/validation.h> #include <consensus/validation.h>
#include <pow.h> #include <pow.h>
#include <txmempool.h> #include <txmempool.h>
#include <validation.h> #include <validation.h>
#include <list>
#include <vector>
static void DuplicateInputs(benchmark::State& state) static void DuplicateInputs(benchmark::State& state)

View file

@ -6,7 +6,6 @@
#include <support/lockedpool.h> #include <support/lockedpool.h>
#include <iostream>
#include <vector> #include <vector>
#define ASIZE 2048 #define ASIZE 2048

View file

@ -6,8 +6,6 @@
#include <policy/policy.h> #include <policy/policy.h>
#include <txmempool.h> #include <txmempool.h>
#include <list>
#include <vector>
static void AddTx(const CTransactionRef& tx, const CAmount& nFee, CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs) static void AddTx(const CTransactionRef& tx, const CAmount& nFee, CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs)
{ {

View file

@ -2,7 +2,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <bench/bench.h> #include <bench/bench.h>
#include <crypto/poly1305.h> #include <crypto/poly1305.h>

View file

@ -2,7 +2,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <iostream>
#include <bench/bench.h> #include <bench/bench.h>
#include <bloom.h> #include <bloom.h>

View file

@ -7,7 +7,6 @@
#include <validation.h> #include <validation.h>
#include <streams.h> #include <streams.h>
#include <consensus/validation.h>
#include <rpc/blockchain.h> #include <rpc/blockchain.h>
#include <univalue.h> #include <univalue.h>

View file

@ -8,8 +8,6 @@
#include <univalue.h> #include <univalue.h>
#include <list>
#include <vector>
static void AddTx(const CTransactionRef& tx, const CAmount& fee, CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs) static void AddTx(const CTransactionRef& tx, const CAmount& fee, CTxMemPool& pool) EXCLUSIVE_LOCKS_REQUIRED(cs_main, pool.cs)
{ {

View file

@ -9,7 +9,6 @@
#include <chainparamsbase.h> #include <chainparamsbase.h>
#include <clientversion.h> #include <clientversion.h>
#include <fs.h>
#include <rpc/client.h> #include <rpc/client.h>
#include <rpc/protocol.h> #include <rpc/protocol.h>
#include <rpc/request.h> #include <rpc/request.h>

View file

@ -11,7 +11,6 @@
#include <consensus/consensus.h> #include <consensus/consensus.h>
#include <core_io.h> #include <core_io.h>
#include <key_io.h> #include <key_io.h>
#include <policy/policy.h>
#include <policy/rbf.h> #include <policy/rbf.h>
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <script/script.h> #include <script/script.h>

View file

@ -9,13 +9,11 @@
#include <chainparams.h> #include <chainparams.h>
#include <chainparamsbase.h> #include <chainparamsbase.h>
#include <logging.h> #include <logging.h>
#include <util/strencodings.h>
#include <util/system.h> #include <util/system.h>
#include <util/translation.h> #include <util/translation.h>
#include <wallet/wallettool.h> #include <wallet/wallettool.h>
#include <functional> #include <functional>
#include <stdio.h>
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr; const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;

View file

@ -10,7 +10,6 @@
#include <chainparams.h> #include <chainparams.h>
#include <clientversion.h> #include <clientversion.h>
#include <compat.h> #include <compat.h>
#include <fs.h>
#include <init.h> #include <init.h>
#include <interfaces/chain.h> #include <interfaces/chain.h>
#include <noui.h> #include <noui.h>

View file

@ -7,7 +7,6 @@
#include <primitives/block.h> #include <primitives/block.h>
#include <memory>
class CTxMemPool; class CTxMemPool;

View file

@ -5,7 +5,6 @@
#include <compressor.h> #include <compressor.h>
#include <hash.h>
#include <pubkey.h> #include <pubkey.h>
#include <script/standard.h> #include <script/standard.h>

View file

@ -5,10 +5,8 @@
#ifndef BITCOIN_CONSENSUS_MERKLE_H #ifndef BITCOIN_CONSENSUS_MERKLE_H
#define BITCOIN_CONSENSUS_MERKLE_H #define BITCOIN_CONSENSUS_MERKLE_H
#include <stdint.h>
#include <vector> #include <vector>
#include <primitives/transaction.h>
#include <primitives/block.h> #include <primitives/block.h>
#include <uint256.h> #include <uint256.h>

View file

@ -8,8 +8,6 @@
#include <uint256.h> #include <uint256.h>
#include <limits> #include <limits>
#include <map>
#include <string>
namespace Consensus { namespace Consensus {

View file

@ -4,7 +4,6 @@
#include <crypto/aes.h> #include <crypto/aes.h>
#include <assert.h>
#include <string.h> #include <string.h>
extern "C" { extern "C" {

View file

@ -4,7 +4,6 @@
#include <crypto/chacha_poly_aead.h> #include <crypto/chacha_poly_aead.h>
#include <crypto/common.h>
#include <crypto/poly1305.h> #include <crypto/poly1305.h>
#include <support/cleanse.h> #include <support/cleanse.h>

View file

@ -7,7 +7,6 @@
#include <assert.h> #include <assert.h>
#include <string.h> #include <string.h>
#include <atomic>
#if defined(__x86_64__) || defined(__amd64__) || defined(__i386__) #if defined(__x86_64__) || defined(__amd64__) || defined(__i386__)
#if defined(USE_ASM) #if defined(USE_ASM)

View file

@ -11,7 +11,6 @@
#include <stdint.h> #include <stdint.h>
#include <immintrin.h> #include <immintrin.h>
#include <crypto/common.h>
namespace { namespace {

View file

@ -11,7 +11,6 @@
#include <streams.h> #include <streams.h>
#include <util/system.h> #include <util/system.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <version.h>
#include <leveldb/db.h> #include <leveldb/db.h>
#include <leveldb/write_batch.h> #include <leveldb/write_batch.h>

View file

@ -2,7 +2,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <stdio.h>
#include <util/system.h> #include <util/system.h>
#include <walletinitinterface.h> #include <walletinitinterface.h>
#include <support/allocators/secure.h> #include <support/allocators/secure.h>

View file

@ -7,10 +7,8 @@
#include <chainparams.h> #include <chainparams.h>
#include <crypto/hmac_sha256.h> #include <crypto/hmac_sha256.h>
#include <httpserver.h> #include <httpserver.h>
#include <key_io.h>
#include <rpc/protocol.h> #include <rpc/protocol.h>
#include <rpc/server.h> #include <rpc/server.h>
#include <sync.h>
#include <ui_interface.h> #include <ui_interface.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <util/system.h> #include <util/system.h>

View file

@ -5,8 +5,6 @@
#ifndef BITCOIN_HTTPRPC_H #ifndef BITCOIN_HTTPRPC_H
#define BITCOIN_HTTPRPC_H #define BITCOIN_HTTPRPC_H
#include <string>
#include <map>
/** Start HTTP RPC subsystem. /** Start HTTP RPC subsystem.
* Precondition; HTTP and RPC has been started. * Precondition; HTTP and RPC has been started.

View file

@ -22,7 +22,6 @@
#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <signal.h>
#include <event2/thread.h> #include <event2/thread.h>
#include <event2/buffer.h> #include <event2/buffer.h>

View file

@ -6,7 +6,6 @@
#define BITCOIN_HTTPSERVER_H #define BITCOIN_HTTPSERVER_H
#include <string> #include <string>
#include <stdint.h>
#include <functional> #include <functional>
static const int DEFAULT_HTTP_THREADS=4; static const int DEFAULT_HTTP_THREADS=4;

View file

@ -9,7 +9,6 @@
#include <primitives/block.h> #include <primitives/block.h>
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <threadinterrupt.h> #include <threadinterrupt.h>
#include <uint256.h>
#include <validationinterface.h> #include <validationinterface.h>
class CBlockIndex; class CBlockIndex;

View file

@ -18,12 +18,10 @@
#include <policy/settings.h> #include <policy/settings.h>
#include <primitives/block.h> #include <primitives/block.h>
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <protocol.h>
#include <rpc/protocol.h> #include <rpc/protocol.h>
#include <rpc/server.h> #include <rpc/server.h>
#include <shutdown.h> #include <shutdown.h>
#include <sync.h> #include <sync.h>
#include <threadsafety.h>
#include <timedata.h> #include <timedata.h>
#include <txmempool.h> #include <txmempool.h>
#include <ui_interface.h> #include <ui_interface.h>

View file

@ -5,7 +5,6 @@
#include <interfaces/node.h> #include <interfaces/node.h>
#include <addrdb.h> #include <addrdb.h>
#include <amount.h>
#include <banman.h> #include <banman.h>
#include <chain.h> #include <chain.h>
#include <chainparams.h> #include <chainparams.h>
@ -19,7 +18,6 @@
#include <netbase.h> #include <netbase.h>
#include <policy/feerate.h> #include <policy/feerate.h>
#include <policy/fees.h> #include <policy/fees.h>
#include <policy/policy.h>
#include <policy/settings.h> #include <policy/settings.h>
#include <primitives/block.h> #include <primitives/block.h>
#include <rpc/server.h> #include <rpc/server.h>
@ -36,7 +34,6 @@
#include <config/bitcoin-config.h> #include <config/bitcoin-config.h>
#endif #endif
#include <atomic>
#include <univalue.h> #include <univalue.h>
class CWallet; class CWallet;

View file

@ -8,7 +8,6 @@
#include <consensus/validation.h> #include <consensus/validation.h>
#include <interfaces/chain.h> #include <interfaces/chain.h>
#include <interfaces/handler.h> #include <interfaces/handler.h>
#include <policy/feerate.h>
#include <policy/fees.h> #include <policy/fees.h>
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <script/standard.h> #include <script/standard.h>
@ -23,7 +22,6 @@
#include <wallet/rpcwallet.h> #include <wallet/rpcwallet.h>
#include <wallet/load.h> #include <wallet/load.h>
#include <wallet/wallet.h> #include <wallet/wallet.h>
#include <wallet/walletutil.h>
#include <memory> #include <memory>
#include <string> #include <string>

View file

@ -6,7 +6,6 @@
#include <base58.h> #include <base58.h>
#include <bech32.h> #include <bech32.h>
#include <script/script.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <boost/variant/apply_visitor.hpp> #include <boost/variant/apply_visitor.hpp>

View file

@ -17,14 +17,12 @@
#include <policy/policy.h> #include <policy/policy.h>
#include <pow.h> #include <pow.h>
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <script/standard.h>
#include <timedata.h> #include <timedata.h>
#include <util/moneystr.h> #include <util/moneystr.h>
#include <util/system.h> #include <util/system.h>
#include <util/validation.h> #include <util/validation.h>
#include <algorithm> #include <algorithm>
#include <queue>
#include <utility> #include <utility>
int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev) int64_t UpdateTime(CBlockHeader* pblock, const Consensus::Params& consensusParams, const CBlockIndex* pindexPrev)

View file

@ -13,11 +13,9 @@
#include <chainparams.h> #include <chainparams.h>
#include <clientversion.h> #include <clientversion.h>
#include <consensus/consensus.h> #include <consensus/consensus.h>
#include <crypto/common.h>
#include <crypto/sha256.h> #include <crypto/sha256.h>
#include <netbase.h> #include <netbase.h>
#include <net_permissions.h> #include <net_permissions.h>
#include <primitives/transaction.h>
#include <scheduler.h> #include <scheduler.h>
#include <ui_interface.h> #include <ui_interface.h>
#include <util/strencodings.h> #include <util/strencodings.h>
@ -35,7 +33,6 @@
#ifdef USE_UPNP #ifdef USE_UPNP
#include <miniupnpc/miniupnpc.h> #include <miniupnpc/miniupnpc.h>
#include <miniupnpc/miniwget.h>
#include <miniupnpc/upnpcommands.h> #include <miniupnpc/upnpcommands.h>
#include <miniupnpc/upnperrors.h> #include <miniupnpc/upnperrors.h>
// The minimum supported miniUPnPc API version is set to 10. This keeps compatibility // The minimum supported miniUPnPc API version is set to 10. This keeps compatibility

View file

@ -7,7 +7,6 @@
#include <addrman.h> #include <addrman.h>
#include <banman.h> #include <banman.h>
#include <arith_uint256.h>
#include <blockencodings.h> #include <blockencodings.h>
#include <chainparams.h> #include <chainparams.h>
#include <consensus/validation.h> #include <consensus/validation.h>

View file

@ -11,7 +11,6 @@
#include <compat.h> #include <compat.h>
#include <serialize.h> #include <serialize.h>
#include <span.h>
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>

View file

@ -5,9 +5,7 @@
#include <node/coinstats.h> #include <node/coinstats.h>
#include <amount.h>
#include <coins.h> #include <coins.h>
#include <chain.h>
#include <hash.h> #include <hash.h>
#include <serialize.h> #include <serialize.h>
#include <validation.h> #include <validation.h>

View file

@ -6,7 +6,6 @@
#include <consensus/validation.h> #include <consensus/validation.h>
#include <net.h> #include <net.h>
#include <net_processing.h> #include <net_processing.h>
#include <txmempool.h>
#include <util/validation.h> #include <util/validation.h>
#include <validation.h> #include <validation.h>
#include <validationinterface.h> #include <validationinterface.h>

View file

@ -7,7 +7,6 @@
#include <attributes.h> #include <attributes.h>
#include <primitives/transaction.h> #include <primitives/transaction.h>
#include <uint256.h>
#include <util/error.h> #include <util/error.h>
/** /**

View file

@ -8,8 +8,6 @@
#include <ui_interface.h> #include <ui_interface.h>
#include <util/system.h> #include <util/system.h>
#include <cstdio>
#include <stdint.h>
#include <string> #include <string>
#include <boost/signals2/connection.hpp> #include <boost/signals2/connection.hpp>

View file

@ -6,7 +6,6 @@
#include <policy/fees.h> #include <policy/fees.h>
#include <clientversion.h> #include <clientversion.h>
#include <primitives/transaction.h>
#include <streams.h> #include <streams.h>
#include <txmempool.h> #include <txmempool.h>
#include <util/system.h> #include <util/system.h>

View file

@ -12,7 +12,6 @@
#include <algorithm> #include <algorithm>
#include <cstddef> #include <cstddef>
#include <iterator>
#include <type_traits> #include <type_traits>
#pragma pack(push, 1) #pragma pack(push, 1)

View file

@ -7,7 +7,6 @@
#include <hash.h> #include <hash.h>
#include <tinyformat.h> #include <tinyformat.h>
#include <crypto/common.h>
uint256 CBlockHeader::GetHash() const uint256 CBlockHeader::GetHash() const
{ {

View file

@ -15,7 +15,6 @@
#include <uint256.h> #include <uint256.h>
#include <version.h> #include <version.h>
#include <atomic>
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>

View file

@ -5,7 +5,6 @@
#include <psbt.h> #include <psbt.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <numeric>
PartiallySignedTransaction::PartiallySignedTransaction(const CMutableTransaction& tx) : tx(tx) PartiallySignedTransaction::PartiallySignedTransaction(const CMutableTransaction& tx) : tx(tx)
{ {

View file

@ -7,8 +7,6 @@
#include <qt/clientmodel.h> #include <qt/clientmodel.h>
#include <interfaces/node.h> #include <interfaces/node.h>
#include <sync.h>
#include <util/time.h>
#include <algorithm> #include <algorithm>

View file

@ -10,7 +10,6 @@
#include <qt/bitcoingui.h> #include <qt/bitcoingui.h>
#include <chainparams.h> #include <chainparams.h>
#include <fs.h>
#include <qt/clientmodel.h> #include <qt/clientmodel.h>
#include <qt/guiconstants.h> #include <qt/guiconstants.h>
#include <qt/guiutil.h> #include <qt/guiutil.h>

View file

@ -19,7 +19,6 @@
#include <wallet/coincontrol.h> #include <wallet/coincontrol.h>
#include <interfaces/node.h> #include <interfaces/node.h>
#include <key_io.h> #include <key_io.h>
#include <policy/fees.h>
#include <policy/policy.h> #include <policy/policy.h>
#include <wallet/wallet.h> #include <wallet/wallet.h>

View file

@ -9,7 +9,6 @@
#include <qt/guiutil.h> #include <qt/guiutil.h>
#include <interfaces/node.h> #include <interfaces/node.h>
#include <sync.h>
#include <algorithm> #include <algorithm>

View file

@ -14,7 +14,6 @@
#include <util/validation.h> // For strMessageMagic #include <util/validation.h> // For strMessageMagic
#include <wallet/wallet.h> #include <wallet/wallet.h>
#include <string>
#include <vector> #include <vector>
#include <QClipboard> #include <QClipboard>

View file

@ -17,7 +17,6 @@
#include <ui_interface.h> #include <ui_interface.h>
#include <util/system.h> #include <util/system.h>
#include <util/translation.h> #include <util/translation.h>
#include <version.h>
#include <QApplication> #include <QApplication>
#include <QCloseEvent> #include <QCloseEvent>

View file

@ -8,7 +8,6 @@
#include <qt/test/paymentrequestdata.h> #include <qt/test/paymentrequestdata.h>
#include <amount.h> #include <amount.h>
#include <chainparams.h>
#include <interfaces/node.h> #include <interfaces/node.h>
#include <random.h> #include <random.h>
#include <script/script.h> #include <script/script.h>

View file

@ -18,7 +18,6 @@
#include <key_io.h> #include <key_io.h>
#include <validation.h> #include <validation.h>
#include <script/script.h> #include <script/script.h>
#include <timedata.h>
#include <util/system.h> #include <util/system.h>
#include <policy/policy.h> #include <policy/policy.h>
#include <wallet/ismine.h> #include <wallet/ismine.h>

View file

@ -9,7 +9,6 @@
#include <qt/walletview.h> #include <qt/walletview.h>
#include <cassert> #include <cassert>
#include <cstdio>
#include <QHBoxLayout> #include <QHBoxLayout>
#include <QLabel> #include <QLabel>

View file

@ -22,7 +22,6 @@
#include <interfaces/wallet.h> #include <interfaces/wallet.h>
#include <support/allocators/secure.h> #include <support/allocators/secure.h>
#include <map>
#include <vector> #include <vector>
#include <QObject> #include <QObject>

View file

@ -7,7 +7,6 @@
#include <qt/walletmodel.h> #include <qt/walletmodel.h>
#include <memory>
#include <amount.h> #include <amount.h>
#include <QObject> #include <QObject>

View file

@ -16,7 +16,6 @@
#include <util/time.h> // for GetTime() #include <util/time.h> // for GetTime()
#include <stdlib.h> #include <stdlib.h>
#include <chrono>
#include <thread> #include <thread>
#include <support/allocators/secure.h> #include <support/allocators/secure.h>
@ -41,7 +40,6 @@
#include <sys/sysctl.h> #include <sys/sysctl.h>
#endif #endif
#include <mutex>
#if defined(__x86_64__) || defined(__amd64__) || defined(__i386__) #if defined(__x86_64__) || defined(__amd64__) || defined(__i386__)
#include <cpuid.h> #include <cpuid.h>

View file

@ -3,7 +3,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <attributes.h>
#include <chain.h> #include <chain.h>
#include <chainparams.h> #include <chainparams.h>
#include <core_io.h> #include <core_io.h>

View file

@ -32,7 +32,6 @@
#include <util/validation.h> #include <util/validation.h>
#include <validation.h> #include <validation.h>
#include <validationinterface.h> #include <validationinterface.h>
#include <versionbitsinfo.h>
#include <warnings.h> #include <warnings.h>
#include <assert.h> #include <assert.h>

View file

@ -4,7 +4,6 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <rpc/client.h> #include <rpc/client.h>
#include <rpc/protocol.h>
#include <util/system.h> #include <util/system.h>
#include <set> #include <set>

View file

@ -3,7 +3,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <crypto/ripemd160.h>
#include <key_io.h> #include <key_io.h>
#include <httpserver.h> #include <httpserver.h>
#include <outputtype.h> #include <outputtype.h>

View file

@ -11,7 +11,6 @@
#include <net_processing.h> #include <net_processing.h>
#include <net_permissions.h> #include <net_permissions.h>
#include <netbase.h> #include <netbase.h>
#include <policy/policy.h>
#include <policy/settings.h> #include <policy/settings.h>
#include <rpc/protocol.h> #include <rpc/protocol.h>
#include <rpc/util.h> #include <rpc/util.h>

View file

@ -5,7 +5,6 @@
#include <chain.h> #include <chain.h>
#include <coins.h> #include <coins.h>
#include <compat/byteswap.h>
#include <consensus/validation.h> #include <consensus/validation.h>
#include <core_io.h> #include <core_io.h>
#include <index/txindex.h> #include <index/txindex.h>
@ -23,7 +22,6 @@
#include <rpc/server.h> #include <rpc/server.h>
#include <rpc/util.h> #include <rpc/util.h>
#include <script/script.h> #include <script/script.h>
#include <script/script_error.h>
#include <script/sign.h> #include <script/sign.h>
#include <script/signingprovider.h> #include <script/signingprovider.h>
#include <script/standard.h> #include <script/standard.h>

View file

@ -5,8 +5,6 @@
#include <rpc/server.h> #include <rpc/server.h>
#include <fs.h>
#include <key_io.h>
#include <rpc/util.h> #include <rpc/util.h>
#include <shutdown.h> #include <shutdown.h>
#include <sync.h> #include <sync.h>

View file

@ -8,9 +8,7 @@
#include <amount.h> #include <amount.h>
#include <rpc/request.h> #include <rpc/request.h>
#include <uint256.h>
#include <list>
#include <map> #include <map>
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>

View file

@ -11,7 +11,6 @@
#include <vector> #include <vector>
#include <stdint.h> #include <stdint.h>
#include <string>
class CPubKey; class CPubKey;
class CScript; class CScript;

View file

@ -6,7 +6,6 @@
#define BITCOIN_SCRIPT_KEYORIGIN_H #define BITCOIN_SCRIPT_KEYORIGIN_H
#include <serialize.h> #include <serialize.h>
#include <streams.h>
#include <vector> #include <vector>
struct KeyOriginInfo struct KeyOriginInfo

View file

@ -6,7 +6,6 @@
#ifndef BITCOIN_SCRIPT_SIGN_H #ifndef BITCOIN_SCRIPT_SIGN_H
#define BITCOIN_SCRIPT_SIGN_H #define BITCOIN_SCRIPT_SIGN_H
#include <boost/optional.hpp>
#include <hash.h> #include <hash.h>
#include <pubkey.h> #include <pubkey.h>
#include <script/interpreter.h> #include <script/interpreter.h>

View file

@ -11,7 +11,6 @@
#include <boost/variant.hpp> #include <boost/variant.hpp>
#include <stdint.h>
static const bool DEFAULT_ACCEPT_DATACARRIER = true; static const bool DEFAULT_ACCEPT_DATACARRIER = true;

View file

@ -9,7 +9,6 @@
#include <compat/endian.h> #include <compat/endian.h>
#include <algorithm> #include <algorithm>
#include <assert.h>
#include <ios> #include <ios>
#include <limits> #include <limits>
#include <map> #include <map>

View file

@ -13,8 +13,6 @@
#include <assert.h> #include <assert.h>
#include <ios> #include <ios>
#include <limits> #include <limits>
#include <map>
#include <set>
#include <stdint.h> #include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <string> #include <string>

View file

@ -13,10 +13,8 @@
#include <util/strencodings.h> #include <util/strencodings.h>
#include <util/threadnames.h> #include <util/threadnames.h>
#include <stdio.h>
#include <map> #include <map>
#include <memory>
#include <set> #include <set>
#ifdef DEBUG_LOCKCONTENTION #ifdef DEBUG_LOCKCONTENTION

View file

@ -8,7 +8,6 @@
#include <key.h> #include <key.h>
#include <key_io.h> #include <key_io.h>
#include <streams.h> #include <streams.h>
#include <util/system.h>
#include <util/strencodings.h> #include <util/strencodings.h>
#include <test/setup_common.h> #include <test/setup_common.h>

View file

@ -3,7 +3,6 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <compressor.h> #include <compressor.h>
#include <util/system.h>
#include <test/setup_common.h> #include <test/setup_common.h>
#include <stdint.h> #include <stdint.h>

View file

@ -4,7 +4,6 @@
#include <key.h> #include <key.h>
#include <uint256.h> #include <uint256.h>
#include <util/system.h>
#include <test/setup_common.h> #include <test/setup_common.h>
#include <vector> #include <vector>

View file

@ -6,7 +6,6 @@
#include <policy/fees.h> #include <policy/fees.h>
#include <txmempool.h> #include <txmempool.h>
#include <uint256.h> #include <uint256.h>
#include <util/system.h>
#include <util/time.h> #include <util/time.h>
#include <test/setup_common.h> #include <test/setup_common.h>

View file

@ -5,7 +5,6 @@
#include <chain.h> #include <chain.h>
#include <chainparams.h> #include <chainparams.h>
#include <pow.h> #include <pow.h>
#include <util/system.h>
#include <test/setup_common.h> #include <test/setup_common.h>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>

View file

@ -3,7 +3,6 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <chain.h> #include <chain.h>
#include <util/system.h>
#include <test/setup_common.h> #include <test/setup_common.h>
#include <vector> #include <vector>

View file

@ -2,7 +2,6 @@
// Distributed under the MIT software license, see the accompanying // Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include <random.h>
#include <streams.h> #include <streams.h>
#include <test/setup_common.h> #include <test/setup_common.h>

View file

@ -6,7 +6,6 @@
#include <index/txindex.h> #include <index/txindex.h>
#include <script/standard.h> #include <script/standard.h>
#include <test/setup_common.h> #include <test/setup_common.h>
#include <util/system.h>
#include <util/time.h> #include <util/time.h>
#include <boost/test/unit_test.hpp> #include <boost/test/unit_test.hpp>

View file

@ -10,7 +10,6 @@
#include <atomic> #include <atomic>
#include <chrono> #include <chrono>
#include <condition_variable> #include <condition_variable>
#include <mutex>
/* /*
A helper class for interruptible sleeps. Calling operator() will interrupt A helper class for interruptible sleeps. Calling operator() will interrupt

View file

@ -8,7 +8,6 @@
#ifndef BITCOIN_TORCONTROL_H #ifndef BITCOIN_TORCONTROL_H
#define BITCOIN_TORCONTROL_H #define BITCOIN_TORCONTROL_H
#include <scheduler.h>
extern const std::string DEFAULT_TOR_CONTROL; extern const std::string DEFAULT_TOR_CONTROL;
static const bool DEFAULT_LISTEN_ONION = true; static const bool DEFAULT_LISTEN_ONION = true;

View file

@ -11,7 +11,6 @@
#include <chain.h> #include <chain.h>
#include <primitives/block.h> #include <primitives/block.h>
#include <map>
#include <memory> #include <memory>
#include <string> #include <string>
#include <utility> #include <utility>

View file

@ -8,7 +8,6 @@
#include <atomic> #include <atomic>
#include <map> #include <map>
#include <memory>
#include <set> #include <set>
#include <string> #include <string>
#include <utility> #include <utility>

View file

@ -8,7 +8,6 @@
#include <functional> #include <functional>
#include <memory> #include <memory>
#include <stdint.h>
#include <string> #include <string>
class CBlockIndex; class CBlockIndex;

View file

@ -7,7 +7,6 @@
#include <util/strencodings.h> #include <util/strencodings.h>
#include <stdio.h>
#include <string.h> #include <string.h>
template <unsigned int BITS> template <unsigned int BITS>

View file

@ -8,7 +8,6 @@
#include <assert.h> #include <assert.h>
#include <cstring> #include <cstring>
#include <stdexcept>
#include <stdint.h> #include <stdint.h>
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -5,7 +5,6 @@
#include <util/moneystr.h> #include <util/moneystr.h>
#include <primitives/transaction.h>
#include <tinyformat.h> #include <tinyformat.h>
#include <util/strencodings.h> #include <util/strencodings.h>

View file

@ -12,7 +12,6 @@
#include <amount.h> #include <amount.h>
#include <attributes.h> #include <attributes.h>
#include <cstdint>
#include <string> #include <string>
/* Do not use these functions to represent or parse monetary amounts to or from /* Do not use these functions to represent or parse monetary amounts to or from

View file

@ -5,7 +5,6 @@
#ifndef BITCOIN_UTIL_STRING_H #ifndef BITCOIN_UTIL_STRING_H
#define BITCOIN_UTIL_STRING_H #define BITCOIN_UTIL_STRING_H
#include <functional>
#include <string> #include <string>
#include <vector> #include <vector>

View file

@ -9,7 +9,6 @@
#include <util/strencodings.h> #include <util/strencodings.h>
#include <util/translation.h> #include <util/translation.h>
#include <stdarg.h>
#if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)) #if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))
#include <pthread.h> #include <pthread.h>

View file

@ -6,7 +6,6 @@
#include <config/bitcoin-config.h> #include <config/bitcoin-config.h>
#endif #endif
#include <atomic>
#include <thread> #include <thread>
#if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__)) #if (defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__DragonFly__))

View file

@ -7,7 +7,6 @@
#include <tinyformat.h> #include <tinyformat.h>
#include <utility>
/** /**
* Bilingual messages: * Bilingual messages:

View file

@ -28,7 +28,6 @@
#include <reverse_iterator.h> #include <reverse_iterator.h>
#include <script/script.h> #include <script/script.h>
#include <script/sigcache.h> #include <script/sigcache.h>
#include <script/standard.h>
#include <shutdown.h> #include <shutdown.h>
#include <timedata.h> #include <timedata.h>
#include <tinyformat.h> #include <tinyformat.h>
@ -46,8 +45,6 @@
#include <validationinterface.h> #include <validationinterface.h>
#include <warnings.h> #include <warnings.h>
#include <future>
#include <sstream>
#include <string> #include <string>
#include <boost/algorithm/string/replace.hpp> #include <boost/algorithm/string/replace.hpp>

Some files were not shown because too many files have changed in this diff Show more