Skip to content

Fix channel_reestablish exchanging in case of lost messages #208

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

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

This uses some new storage in HTLC state enums to reproduce the
various updates in a CommitmentUpdate group which is obviously
required to re-send a commitment_update after pending unreceived
updates were dropped.

Does not yet handle dropped update_fee updates properly.

@TheBlueMatt TheBlueMatt force-pushed the 2018-10-reconnect-fixes branch from c65588c to c52616d Compare October 16, 2018 03:06
@TheBlueMatt
Copy link
Collaborator Author

Gonna merge this since it has pretty exhaustive tests (should have done that in the first place....), but review still welcome!

@TheBlueMatt TheBlueMatt merged commit 41f1e16 into lightningdevkit:master Oct 16, 2018
@ariard
Copy link

ariard commented Oct 17, 2018

Quick skim over the 2 first commits, thinks good to me, will look on the others tomorrow

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

Successfully merging this pull request may close these issues.

2 participants