thunderhub icon indicating copy to clipboard operation
thunderhub copied to clipboard

[Feature request] Disable channel

Open Darth-Coin opened this issue 3 years ago • 2 comments

Is your feature request related to a problem? Yes, if I have a channel open towards my node and I do not want it, but still don't want to close it.

Describe the solution you'd like A simple button in channel details that I can disable the channel for in and out txs.

Darth-Coin avatar Jan 02 '22 17:01 Darth-Coin

I would also like this feature. A UI to disable a channel would be helpful in disabling a channel during the setup of a swap so that no transactions are forwarded through a not fully setup channel

DrWalrus1 avatar Jan 10 '22 10:01 DrWalrus1

I'd like this feature too.

I have a branch to implement it. Before I finalize the code, I have a some questions for you @apotdevin

  1. do you want this feature?
  2. if so, where in the UI do you want it? I could see: a) in the /channels table (see image below for what that would look like). It gets kind of busy in that table. The nice thing, though, is that being able to sort by disabled lets you quickly sort by "disabled". I'd propose that when you click the checkbox, a "Confirm/Cancel" modal opens. b) in the Edit channel ("Update Channel Details") modal add a checkbox for "disable" and that data is included when the fee policy update is sent.
image

Let me know if you prefer (a), (b), or a different way or if you don't like the feature. If you're not sure I can go ahead and implement one of the above and you can take a look.

andrewbaine avatar Jul 27 '22 22:07 andrewbaine