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

Chain Service de-syncs from tip #314

Closed
dangeross opened this issue Jun 19, 2024 · 1 comment
Closed

Chain Service de-syncs from tip #314

dangeross opened this issue Jun 19, 2024 · 1 comment
Assignees

Comments

@dangeross
Copy link
Collaborator

The electrum client keeps sync with the latest headers by subscribing to header events. The lwk_wollet uses this to get the tip when needed. But if the underlying stream is not used regularly the stream connection is dropped by the remote. Because of the way lwk_wollet is initialised it only subscribes to header events once, if the connection is dropped the tip de-syncs as no new header events come in (not being re-subscribed on reconnect)

bitcoindevkit/rust-electrum-client#124

@dangeross
Copy link
Collaborator Author

Closed by #315

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