From c88bcec93fa8b969e65b1fe7716bda429276bbd4 Mon Sep 17 00:00:00 2001 From: Jim Posen Date: Mon, 11 Dec 2017 16:58:25 -0800 Subject: [db] Migration for txindex data to new, separate database. --- src/txdb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/txdb.h') diff --git a/src/txdb.h b/src/txdb.h index b58158df0b..980e43b088 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -151,6 +151,10 @@ public: /// Write block locator of the chain that the txindex is in sync with. bool WriteBestBlock(const CBlockLocator& locator); + + /// Migrate txindex data from the block tree DB, where it may be for older nodes that have not + /// been upgraded yet to the new database. + bool MigrateData(CBlockTreeDB& block_tree_db, const CBlockLocator& best_locator); }; #endif // BITCOIN_TXDB_H -- cgit v1.2.3