Skip to content

Commit a1fd450

Browse files
committed
Trivial: Remove unneeded includes from .h:
- validation.h doesn't need to include chain.h anymore - Remove unneeded includes from net.h
1 parent 67023e9 commit a1fd450

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

src/net.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include "amount.h"
1212
#include "bloom.h"
1313
#include "compat.h"
14-
#include "fs.h"
1514
#include "hash.h"
1615
#include "limitedmap.h"
1716
#include "netaddress.h"
@@ -36,7 +35,6 @@
3635
#include <boost/foreach.hpp>
3736
#include <boost/signals2/signal.hpp>
3837

39-
class CAddrMan;
4038
class CScheduler;
4139
class CNode;
4240

src/validation.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include "validation.h"
77

88
#include "arith_uint256.h"
9+
#include "chain.h"
910
#include "chainparams.h"
1011
#include "checkpoints.h"
1112
#include "checkqueue.h"

src/validation.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#endif
1212

1313
#include "amount.h"
14-
#include "chain.h"
1514
#include "coins.h"
1615
#include "fs.h"
1716
#include "protocol.h" // For CMessageHeader::MessageStartChars

0 commit comments

Comments
 (0)