HomePhabricator

[electrum] bump RPC timeout

Description

[electrum] bump RPC timeout

Summary:
For addresses with a very large history, with a low-end server, the blockchain.scripthash.subscribe and blockchain.scripthash.get_history RPCs can take longer than 10 seconds.

Also use constants instead of magic numbers for timeouts.

Test Plan: Start syncing a very large wallet in Electrum ABC on a weak server, check that it manages to fetch the history

Reviewers: #bitcoin_abc, bytesofman

Reviewed By: #bitcoin_abc, bytesofman

Subscribers: bytesofman

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

Details

Provenance
PiRKAuthored on Sep 19 2025, 13:25
PiRKPushed on Sep 22 2025, 11:05
Reviewer
Restricted Project
Differential Revision
D18651: [electrum] bump RPC timeout
Parents
rABCf9cb991d247a: [Automated] Update seeds
Branches
Unknown
Tags
Unknown