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

Reuse electrum clients #488

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

Reuse electrum clients #488

tnull opened this issue Mar 17, 2025 · 0 comments

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.

As the respective sync clients in lightning-transaction-sync and bdk_electrum currently don't allow to take clients by reference, we were currently forced to create three separate clients (read: connections to the server). Once all sides shipped the respective fixes (bitcoindevkit/rust-electrum-client#163 / lightningdevkit/rust-lightning#3646), we should reuse a single connection.

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