Add missing includes to node/chainstate

This is needed for the next commit
This commit is contained in:
MacroFake 2022-07-19 14:05:01 +02:00
parent 948f5ba636
commit fa869ce2c2
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548
3 changed files with 14 additions and 3 deletions

View File

@ -42,6 +42,7 @@ if [ "${RUN_TIDY}" = "true" ]; then
" src/compat"\
" src/init"\
" src/kernel/mempool_persist.cpp"\
" src/node/chainstate.cpp"\
" src/policy/feerate.cpp"\
" src/policy/packages.cpp"\
" src/policy/settings.cpp"\

View File

@ -4,10 +4,23 @@
#include <node/chainstate.h>
#include <chain.h>
#include <coins.h>
#include <consensus/params.h>
#include <node/blockstorage.h>
#include <sync.h>
#include <threadsafety.h>
#include <txdb.h>
#include <uint256.h>
#include <util/time.h>
#include <validation.h>
#include <algorithm>
#include <atomic>
#include <cassert>
#include <memory>
#include <vector>
namespace node {
std::optional<ChainstateLoadingError> LoadChainstate(bool fReset,
ChainstateManager& chainman,

View File

@ -11,9 +11,6 @@
class ChainstateManager;
class CTxMemPool;
namespace Consensus {
struct Params;
} // namespace Consensus
namespace node {
enum class ChainstateLoadingError {