mirror of
https://github.com/bitcoin/bitcoin.git
synced 2024-11-19 09:53:47 +01:00
Add missing includes to node/chainstate
This is needed for the next commit
This commit is contained in:
parent
948f5ba636
commit
fa869ce2c2
@ -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"\
|
||||
|
@ -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,
|
||||
|
@ -11,9 +11,6 @@
|
||||
|
||||
class ChainstateManager;
|
||||
class CTxMemPool;
|
||||
namespace Consensus {
|
||||
struct Params;
|
||||
} // namespace Consensus
|
||||
|
||||
namespace node {
|
||||
enum class ChainstateLoadingError {
|
||||
|
Loading…
Reference in New Issue
Block a user