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.
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.