refactor: Replace validation.h include with forward-decl in miner.h

This commit is contained in:
MarcoFalke 2021-11-15 13:56:40 +01:00
parent fa0739a7d3
commit fa4e09924b
No known key found for this signature in database
GPG key ID: CE2B75697E69A548
2 changed files with 3 additions and 2 deletions

View file

@ -21,6 +21,7 @@
#include <timedata.h> #include <timedata.h>
#include <util/moneystr.h> #include <util/moneystr.h>
#include <util/system.h> #include <util/system.h>
#include <validation.h>
#include <algorithm> #include <algorithm>
#include <utility> #include <utility>

View file

@ -8,15 +8,15 @@
#include <primitives/block.h> #include <primitives/block.h>
#include <txmempool.h> #include <txmempool.h>
#include <validation.h>
#include <memory> #include <memory>
#include <optional> #include <optional>
#include <stdint.h> #include <stdint.h>
#include <boost/multi_index_container.hpp>
#include <boost/multi_index/ordered_index.hpp> #include <boost/multi_index/ordered_index.hpp>
#include <boost/multi_index_container.hpp>
class ChainstateManager;
class CBlockIndex; class CBlockIndex;
class CChainParams; class CChainParams;
class CScript; class CScript;