Skip to content

Handle unfunded zeroconf channels in update_unfunded_state #9590

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

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

f321x
Copy link
Member

@f321x f321x commented Feb 28, 2025

This adds handling of zeroconf channels with funding tx height TX_HEIGHT_LOCAL. This way the client removes channels if the LSP fails to broadcast the funding transaction instead of trying to continue using it. It also allows the LSP to remove the channel on client side by sending shutdown instead of broadcasting the funding tx, the client will then remove the channel as it is in CLOSING state, this is useful if the LSP wants to abort the opening procedure, e.g. if the client fails to provide the preimage.
Required for #9584

@f321x f321x force-pushed the jit-update-unfunded-state branch from 34cd7d2 to 5995299 Compare March 7, 2025 12:40
@f321x f321x force-pushed the jit-update-unfunded-state branch from 5995299 to 6fd833c Compare March 7, 2025 12:53
@ecdsa ecdsa merged commit 764cc78 into spesmilo:master Mar 7, 2025
2 of 13 checks passed
@f321x f321x deleted the jit-update-unfunded-state branch March 7, 2025 12:56
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