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