-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Fix ordering for reinscriptions and show all reinscriptions for sat #2279
Merged
raphjaph
merged 8 commits into
ordinals:master
from
veryordinally:reinscriptions-ordering
Jul 17, 2023
Merged
Fix ordering for reinscriptions and show all reinscriptions for sat #2279
raphjaph
merged 8 commits into
ordinals:master
from
veryordinally:reinscriptions-ordering
Jul 17, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Renamed inscriptions_on_output to inscriptions_on_output_unordered to make it obvious that functions returns an unordered list of inscriptions - Use inscriptions_on_output_ordered by default to maintain compatibility with pre-reinscription era - first inscription returned on output should be the chronologically first inscription
- Fix bug in assignment of reinscription sequence numbers - Show all inscriptions for a given sat, analogous to the format for an output
See raphjaph@9834059 for where bug was introduced |
raphjaph
reviewed
Jul 16, 2023
raphjaph
reviewed
Jul 16, 2023
raphjaph
reviewed
Jul 16, 2023
raphjaph
reviewed
Jul 16, 2023
raphjaph
approved these changes
Jul 17, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added some comments to remove the +1 the next time we refactor the database.
sidmorizon
added a commit
to OneKeyHQ/ord
that referenced
this pull request
Aug 1, 2023
* Add contributing section (ordinals#2261) * Implement clean index shutdown to prevent index corruption (with clippy updates for Rust 1.71) (ordinals#2275) * gracefully shutdown index update thread to prevent index corruption * Use `next_back()` instead of `rev().next()` for rust 1.71 --------- Co-authored-by: victorkirov <victor.kirov@gmail.com> * Modify `ord list` output to include the end of each range (ordinals#1998) * Don't create default data directory if --index overrides it (ordinals#1991) * Fix docs inconsistency (ordinals#2276) * Fix ordering for reinscriptions and show all reinscriptions for sat (ordinals#2279) * Add satpoint and address to index export (ordinals#2284) * Update bitcoin dependencies (ordinals#2281) * Update redb (ordinals#2294) * Add retry to fetcher (ordinals#2297) * Clean up deploy scripts (ordinals#2298) * Fix justfile recipe (ordinals#2299) * Release 0.8.1 (ordinals#2300) * Add `amount` field to `wallet inscriptions` output. (ordinals#1928) * Fix dust limit for padding in `TransactionBuilder` (ordinals#1929) * Inform user when redb starts in recovery mode (ordinals#2304) * Fix remote RPC wallet commands (ordinals#1766) * Select multiple utxos (ordinals#2303) Co-authored-by: Greg Martin <gm7t2@gmail.com> * feat: add outputs api --------- Co-authored-by: raph <raphjaph@protonmail.com> Co-authored-by: victorkirov <victor.kirov@gmail.com> Co-authored-by: gmart7t2 <49558347+gmart7t2@users.noreply.github.com> Co-authored-by: ordinally <11798624+veryordinally@users.noreply.github.com> Co-authored-by: Carlos Alaniz <carlosglvn93@gmail.com> Co-authored-by: Greg Martin <gm7t2@gmail.com>
Raylin51
pushed a commit
to 0xaklabs/ord
that referenced
this pull request
Aug 11, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR fixes a bug in the assignment of reinscription sequence numbers and allows to correctly order reinscriptions in chronological order. It also implements showing all inscriptions for a given sat (and not just a random one) in the correct sequence.