txindex: Remove unused boost/thread

pull/18758/head
MarcoFalke 5 years ago
parent 584170a388
commit faa958bc28
No known key found for this signature in database
GPG Key ID: CE2B75697E69A548

@ -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;

Loading…
Cancel
Save