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

opening: Do not forget zeroconf channels due to funding timeout #8149

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cdecker
Copy link
Member

@cdecker cdecker commented Mar 7, 2025

This addresses #8147.

We used to forget channels if a) we were the fundee, i.e., had no
stake in the channel, and b) the channel did not confirm in 2016
blocks / 2 weeks.

The first implication is no longer true: with zeroconf support we
can have a stake in a channel, despite not being confirmed yet. With
this assumption no longer true we now need to explicitly check that we
own no funds in the channel on top of checking if we had contributed
to the funding.

cdecker added 2 commits March 7, 2025 17:04
Changelog-Fixed opening: We no longer forget zeroconf channels in which we own funds due to a confirmation timeout
@cdecker cdecker force-pushed the 20250307-fix-forget-zeroconf branch from f0c516e to 1529f32 Compare March 7, 2025 16:04
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.

1 participant