Skip to content

Make Chantools useable with LNDs new native SQL schema #243

Description

@ziggie1984

Chantools currently assumes LND stores its data in bbolt key-value files (channel.db, graph.db, wallet.db, macaroons.db, etc.). LND is moving to a native SQL backend (SQLite/Postgres) where channel, graph, invoice and payment data live in relational tables rather than in the kvdb bucket structure. On a node running native SQL there is no channel.db file for chantools to open, so all commands that operate on the channel database currently break for those users.

We should make chantools able to read from (and where applicable write to) LND's native SQL databases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Fields

    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions