Skip to content
Bitcoin Roots

v30.3-roots.1 · Commit 28: [PATCH 28/68] fix(wallet): secure asynchronous sweep cancellation

src/node/interfaces.cpp

Before: src/node/interfaces.cpp · After: src/node/interfaces.cpp

File metadata
index f4d8bb2e5731ca8a0885b404fee171bd619b9a85..f76a0616ffbf3ba6449cb002cbb84e5abc79a07c 100644

Download original patch · Release notes

Diff rows 1–9 of 9. Line numbers refer to the original before/after files.

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. The two line-number columns refer to before and after.

src/node/interfaces.cpp CHANGED
@@ -620,7 +620,8 @@ public:
620
620
  int{FillBlock(block2, block2_out, lock, active, chainman().m_blockman)};
621
621
  }
622
622
  void findCoins(std::map<COutPoint, Coin>& coins) override { return FindCoins(m_node, coins); }
623
- interfaces::ScanResult findScriptPubKeys(const std::set<CScript>& needles, std::map<COutPoint, Coin>& coins) override { return ScanUTXOSet(m_node, needles, coins); }
623
+ interfaces::ScanResult findScriptPubKeys(const std::set<CScript>& needles, std::map<COutPoint, Coin>& coins,
624
+ const std::function<bool()>& should_abort) override { return ScanUTXOSet(m_node, needles, coins, should_abort); }
624
625
  double guessVerificationProgress(const uint256& block_hash) override
625
626
  {
626
627
  LOCK(chainman().GetMutex());