Skip to content
Bitcoin Roots

v29.4-roots.4 · Commit 28: [PATCH 28/37] fix(wallet): secure asynchronous sweep cancellation

src/rpc/blockchain.h

Before: src/rpc/blockchain.h · After: src/rpc/blockchain.h

File metadata
index 7bb178a247694325ca712f7c217dbc0c77638667..39ee37a5e1735d1c2e438483eaeb923d709725f6 100644

Download original patch · Release notes

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

+ Added− RemovedUnmarked lines are context.

Scroll the code area horizontally to read long lines. Before is on the left; after is on the right. Unified view fits narrow screens more easily.

src/rpc/blockchain.h CHANGED
@@ -83,6 +83,7 @@ void CheckBlockDataAvailability(node::BlockManager& blockman, const CBlockIndex&
83
  //! Scan the current UTXO set while sharing scantxoutset's reservation and RPC
84
  //! interruption behavior. The returned coins are a snapshot and must be
85
  //! revalidated by the caller before broadcast.
86
- interfaces::ScanResult ScanUTXOSet(node::NodeContext& node, const std::set<CScript>& needles, std::map<COutPoint, Coin>& coins);
 
87
 
88
  #endif // BITCOIN_RPC_BLOCKCHAIN_H
 
83
  //! Scan the current UTXO set while sharing scantxoutset's reservation and RPC
84
  //! interruption behavior. The returned coins are a snapshot and must be
85
  //! revalidated by the caller before broadcast.
86
+ interfaces::ScanResult ScanUTXOSet(node::NodeContext& node, const std::set<CScript>& needles, std::map<COutPoint, Coin>& coins,
87
+ const std::function<bool()>& should_abort = {});
88
 
89
  #endif // BITCOIN_RPC_BLOCKCHAIN_H