Skip to content

Implement option_simple_close#2967

Merged
t-bast merged 4 commits intomasterfrom
option-simple-close-no-state-machine
Feb 13, 2025
Merged

Implement option_simple_close#2967
t-bast merged 4 commits intomasterfrom
option-simple-close-no-state-machine

Conversation

@t-bast
Copy link
Member

@t-bast t-bast commented Dec 17, 2024

Implement option_simple_close as defined in the official spec feature in lightning/bolts#1205

Hopefully this is the last time we change the mutual close protocol! And at some point that will let us entirely remove all the code supporting the two previous mutual close protocols (this is why I kept the code as separate as possible instead of trying to fit into the existing NEGOTIATING state).

Note that this is a prerequisite for taproot channels: this protocol allows nodes to safely exchange nonces in shutdown, closing_complete and closing_sig to spend a musig2 channel output.

I have verified that we have cross-compat with lnd so this is ready to integrate!

Loading
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.

4 participants