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

Search from TSV in ord wallet identify #729

Merged
merged 17 commits into from
Oct 29, 2022

Conversation

raphjaph
Copy link
Collaborator

No description provided.

@casey casey changed the title missing some optimization Search from TSV in ord wallet identify Oct 28, 2022
@casey casey marked this pull request as ready for review October 28, 2022 21:52
@casey
Copy link
Collaborator

casey commented Oct 28, 2022

@raphjaph I think this is ready to go! I refactored the code so that every iteration of the loop, it advances through the needles (ordinals) list or haystack list (ranges), and stops when it runs out of either.

@casey casey linked an issue Oct 28, 2022 that may be closed by this pull request
@raphjaph
Copy link
Collaborator Author

Love the needles in haystacks framing. Also smart not to include the offset of the ordinal in the output, which makes it very fast now.

LGTM

@casey casey merged commit ea096e8 into ordinals:master Oct 29, 2022
@raphjaph raphjaph deleted the wallet-identify-names branch December 1, 2022 22:42
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.

Allow searching for specific ordinals
2 participants