mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-03-10 15:46:48 -04:00
txindex: Remove unused boost/thread
This commit is contained in:
parent
584170a388
commit
faa958bc28
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue