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

#176 Optimise Angor Indexing #24

Merged
merged 2 commits into from
Jan 2, 2025
Merged

Conversation

nostrdev-com
Copy link
Collaborator

@nostrdev-com nostrdev-com commented Jan 2, 2025

This PR changes the mechanism which allows us to track the progress of the Angor transaction indexing.

Instead of writing every single block that has been indexed into the database, we only save the latest height.

Depending on the latest block height, we only retrieve the unindexed blocks and thus remove a lot of redundant read operations.

@nostrdev-com nostrdev-com merged commit 3dcf0fc into master Jan 2, 2025
10 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.

1 participant