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

Channel reestablish: wait for/send error message when behind #7625

Open
bitromortac opened this issue Jan 11, 2022 · 0 comments
Open

Channel reestablish: wait for/send error message when behind #7625

bitromortac opened this issue Jan 11, 2022 · 0 comments

Comments

@bitromortac
Copy link
Contributor

bitromortac commented Jan 11, 2022

Upon channel reestablishment, if a peer is behind the state it should be, the other peer force closes on the late peer.

There are discussions about the order of events and error messages:
lightning/bolts#942
lightning/bolts#932

If I understand correctly, the late peer should first send an error message and only then, the ahead peer closes. We neither send error messages nor wait on receiving them:

if they_are_ahead:

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