-
Notifications
You must be signed in to change notification settings - Fork 37
Chantools for postgres #53
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
Comments
There is no easy way to do this yet. Dropping the channel graph does mean removing certain top-level KV buckets (which could be done with an SQL query). But to get the node working again, the node's own channels need to be re-inserted into the graph afterwards, otherwise things won't work properly. And that can only be done with the custom business logic implemented in |
+1 for general postgres support |
[+ 1] I'm interested in this to be able to use: Where |
This is not an issue, but I cannot find a discussion tab for this project so I will ask my question here.
I am interested to perform a
chantools dropchannelgraph
but for a postgres-backed lnd. Is there any way to do this? I tried browsing through the postgres db especially thechanneldb_kv
to see if I can understand the contents but it is just a key-value table with binary (not human readable) data in thekey
andvalue
columns.If you can share maybe a SQL delete statement that I can run to get a similar effect to
chantools dropchannelgraph
it would be appreciated. Thanks.The text was updated successfully, but these errors were encountered: