|
|
|
@ -9,8 +9,6 @@
|
|
|
|
|
#include <util/translation.h>
|
|
|
|
|
#include <validation.h>
|
|
|
|
|
|
|
|
|
|
#include <boost/thread.hpp>
|
|
|
|
|
|
|
|
|
|
constexpr char DB_BEST_BLOCK = 'B';
|
|
|
|
|
constexpr char DB_TXINDEX = 't';
|
|
|
|
|
constexpr char DB_TXINDEX_BLOCK = 'T';
|
|
|
|
@ -150,7 +148,6 @@ bool TxIndex::DB::MigrateData(CBlockTreeDB& block_tree_db, const CBlockLocator&
|
|
|
|
|
bool interrupted = false;
|
|
|
|
|
std::unique_ptr<CDBIterator> cursor(block_tree_db.NewIterator());
|
|
|
|
|
for (cursor->Seek(begin_key); cursor->Valid(); cursor->Next()) {
|
|
|
|
|
boost::this_thread::interruption_point();
|
|
|
|
|
if (ShutdownRequested()) {
|
|
|
|
|
interrupted = true;
|
|
|
|
|
break;
|
|
|
|
|