-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Bugfix/htlc flush shutdown #8167
Merged
Roasbeef
merged 25 commits into
lightningnetwork:master
from
ProofOfKeags:bugfix/htlc-flush-shutdown
Jan 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
9b2d101
htlcswitch+peer: add flush api and lifecycle hooks to ChannelUpdateHa…
ProofOfKeags 30ad49a
chancloser: add new closeAwaitingFlushState
ProofOfKeags 6fef9ea
chancloser: extract ProcessCloseMsg Shutdown handling logic into dedi…
ProofOfKeags e77d3ad
chancloser: extract ProcessCloseMsg ClosingSigned handling logic into…
ProofOfKeags 45d30af
chancloser: add BeginNegotiation method to bridge phases
ProofOfKeags 1b0f97a
chancloser: move initFeeBaseline to BeginNegotiation
ProofOfKeags 3aceeea
chancloser: move nil MarkCoopBroadcasted to BeginNegotiation
ProofOfKeags 7b08899
chancloser: cache remote ClosingSigned to deal with race
ProofOfKeags f81e7ad
peer: rewrite handleCloseMsg in terms of new ChanCloser methods
ProofOfKeags 704eb84
chancloser: rewrite tests in terms of new ChanCloser methods
ProofOfKeags 6955dc9
chancloser: remove ProcessCloseMsg
ProofOfKeags 7029225
htlcswitch: make link forward eligibility flush aware
ProofOfKeags 442f1dd
peer: handle close messages using link lifecycle hooks
ProofOfKeags 025e569
peer: fix local close requests to shutdown via link lifecycle hooks
ProofOfKeags 5ab69ae
peer: remove tryLinkShutdown due to redundance
ProofOfKeags a9d5235
htlcswitch: bounce downstream adds when flushing
ProofOfKeags 891b00d
htlcswitch: drop the connection when receiving an invalid add
ProofOfKeags 601afaf
htlcswitch: implement flush api for channelLink
ProofOfKeags 64fda6c
htlcswitch: implement flush and commit lifecycle hooks for channelLink
ProofOfKeags ec55831
htlcswitch+peer: remove ShutdownIfChannelClean
ProofOfKeags 804dabb
lnd: make closechannel send an instant empty update when no_wait set
ProofOfKeags 94373bd
htlcswitch: placate confused linter
ProofOfKeags 9e58ebd
itest: test that we can close with in-flight htlcs
ProofOfKeags 0727717
itest+lntest: remove temporary hacks around broken coop close in itests
ProofOfKeags 69ef1b2
docs: update release notes
ProofOfKeags File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍