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

Add Bookkeeper Support #566

Open
ShahanaFarooqui opened this issue Jan 27, 2025 · 1 comment
Open

Add Bookkeeper Support #566

ShahanaFarooqui opened this issue Jan 27, 2025 · 1 comment
Assignees
Labels
component::plugin enhancement New feature or request

Comments

@ShahanaFarooqui
Copy link
Collaborator

Currently, Greenlight does not support integration with the Bookkeeper plugin, which is an accounting system designed for Core Lightning nodes. By adding Bookkeeper support, Greenlight nodes would gain enhanced accounting capabilities, enabling users to track and manage financial data (e.g., payments, invoices, forwards, and channel balances) more effectively. This would provide users with better insights into their node's financial activity and improve overall node management.

@cdecker
Copy link
Collaborator

cdecker commented Feb 4, 2025

We are currently discussing on how to enable persistence for bkpr's datastore. For context: bkpr creates its own sqlite3 database in the lightning-dir on startup, and then starts tracking funds by annotating coin movements with additional information.

Since Greenlight purges the slots that nodes are scheduled in after shutdown, to make the slot available to other nodes, we also lose the bkpr DB. We have a couple of options, and will either store the DB separately, merge the bkpr database with the node database, or reimplement bkpr with better integration into Greenlight.

Stay tuned 📻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component::plugin enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants