Browse Source

Trivial: Remove unneeded includes from .h:

- validation.h doesn't need to include chain.h anymore
- Remove unneeded includes from net.h
0.15
Jorge Timón 8 years ago
parent
commit
a1fd450328
No known key found for this signature in database
GPG Key ID: 8866C18EA1C944A2
  1. 2
      src/net.h
  2. 1
      src/validation.cpp
  3. 1
      src/validation.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/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

Loading…
Cancel
Save