-
Notifications
You must be signed in to change notification settings - Fork 906
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
Feature suggestion: Better inspection of closed channels #4734
Comments
@ALL, most of the data could be made available with an optional parameter to filter the peer channels by state (and I am happy to add that to issue #4729), but there would be two caveats with that approach:
What is your advice? |
I don't remember what are the data in the database about the closed channels, maybe @cdecker can help here. Or maybe you can tell MySQL to describe the table. |
Doing the documentation changes for this, I noticed there is a "scratch" tx id which I guess would be equivalent to @urza's onchain tx id of caveat 2 above. So I think the big points are covered at least. If I've misunderstood anything, I stand to be corrected... thanks! |
It's been recommended that this be made a plugin, and the use case is such that it should list historical data (older than 100 blocks), so it's really out of scope for inclusion with issue #4729. |
Small correction: we no longer delete entries in the |
Thanks for the note @cdecker. I am working on a plugin that will implement a GraphQL interface for querying the data that the user is interested in, which (in light of your note) should satisfy this feature request nicely. |
Has there been any new development? What is the best way to inspect closed channels now? One of my channels was closed and I would like to know (using CLI):
|
There is a PR working in progress #5022 after we have this one, I will try to include also the close channels with another PR |
Hello friends, was there some development in this area? Is there some way how to better inspect closed channels? |
Hope to have this land #5568 in this release and I will work on the close channel after that :-) |
Inspecting closed channels is currently not easy with the cli. There is some information in db, but putting it together this way is obviously not ideal.
I noticed that this was already mentioned somewhere by @vincenzopalazzo but can't find it.
Ideally I would like to be able to get this with clightning-cli somehow:
The text was updated successfully, but these errors were encountered: