Skip to content
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

Allow to construct ElectrumClient *without* connecting #166

Open
tnull opened this issue Mar 7, 2025 · 0 comments
Open

Allow to construct ElectrumClient *without* connecting #166

tnull opened this issue Mar 7, 2025 · 0 comments

Comments

@tnull
Copy link
Contributor

tnull commented Mar 7, 2025

Currently, ElectrumClient::new directly tries to establish a connection to the server, i.e., there is no way to successfully construct a client while being offline.

It would be great if there was a way to simply initialize a client, without directly establishing a connection.

This might go hand-in-hand with decoupling the Client object more generally from a single connection, see #165.

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

No branches or pull requests

1 participant