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

Disconnect on channeld death due to HTLC addition timeout #6520

Conversation

rustyrussell
Copy link
Contributor

This can be cause by TCP/Tor silently disconnecting so we don't receive messages, so it's best to force a reconnect.

Fixes: #6506

I noticed this while debugging an issue with ACINQ, that we got upset,
but didn't trigger a reconnect cycle.

Signed-off-by: Rusty Russell <[email protected]>
Changelog-Fixed: Protocol: We now close connection with a peer if adding an HTLC times out (which may be a TCP connectivity issue).
@rustyrussell rustyrussell force-pushed the guilt/disconnect-on-channeld-death branch from c222b93 to 9c236c1 Compare August 7, 2023 03:42
Copy link
Collaborator

@vincenzopalazzo vincenzopalazzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 9c236c1

@rustyrussell rustyrussell merged commit 91ea85b into ElementsProject:master Aug 7, 2023
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

If we kill channeld because it's too slow, we don't disconnect?
2 participants