aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMacroFake <falke.marco@gmail.com>2022-07-21 20:16:03 +0200
committerMacroFake <falke.marco@gmail.com>2022-07-21 20:23:23 +0200
commitfad3c5826e6618fa1d58b9be48972f4ef03a2103 (patch)
treee93627f9caf0f128e6043ad96a46acd4a471c6bd /src
parentb8067cd435059eedb580975afc62c4e7a6f27321 (diff)
refactor: Fix iwyu on node/chainstate
Diffstat (limited to 'src')
-rw-r--r--src/node/chainstate.cpp2
-rw-r--r--src/node/chainstate.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/node/chainstate.cpp b/src/node/chainstate.cpp
index bb6b2df1b7..ad9293f172 100644
--- a/src/node/chainstate.cpp
+++ b/src/node/chainstate.cpp
@@ -11,9 +11,11 @@
#include <node/caches.h>
#include <sync.h>
#include <threadsafety.h>
+#include <tinyformat.h>
#include <txdb.h>
#include <uint256.h>
#include <util/time.h>
+#include <util/translation.h>
#include <validation.h>
#include <algorithm>
diff --git a/src/node/chainstate.h b/src/node/chainstate.h
index 649cfb2526..2289310ece 100644
--- a/src/node/chainstate.h
+++ b/src/node/chainstate.h
@@ -5,13 +5,13 @@
#ifndef BITCOIN_NODE_CHAINSTATE_H
#define BITCOIN_NODE_CHAINSTATE_H
+#include <util/translation.h>
#include <validation.h>
#include <cstdint>
#include <functional>
-#include <optional>
+#include <tuple>
-class ChainstateManager;
class CTxMemPool;
namespace node {