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

RPC/CLI: Allow abandonchannel to be used in regular build #5335

Merged
merged 2 commits into from
Jun 23, 2021

Conversation

guggero
Copy link
Collaborator

@guggero guggero commented May 26, 2021

An often requested feature is to use the abandonchannel API in regular
builds and not only dev builds to get rid of stuck channels that had
their funding transaction invalidated.
The initial reason for putting the call behind the build flag was a
safety concern to make sure nobody uses this on active channels by
accident.

An often requested feature is to use the abandonchannel API in regular
builds and not only dev builds to get rid of stuck channels that had
their funding transaction invalidated.
The initial reason for putting the call behind the build flag was a
safety concern to make sure nobody uses this on active channels by
accident.
Copy link
Collaborator

@carlaKC carlaKC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good, only question from my side is whether it would be better to handle this in funding manager and watch for invalidation rather than surfacing a somewhat risky call (even if people do --know_what_im_doing?

@wpaulino
Copy link
Contributor

Change looks good, only question from my side is whether it would be better to handle this in funding manager and watch for invalidation rather than surfacing a somewhat risky call (even if people do --know_what_im_doing?

I agree, this is already being tracked in #386. This serves as a temporary solution until that is implemented, and we should probably revert this change after.

@Roasbeef Roasbeef merged commit 1287328 into lightningnetwork:master Jun 23, 2021
@guggero guggero deleted the abandonchannel-no-dev branch June 25, 2021 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
channels rpc Related to the RPC interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants