Page MenuHomePhabricator

[electrum] bump RPC timeout
ClosedPublic

Authored by PiRK on Sep 19 2025, 13:29.

Details

Reviewers
bytesofman
Group Reviewers
Restricted Project
Commits
rABC01f8212cc08f: [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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

PiRK requested review of this revision.Sep 19 2025, 13:29
bytesofman added a subscriber: bytesofman.
bytesofman added inline comments.
electrum/electrumabc/interface.py
126 ↗(On Diff #55755)

is this still a magic number?

This revision is now accepted and ready to land.Sep 19 2025, 18:20
This revision was automatically updated to reflect the committed changes.