aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-08-04 20:55:31 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-08-20 16:59:41 +0200
commitfa20f815a9cb438c5ab61e97a453612ddd8b21b5 (patch)
treebe62ba807784893d7a5a4c684ab7f9b30b603300 /src/txdb.h
parentfae878603345854527c211ebb7d1967f12c8bb9d (diff)
downloadbitcoin-fa20f815a9cb438c5ab61e97a453612ddd8b21b5.tar.xz
Remove txindex migration code
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/txdb.h b/src/txdb.h
index 977c83356f..1bdce71126 100644
--- a/src/txdb.h
+++ b/src/txdb.h
@@ -8,10 +8,9 @@
#include <coins.h>
#include <dbwrapper.h>
-#include <chain.h>
-#include <primitives/block.h>
#include <memory>
+#include <optional>
#include <string>
#include <utility>
#include <vector>
@@ -22,6 +21,7 @@ class uint256;
namespace Consensus {
struct Params;
};
+struct bilingual_str;
//! -dbcache default (MiB)
static const int64_t nDefaultDbCache = 450;
@@ -89,4 +89,6 @@ public:
bool LoadBlockIndexGuts(const Consensus::Params& consensusParams, std::function<CBlockIndex*(const uint256&)> insertBlockIndex);
};
+std::optional<bilingual_str> CheckLegacyTxindex(CBlockTreeDB& block_tree_db);
+
#endif // BITCOIN_TXDB_H