Skip to content

Commit

Permalink
add RPC method to abort scantxoutset
Browse files Browse the repository at this point in the history
  • Loading branch information
luisschwab committed Aug 14, 2024
1 parent 8e4fb85 commit 8e8790f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,11 @@ pub trait RpcApi: Sized {
Err(e) => Err(e),
}
}

// Abort a UTXO set scan
fn scan_tx_out_set_abort(&self) -> Result<bool> {
self.call("scantxoutset", &["abort".into()])
}

fn scan_tx_out_set_blocking(
&self,
Expand Down

0 comments on commit 8e8790f

Please sign in to comment.