Skip to content

Commit 8e8790f

Browse files
committed
add RPC method to abort scantxoutset
1 parent 8e4fb85 commit 8e8790f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

client/src/client.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1272,6 +1272,11 @@ pub trait RpcApi: Sized {
12721272
Err(e) => Err(e),
12731273
}
12741274
}
1275+
1276+
// Abort a UTXO set scan
1277+
fn scan_tx_out_set_abort(&self) -> Result<bool> {
1278+
self.call("scantxoutset", &["abort".into()])
1279+
}
12751280

12761281
fn scan_tx_out_set_blocking(
12771282
&self,

0 commit comments

Comments
 (0)