You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
called `Result::unwrap()` on an `Err` value: JsonRpc(Rpc(RpcError { code: -8, message: "Scan already in progress, use action \"abort\" or \"status\"", data: None }))note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I run $ bitcoin-cli scantxoutset abort before to make sure there is no scan in progress. After the panic, bitcoind continues the scan (confirmed via $ bitcoin-cli scantxoutset status).
The text was updated successfully, but these errors were encountered:
It's actually making two identical requests, ~15 seconds apart:
This error is caused by the rust-jsonrpc upstream dependency, which implements a 15 second timeout for requests (see here).
This is not the expected behavior: it should simply wait and block until the scan is done. A simple fix is not obvious to me, besides increasing the DEFAULT_TIMEOUT on rust-jsonrpc/src/http/simple_http.rs to an absurd amount, which would invalidate it's functionality for every other RPC that doesn't take as long to complete.
rust-bitcoincore-rpc:
v0.19.0
Bitcoin Core:
v0.21.0
andv24.0.1
scan_tx_out_set_blocking()
is panicking as if another scan was already in progress.This snippet:
returns this error:
I run
$ bitcoin-cli scantxoutset abort
before to make sure there is no scan in progress. After the panic,bitcoind
continues the scan (confirmed via$ bitcoin-cli scantxoutset status
).The text was updated successfully, but these errors were encountered: