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

multi: bring upstream fixes for force closures after reconnection #173

Merged
merged 10 commits into from
Feb 15, 2023

Conversation

matheusd
Copy link
Member

This brings the following upstream PRs to fix issues with force closed channels after peer reconnections:

lightningnetwork#4915
lightningnetwork#5231
lightningnetwork#6655

Crypt-iQ and others added 10 commits December 21, 2022 16:38
The previous behavior would allow updates to be overwritten in some
scenarios. Upon restart, this would lead to a missing settle/fail in
the update logs.
Without this, calls to DisconnectPeer would bypass the
peerTerminationWatcher and allow subsequent connect requests to
go through before the peer's links were fully shut down. This could
lead to force closes.
(matheusd): This was adapted to move the diff from lnd_switch_test.go to
lnd_test.go as that test was not moved yet in this history.
Now that disconnection takes longer, this test also needs fixing.
@matheusd matheusd merged commit 12067f4 into decred:master Feb 15, 2023
@matheusd matheusd deleted the bring-close-fixes branch February 15, 2023 13:08
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