aboutsummaryrefslogtreecommitdiff
path: root/src/txdb.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/txdb.h')
-rw-r--r--src/txdb.h4
1 files changed, 4 insertions, 0 deletions
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