Skip to content

Commit 3fb869f

Browse files
committed
Add PaginatedKVStore traits upstreamed from ldk-server
Allows for a paginated KV store for more efficient listing of keys so you don't need to fetch all at once. Uses monotonic counter or timestamp to track the order of keys and allow for pagination. The traits are largely just copy-pasted from ldk-server. This also adds a PaginatedKVStoreSyncAdapter/PaginatedKVStoreAdapter so you can use a paginated kv store in contexts that expect a regular key value store. Adds some basic tests that were generated using claude code.
1 parent 3fee76b commit 3fb869f

File tree

2 files changed

+601
-2
lines changed

2 files changed

+601
-2
lines changed

0 commit comments

Comments
 (0)