Browse Source

Merge #10181: Include cleanup

1c897fc Missing includes (Jorge Timón)
a1fd450 Trivial: Remove unneeded includes from .h: (Jorge Timón)

Tree-SHA512: ada3e62cc2435e58172a88b380be371b717a05725956c15e5493b6e19fe2903e5e6e43fd22dc24699333a0e8a0c7b42eb1ae61b41cb4ba82495be18e2d4ef3c6
0.15
Wladimir J. van der Laan 8 years ago
parent
commit
86ea3c2ff2
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/checkqueue.h
  2. 1
      src/coins.h
  3. 2
      src/net.h
  4. 1
      src/policy/policy.cpp
  5. 1
      src/qt/clientmodel.cpp
  6. 1
      src/qt/walletmodel.cpp
  7. 1
      src/rpc/misc.cpp
  8. 1
      src/validation.cpp
  9. 1
      src/validation.h
  10. 1
      src/wallet/rpcwallet.cpp
  11. 1
      src/zmq/zmqpublishnotifier.cpp

2
src/checkqueue.h

@ -5,6 +5,8 @@
#ifndef BITCOIN_CHECKQUEUE_H #ifndef BITCOIN_CHECKQUEUE_H
#define BITCOIN_CHECKQUEUE_H #define BITCOIN_CHECKQUEUE_H
#include "sync.h"
#include <algorithm> #include <algorithm>
#include <vector> #include <vector>

1
src/coins.h

@ -6,6 +6,7 @@
#ifndef BITCOIN_COINS_H #ifndef BITCOIN_COINS_H
#define BITCOIN_COINS_H #define BITCOIN_COINS_H
#include "primitives/transaction.h"
#include "compressor.h" #include "compressor.h"
#include "core_memusage.h" #include "core_memusage.h"
#include "hash.h" #include "hash.h"

2
src/net.h

@ -11,7 +11,6 @@
#include "amount.h" #include "amount.h"
#include "bloom.h" #include "bloom.h"
#include "compat.h" #include "compat.h"
#include "fs.h"
#include "hash.h" #include "hash.h"
#include "limitedmap.h" #include "limitedmap.h"
#include "netaddress.h" #include "netaddress.h"
@ -36,7 +35,6 @@
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
#include <boost/signals2/signal.hpp> #include <boost/signals2/signal.hpp>
class CAddrMan;
class CScheduler; class CScheduler;
class CNode; class CNode;

1
src/policy/policy.cpp

@ -8,6 +8,7 @@
#include "policy/policy.h" #include "policy/policy.h"
#include "validation.h" #include "validation.h"
#include "coins.h"
#include "tinyformat.h" #include "tinyformat.h"
#include "util.h" #include "util.h"
#include "utilstrencodings.h" #include "utilstrencodings.h"

1
src/qt/clientmodel.cpp

@ -9,6 +9,7 @@
#include "guiutil.h" #include "guiutil.h"
#include "peertablemodel.h" #include "peertablemodel.h"
#include "chain.h"
#include "chainparams.h" #include "chainparams.h"
#include "checkpoints.h" #include "checkpoints.h"
#include "clientversion.h" #include "clientversion.h"

1
src/qt/walletmodel.cpp

@ -13,6 +13,7 @@
#include "transactiontablemodel.h" #include "transactiontablemodel.h"
#include "base58.h" #include "base58.h"
#include "chain.h"
#include "keystore.h" #include "keystore.h"
#include "validation.h" #include "validation.h"
#include "net.h" // for g_connman #include "net.h" // for g_connman

1
src/rpc/misc.cpp

@ -4,6 +4,7 @@
// file COPYING or http://www.opensource.org/licenses/mit-license.php. // file COPYING or http://www.opensource.org/licenses/mit-license.php.
#include "base58.h" #include "base58.h"
#include "chain.h"
#include "clientversion.h" #include "clientversion.h"
#include "init.h" #include "init.h"
#include "validation.h" #include "validation.h"

1
src/validation.cpp

@ -6,6 +6,7 @@
#include "validation.h" #include "validation.h"
#include "arith_uint256.h" #include "arith_uint256.h"
#include "chain.h"
#include "chainparams.h" #include "chainparams.h"
#include "checkpoints.h" #include "checkpoints.h"
#include "checkqueue.h" #include "checkqueue.h"

1
src/validation.h

@ -11,7 +11,6 @@
#endif #endif
#include "amount.h" #include "amount.h"
#include "chain.h"
#include "coins.h" #include "coins.h"
#include "fs.h" #include "fs.h"
#include "protocol.h" // For CMessageHeader::MessageStartChars #include "protocol.h" // For CMessageHeader::MessageStartChars

1
src/wallet/rpcwallet.cpp

@ -9,6 +9,7 @@
#include "consensus/validation.h" #include "consensus/validation.h"
#include "core_io.h" #include "core_io.h"
#include "init.h" #include "init.h"
#include "wallet/coincontrol.h"
#include "validation.h" #include "validation.h"
#include "net.h" #include "net.h"
#include "policy/fees.h" #include "policy/fees.h"

1
src/zmq/zmqpublishnotifier.cpp

@ -2,6 +2,7 @@
// 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 "chain.h"
#include "chainparams.h" #include "chainparams.h"
#include "streams.h" #include "streams.h"
#include "zmqpublishnotifier.h" #include "zmqpublishnotifier.h"

Loading…
Cancel
Save