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

Resuming indexing consistently fails with "Could not find outpoint in index" #505

Closed
veryordinally opened this issue Sep 9, 2022 · 1 comment

Comments

@veryordinally
Copy link
Collaborator

After we implemented #496, resuming indexing consistently fails on the main chain starting from block heights above 150000 or so, that is if we run ord index --height-limit 150000 (starting with no index) and then run ord index again, it immediately fails with:

[2022-09-09T16:31:55Z INFO  ord::index] Block 149999 at 2011-10-20 13:40:14 UTC with 17 transactions…
[2022-09-09T16:31:55Z INFO  ord::index] Block receiver disconnected: sending on a closed channel
error: Could not find outpoint in index

Resuming indexing works for smaller block heights.

It seems the index is inconsistent in some way. I had not seen this behavior before we implemented #496

@casey
Copy link
Collaborator

casey commented Sep 9, 2022

Fixed! I made an off-by-one error in #495.

@casey casey closed this as completed Sep 9, 2022
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

No branches or pull requests

2 participants