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

Allow to reserve coop-close for currently offline peers and/or with pending htlcs, up to timeout period #6911

Closed
GordianLN opened this issue Sep 12, 2022 · 3 comments
Labels
channel closing Related to the closing of channels cooperatively and uncooperatively enhancement Improvements to existing features / behaviour feature request Requests for new features

Comments

@GordianLN
Copy link
Contributor

Background

I just learnt that cln allows to request a coop close for an offline peer, that will be actioned as soon as the peer comes back online, depending on a set timeout (if 0, wait indefinitely) ending which, the coop-close request will turn into a force close. Same goes with pending htlcs, the coop-close feature will disable all routing and wait for pendings to resolve, then issue the coop close.
This is something missing from lnd, and that is not present as feature request in the issues, at least as far as my search went (closest I found, is "coop close pending open channel").

Your environment

not relevant

Steps to reproduce

not relevant

Expected behaviour

Add a configurable timeout (lnd.conf or as cli paramenter) to set a user-configured timeout, and have the above behaviour available

Actual behaviour

Currently this feature is not available

@MangoTreeNode
Copy link

Thumbs up for this.

@Bitcoinite
Copy link

Yes, please!

@Roasbeef Roasbeef added feature request Requests for new features enhancement Improvements to existing features / behaviour channel closing Related to the closing of channels cooperatively and uncooperatively labels Sep 12, 2022
@Roasbeef
Copy link
Member

Fixed by #8167

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
channel closing Related to the closing of channels cooperatively and uncooperatively enhancement Improvements to existing features / behaviour feature request Requests for new features
Projects
None yet
Development

No branches or pull requests

4 participants