Skip to content

Activity: investigate adding paging #2671

Description

@kaloudis

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ActivityActivity viewCLNRestLNDIssues specific to LND nodes

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions