Skip to content

multi: add sql backend support #167

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ziggie1984
Copy link
Contributor

@ziggie1984 ziggie1984 commented Nov 22, 2024

Still draft needs a bit more cleanup, so work in progress.

Fixes: #53

@ziggie1984 ziggie1984 force-pushed the support-other-backends branch 3 times, most recently from 5cb7efe to 92fe44c Compare November 22, 2024 19:56
@ziggie1984 ziggie1984 force-pushed the support-other-backends branch from 92fe44c to c39af5d Compare November 22, 2024 20:44
@ziggie1984
Copy link
Contributor Author

example commands:

chantools walletinfo -r --db.backend sqlite --withrootkey --walletdb ./chain.sqlite

chantools walletinfo -r --db.backend postgres --db.postgres.dsn "postgres://lnd_migration:lnd_migration@localhost:5432/lnd_migration_db?sslmode=disable" --withrootkey

chantools -r --db.backend sqlite --db.sqlite.data-dir /regtest/data dropchannelgraph --single_channel 930186837164032 --node_identity_key 0356b85c9fd3d8da2e74e646e9f5b327d9b9c8538f0a817dcf72662fcad0cae49d

@ziggie1984 ziggie1984 force-pushed the support-other-backends branch from 10a8b28 to fff484a Compare November 23, 2024 01:14
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Chantools for postgres
1 participant