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

Consider storing diversifier indices as two INTEGERS: (high 56 bits, low 32 bits) #1731

Open
daira opened this issue Mar 4, 2025 · 0 comments
Labels
C-tech-debt Category: Technical debt that needs to be paid off enhancement

Comments

@daira
Copy link
Contributor

daira commented Mar 4, 2025

This representation would be normalized (unlike the current one that requires an additional integer overlapping the bits of the big-endian index), easily sortable in SQL, and easy to check in SQL that the high bits are all 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-tech-debt Category: Technical debt that needs to be paid off enhancement
Projects
None yet
Development

No branches or pull requests

1 participant