You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow ElectrumSyncClient to reuse a preexisting client
Previously, our API would only allow users to have `ElectrumSyncClient`
a) construct an entirely `new` `electrum_client::Client` or b) take an
owened client via `from_client`.
Here, we change `ElectrumSyncClient::from_client` to accept an
`Arc<ElectrumClient>`, allowing to reuse a pre-existing client without
owning it. This is important as it will allow us to reuse the same
connection instead of forcing users to establish multiple connections if
they need something beyond syncing LDK.
0 commit comments