diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-08-04 20:55:31 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-08-20 16:59:41 +0200 |
commit | fa20f815a9cb438c5ab61e97a453612ddd8b21b5 (patch) | |
tree | be62ba807784893d7a5a4c684ab7f9b30b603300 /src/txdb.h | |
parent | fae878603345854527c211ebb7d1967f12c8bb9d (diff) | |
download | bitcoin-fa20f815a9cb438c5ab61e97a453612ddd8b21b5.tar.xz |
Remove txindex migration code
Diffstat (limited to 'src/txdb.h')
-rw-r--r-- | src/txdb.h | 6 |
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 |