v30.3-roots.1 · Commit 28: [PATCH 28/68] fix(wallet): secure asynchronous sweep cancellation
src/rpc/blockchain.h
Before: src/rpc/blockchain.h · After: src/rpc/blockchain.h
File metadata
index 19fd54af357ca5fcc3de180043d63e1cc6d9a743..6c295667af1c3bf1df69118350ae05bcedc7d447 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
|
@@ -82,6 +82,7 @@ void CheckBlockDataAvailability(node::BlockManager& blockman, const CBlockIndex&
|
|
| 82 |
//! Scan the current UTXO set while sharing scantxoutset's reservation and RPC
|
| 83 |
//! interruption behavior. The returned coins are a snapshot and must be
|
| 84 |
//! revalidated by the caller before broadcast.
|
| 85 |
-
interfaces::ScanResult ScanUTXOSet(node::NodeContext& node, const std::set<CScript>& needles, std::map<COutPoint, Coin>& coins);
|
|
|
|
| 86 |
|
| 87 |
#endif // BITCOIN_RPC_BLOCKCHAIN_H
|
|
|
|
| 82 |
//! Scan the current UTXO set while sharing scantxoutset's reservation and RPC
|
| 83 |
//! interruption behavior. The returned coins are a snapshot and must be
|
| 84 |
//! revalidated by the caller before broadcast.
|
| 85 |
+
interfaces::ScanResult ScanUTXOSet(node::NodeContext& node, const std::set<CScript>& needles, std::map<COutPoint, Coin>& coins,
|
| 86 |
+
const std::function<bool()>& should_abort = {});
|
| 87 |
|
| 88 |
#endif // BITCOIN_RPC_BLOCKCHAIN_H
|