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

Drop ChannelMonitors for inbound, no-local-funding channels after they time out #3384

Open
TheBlueMatt opened this issue Oct 25, 2024 · 1 comment
Milestone

Comments

@TheBlueMatt
Copy link
Collaborator

We continually have issues where users have channels that were never funded (the funding transaction never confirmed/was conflicted) and because we don't see the channel close, we never allow the ChannelMonitors to be pruned, leaving a Balance::ClaimableOnChannelClose lying around forever. Properly pruning these channels for channels where we contributed some funds (either because the channel was outbound-v1, we received some push_msats for inbound-v1, or a dual-funded v2) takes tracking the inputs for the funding tx and actually detecting a conflict which makes funding lock-in impossible, but we could at least do the trivial case where we don't have any funds to recover and the channel has timed out so we FC'd it anyway.

@TheBlueMatt TheBlueMatt added this to the 0.1 milestone Oct 25, 2024
@TheBlueMatt
Copy link
Collaborator Author

Optimistically tagging 0.1 in the hopes someone finds the time to pick it up (and it shows up as important), but if it doesn't make it so be it and we can move it to a friday issue.

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

No branches or pull requests

1 participant