diff --git a/src/node/coinstats.cpp b/src/node/coinstats.cpp index ec2cd7abbc..e7fd2dc99b 100644 --- a/src/node/coinstats.cpp +++ b/src/node/coinstats.cpp @@ -14,8 +14,6 @@ #include -#include - static void ApplyStats(CCoinsStats &stats, CHashWriter& ss, const uint256& hash, const std::map& outputs) { assert(!outputs.empty()); @@ -55,7 +53,6 @@ bool GetUTXOStats(CCoinsView *view, CCoinsStats &stats) uint256 prevkey; std::map outputs; while (pcursor->Valid()) { - boost::this_thread::interruption_point(); COutPoint key; Coin coin; if (pcursor->GetKey(key) && pcursor->GetValue(coin)) { diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 7141fa93c5..bd240498e8 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -41,8 +41,6 @@ #include -#include // boost::thread::interrupt - #include #include #include @@ -2133,7 +2131,6 @@ bool FindScriptPubKey(std::atomic& scan_progress, const std::atomic& Coin coin; if (!cursor->GetKey(key) || !cursor->GetValue(coin)) return false; if (++count % 8192 == 0) { - boost::this_thread::interruption_point(); if (should_abort) { // allow to abort the scan via the abort reference return false;