mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-30 10:42:23 +02:00
txindex: Remove unused boost/thread
This commit is contained in:
@ -9,8 +9,6 @@
|
|||||||
#include <util/translation.h>
|
#include <util/translation.h>
|
||||||
#include <validation.h>
|
#include <validation.h>
|
||||||
|
|
||||||
#include <boost/thread.hpp>
|
|
||||||
|
|
||||||
constexpr char DB_BEST_BLOCK = 'B';
|
constexpr char DB_BEST_BLOCK = 'B';
|
||||||
constexpr char DB_TXINDEX = 't';
|
constexpr char DB_TXINDEX = 't';
|
||||||
constexpr char DB_TXINDEX_BLOCK = 'T';
|
constexpr char DB_TXINDEX_BLOCK = 'T';
|
||||||
@ -150,7 +148,6 @@ bool TxIndex::DB::MigrateData(CBlockTreeDB& block_tree_db, const CBlockLocator&
|
|||||||
bool interrupted = false;
|
bool interrupted = false;
|
||||||
std::unique_ptr<CDBIterator> cursor(block_tree_db.NewIterator());
|
std::unique_ptr<CDBIterator> cursor(block_tree_db.NewIterator());
|
||||||
for (cursor->Seek(begin_key); cursor->Valid(); cursor->Next()) {
|
for (cursor->Seek(begin_key); cursor->Valid(); cursor->Next()) {
|
||||||
boost::this_thread::interruption_point();
|
|
||||||
if (ShutdownRequested()) {
|
if (ShutdownRequested()) {
|
||||||
interrupted = true;
|
interrupted = true;
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user