Skip to content

Handle unfunded zeroconf channels in update_unfunded_state#9590

Merged
ecdsa merged 1 commit intospesmilo:masterfrom
f321x:jit-update-unfunded-state
Mar 7, 2025
Merged

Handle unfunded zeroconf channels in update_unfunded_state#9590
ecdsa merged 1 commit intospesmilo:masterfrom
f321x:jit-update-unfunded-state

Conversation

@f321x
Copy link
Copy Markdown
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

Comment thread electrum/lnchannel.py Outdated
Comment thread electrum/lnchannel.py
@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