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/index/txindex.h | |
parent | fae878603345854527c211ebb7d1967f12c8bb9d (diff) | |
download | bitcoin-fa20f815a9cb438c5ab61e97a453612ddd8b21b5.tar.xz |
Remove txindex migration code
Diffstat (limited to 'src/index/txindex.h')
-rw-r--r-- | src/index/txindex.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/index/txindex.h b/src/index/txindex.h index 8202c3c951..59375bc204 100644 --- a/src/index/txindex.h +++ b/src/index/txindex.h @@ -5,9 +5,7 @@ #ifndef BITCOIN_INDEX_TXINDEX_H #define BITCOIN_INDEX_TXINDEX_H -#include <chain.h> #include <index/base.h> -#include <txdb.h> /** * TxIndex is used to look up transactions included in the blockchain by hash. @@ -23,9 +21,6 @@ private: const std::unique_ptr<DB> m_db; protected: - /// Override base class init to migrate from old database. - bool Init() override; - bool WriteBlock(const CBlock& block, const CBlockIndex* pindex) override; BaseIndex::DB& GetDB() const override; |