Repository navigation
Add Bolt 2 comments - #3
Closed
benthecarman wants to merge 4 commits into
Closed
benthecarman wants to merge 4 commits into
benthecarman wants to merge 4 commits into
Conversation
If we're behind exactly one commitment (which we've revoked), we'd previously force-close the channel, guaranteeing we'll lose funds as the counterparty has our latest local commitment state's revocation secret. While this shouldn't happen because users should never lose data, sometimes issues happen, and we should ensure we always panic. Further, `test_data_loss_protect` is updated to test this case.
TheBlueMatt
force-pushed
the
2023-11-log-forward-peer
branch
from
November 9, 2023 21:32
cc441dc to
c4e9da4
Compare
Owner
|
Closing, discussed offline, not sure the comments/renames add clarity. |
TheBlueMatt
pushed a commit
that referenced
this pull request
Dec 4, 2023
…-cleanups-3 Post-lightningdevkit#2314 Cleanups #3
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
renamed the fields in
ChannelReestablishto match Bolt 2 and copy-pasted the statements from bolt 2 as comments where we are enforcing them. I think I got all of them right but not entire sure as a lot of the name is different and there is weirdness with the 48 bit stuff.