Skip to content
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

db: add sqlite/postgres as a database backend option #95

Closed
Roasbeef opened this issue May 22, 2023 · 0 comments · Fixed by #96
Closed

db: add sqlite/postgres as a database backend option #95

Roasbeef opened this issue May 22, 2023 · 0 comments · Fixed by #96
Labels

Comments

@Roasbeef
Copy link
Member

Today we require etcd, which might be a bit more exotic to some devs. We should add support for sqlite+postgres via sqlc as we've done in some other projects.

We only need to store the onion private key, and also the macaroon root keys. With taproot assets, we have an implementation of the macaroon storage, so we can use that: https://github.com/lightninglabs/taproot-assets/blob/main/tapdb/macaroons.go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant