lightninglabs / lightninglabs/chantools

Chantools for postgres

Open
#53 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
239
Forks
46
Avg merge
1d 6h
Merged PRs (30d)
6

Description

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 the `channeldb_kv` to see if I can understand the contents but it is just a key-value table with binary (not human readable) data in the `key` and `value` 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.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the chantools dropchannelgraph command and the PostgreSQL-backed channeldb_kv table described in the issue. Determine whether an equivalent supported operation or SQL guidance can be provided; done requires a clear answer for PostgreSQL-backed lnd users.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, postgresql
Domain
databases
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.