Skip to content

Feat/dev branch#86

Merged
ayshadogo merged 2 commits into
Dfunder:mainfrom
memplethee-lab:feat/DevBranch
Jun 23, 2026
Merged

Feat/dev branch#86
ayshadogo merged 2 commits into
Dfunder:mainfrom
memplethee-lab:feat/DevBranch

Conversation

@memplethee-lab

Copy link
Copy Markdown
Contributor

Closes #85

- Create worker/src/db/cursor_store.rs with get_cursor and save_cursor
- Store cursors in stellar_cursors SQLite table
- Initialize new addresses with cursor 'now'
- Pass cursor to Horizon's get_payments for pagination
- Add Horizon client to worker to avoid inter-crate dependency issues
- Ensure cursors persist across restarts, preventing duplicate processing

@ayshadogo ayshadogo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your efforts sir

@ayshadogo ayshadogo merged commit fc3e480 into Dfunder:main Jun 23, 2026
2 checks passed
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.

Implement Cursor-Based Pagination for Horizon Polling

2 participants