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

Show etched runes on /block #3352

Closed
casey opened this issue Mar 23, 2024 · 5 comments
Closed

Show etched runes on /block #3352

casey opened this issue Mar 23, 2024 · 5 comments

Comments

@casey
Copy link
Collaborator

casey commented Mar 23, 2024

Should be easy, since rune IDs start with the block ID

@lugondev
Copy link
Contributor

I dont know how to query by comparing IDs with the block ID.
What method is used to query in redb?

@casey
Copy link
Collaborator Author

casey commented Mar 25, 2024

You'll need to query RUNE_ID_TO_RUNE_ENTRY for a range, like this: RuneId{ block: BLOCK_NUMBER, tx: 0}..RuneId{block: BLOCK_NUMBER + 1, tx: u32::MAX}.

@lugondev

This comment was marked as resolved.

@lugondev
Copy link
Contributor

Let's me resolve this issue!

@cryptoni9n
Copy link
Collaborator

released as part of v0.18.2

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

3 participants