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

Implement option_simple_close #597

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Implement option_simple_close #597

wants to merge 3 commits into from

Conversation

t-bast
Copy link
Member

@t-bast t-bast commented Feb 9, 2024

Implement option_simple_close as defined in lightning/bolts#1096
This is a pre-requisite for taproot channels.

The spec allows the closer to use an OP_RETURN output if their amount is
too low when using `option_simple_close`.
We update the `Negotiating` state to exchange the `closing_complete` and
`closing_sig` messages, and allow RBF-ing previous transactions and
updating our closing script.

We stay in that state until one of the transactions confirms, or a force
close is detected. This is important to ensure we're able to correctly
reconnect and negotiate RBF candidates.
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.

None yet

1 participant