Skip to content

Commit fad8c89

Browse files
author
MarcoFalke
committed
txdb: Remove unused boost/thread
1 parent faa958b commit fad8c89

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/txdb.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616

1717
#include <stdint.h>
1818

19-
#include <boost/thread.hpp>
20-
2119
static const char DB_COIN = 'C';
2220
static const char DB_COINS = 'c';
2321
static const char DB_BLOCK_FILES = 'f';
@@ -242,7 +240,6 @@ bool CBlockTreeDB::LoadBlockIndexGuts(const Consensus::Params& consensusParams,
242240

243241
// Load m_block_index
244242
while (pcursor->Valid()) {
245-
boost::this_thread::interruption_point();
246243
if (ShutdownRequested()) return false;
247244
std::pair<char, uint256> key;
248245
if (pcursor->GetKey(key) && key.first == DB_BLOCK_INDEX) {
@@ -354,7 +351,6 @@ bool CCoinsViewDB::Upgrade() {
354351
std::pair<unsigned char, uint256> key;
355352
std::pair<unsigned char, uint256> prev_key = {DB_COINS, uint256()};
356353
while (pcursor->Valid()) {
357-
boost::this_thread::interruption_point();
358354
if (ShutdownRequested()) {
359355
break;
360356
}

0 commit comments

Comments
 (0)