diff options
author | MacroFake <falke.marco@gmail.com> | 2022-07-19 14:05:01 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-07-19 14:12:14 +0200 |
commit | fa869ce2c2b906d8b087c4e7a5f1804a74b1c522 (patch) | |
tree | 00c82ada63af578381b0b0057d1814a129d7ec60 /src | |
parent | 948f5ba6363fcc64f95fed3f04dbda3d50d61827 (diff) |
Add missing includes to node/chainstate
This is needed for the next commit
Diffstat (limited to 'src')
-rw-r--r-- | src/node/chainstate.cpp | 13 | ||||
-rw-r--r-- | src/node/chainstate.h | 3 |
2 files changed, 13 insertions, 3 deletions
diff --git a/src/node/chainstate.cpp b/src/node/chainstate.cpp index 54ba5b7966..60a60f8665 100644 --- a/src/node/chainstate.cpp +++ b/src/node/chainstate.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, diff --git a/src/node/chainstate.h b/src/node/chainstate.h index ff7935e8e0..5c495da229 100644 --- a/src/node/chainstate.h +++ b/src/node/chainstate.h @@ -11,9 +11,6 @@ class ChainstateManager; class CTxMemPool; -namespace Consensus { -struct Params; -} // namespace Consensus namespace node { enum class ChainstateLoadingError { |