Skip to content

Figure out reconnections to Electrum server #487

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
tnull opened this issue Mar 17, 2025 · 1 comment
Closed

Figure out reconnections to Electrum server #487

tnull opened this issue Mar 17, 2025 · 1 comment

Comments

@tnull
Copy link
Collaborator

tnull commented Mar 17, 2025

In #486, we added initial support for sourcing chain data from an Electrum server based on rust-electrum-client.

Unfortunately, the latter doesn't handle connection failures at all really. So a dropped connection would likely just result in a unusable Client object. As this this needs to be handled/fixed upstream I opened bitcoindevkit/rust-electrum-client#165. But, if it's no fixed upstream, we have to come up with some resolution here.

Marking as 'blocked on upstream' for now.

@tnull
Copy link
Collaborator Author

tnull commented Apr 2, 2025

Hmm seems I was wrong and this already handled as part of electrum-client's retry logic, i.e., even after hitting Error::AllAttemptsErrored the Client object will try to reconnect and resume for subsequent calls. Closing this.

@tnull tnull closed this as completed Apr 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant