HomePhabricator

[electrum] make the derivation path scanner report number of txs on timeout

Description

[electrum] make the derivation path scanner report number of txs on timeout

Summary:
It is interesting to know whether a derivation path has any transactions, even if we are not sure about the exact number of txs.
Also it is likely that the timeout happens during the merkle verification when the whole transaction history is already downloaded.

I will try to fix the root cause in a different diff, because it seems to me that the tool should not timeout on wallets with only a few hundreds of transactions, but this change is still useful because we cannot reasonably make the user wait for full synchronization for much larger wallets with tens of thousands of transactions.

Test Plan: Try the derivation path scanner on a wallet with enough transactions to cause a timeout.

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14307

Details

Provenance
PiRKAuthored on Jul 25 2023, 06:36
PiRKPushed on Jul 25 2023, 09:40
Reviewer
Restricted Project
Differential Revision
D14307: [electrum] make the derivation path scanner report number of txs on timeout
Parents
rABC7a7b0b23a62d: [e.cash] Add social card image
Branches
Unknown
Tags
Unknown