Skip to content

Add PaginatedKVStore support to VssStore#864

Open
benthecarman wants to merge 1 commit intolightningdevkit:mainfrom
benthecarman:paginated-vss
Open

Add PaginatedKVStore support to VssStore#864
benthecarman wants to merge 1 commit intolightningdevkit:mainfrom
benthecarman:paginated-vss

Conversation

@benthecarman
Copy link
Copy Markdown
Contributor

@benthecarman benthecarman commented Apr 1, 2026

Implement PaginatedKVStore and PaginatedKVStoreSync traits for VssStore, enabling paginated key listing via cursor-based pagination using PageToken.

At the moment VSS returns them in key order which is not ideal. We would need to add to the VSS server timestamps so they are returned in creation order. Ideally though after that change, it wouldn't require any changes on the client or in here because we have already hooked up the pagination. Curious on @tankyleo's thoughts here.

After this we'll have pagination for all the kv stores and can move forward with using it inside of ldk-node

Implement PaginatedKVStore and PaginatedKVStoreSync traits for
VssStore, enabling paginated key listing via cursor-based
pagination using PageToken.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@ldk-reviews-bot
Copy link
Copy Markdown

ldk-reviews-bot commented Apr 1, 2026

👋 Thanks for assigning @tankyleo as a reviewer!
I'll wait for their review and will help manage the review process.
Once they submit their review, I'll check if a second reviewer would be helpful.

@benthecarman benthecarman requested review from tankyleo and tnull April 1, 2026 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants