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

Activity: investigate adding paging #2671

Open
kaloudis opened this issue Dec 23, 2024 · 0 comments
Open

Activity: investigate adding paging #2671

kaloudis opened this issue Dec 23, 2024 · 0 comments
Assignees
Labels
Activity Activity view CLNRest LND Issues specific to LND nodes

Comments

@kaloudis
Copy link
Contributor

Instead of calling all invoices, txs, and payments at once on the Activity view, we should use the index_offset parameters to do paging.

https://lightning.engineering/api-docs/api/lnd/lightning/list-payments/
https://lightning.engineering/api-docs/api/lnd/lightning/list-invoices/
https://lightning.engineering/api-docs/api/lnd/lightning/get-transactions/

The biggest challenge is putting the data together. Ideally LND would have a single Activity endpoint we could use

We could potentially be able to do something similar for CLNRest using the custom SQL calls.

Related issues:
#2465
#2390

@kaloudis kaloudis added LND Issues specific to LND nodes CLNRest Activity Activity view labels Dec 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Activity Activity view CLNRest LND Issues specific to LND nodes
Projects
None yet
Development

No branches or pull requests

2 participants