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

Only request transactions when building ordinal index #851

Merged
merged 1 commit into from
Nov 28, 2022

Conversation

casey
Copy link
Collaborator

@casey casey commented Nov 25, 2022

This isn't strictly correct, since we should also request transactions when we're looking for inscriptions, but this is a simple first step towards fixing #838. With this change, building the index drops from ~1.5 hours to ~2 minutes on my macbook, and from ~12 hours to 9 minutes on ordinals.com.

@casey casey merged commit 1594b42 into master Nov 28, 2022
@casey casey deleted the only-fetch-transactions-when-needed branch November 28, 2022 18:33
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.

None yet

2 participants