Skip to content

Fix(electrum-pool): use call_async instead of any_client for full scans#887

Merged
Einliterflasche merged 1 commit intomasterfrom
fix/electrum-pool/fallback-for-full-scan
Feb 23, 2026
Merged

Fix(electrum-pool): use call_async instead of any_client for full scans#887
Einliterflasche merged 1 commit intomasterfrom
fix/electrum-pool/fallback-for-full-scan

Conversation

@Einliterflasche
Copy link

Instead of relying on the single electrum server to work for the full scan (which is required to successfully start the app), we use the electrum pool fallback mechanism (try other servers/clients after one errored).

This tries to address the "Failed to initialize Bitcoin wallet: EOF" repeatedly reported, for example in #886.

@binarybaron is there any reason we didn't do this before? I had to move the construction of the FullScanRequest into the closure because of trait bounds.

Closes #886.

Instead of relying on the single electrum server to work for the full scan
(which is required to successfully start the app), we use the electrum pool
fallback mechanism (try other servers/clients after one errored).

This tries to address the "Failed to initialize Bitcoin wallet: EOF"
repeatedly reported, for example in #886.
@binarybaron
Copy link

Id test this by adding a few non functional electrum servers to your settings.

@binarybaron
Copy link

bugbot run

@binarybaron
Copy link

I'm fine with merging this if you tested this manually once.

@Einliterflasche
Copy link
Author

Einliterflasche commented Feb 23, 2026

Works with a fictional server at the top of the list, and at the bottom of the list. Does not work with zero functional servers (as expected). I'm merging this.

@Einliterflasche Einliterflasche merged commit 2d6a32a into master Feb 23, 2026
48 of 58 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Error: Failed to initialize Bitcoin wallet" after setup (No Wallet / Legacy)

2 participants