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

chainhash, wire: implement tagged hashes for utreexo leaves #111

Merged

Conversation

kcalvinalvin
Copy link
Contributor

For versioning purposes, we want to prepend the version info before the
leaf data when generating the hash. Instead of sha256 used in bip340, we
use sha512 as it's benchmarked to perform better for leafdatas.

For versioning purposes, we want to prepend the version info before the
leaf data when generating the hash. Instead of sha256 used in bip340, we
use sha512 as it's benchmarked to perform better for leafdatas.
@kcalvinalvin kcalvinalvin force-pushed the 2024-01-09-tagged-hashes-for-leafdata branch from 2b95f9f to f3d9d57 Compare January 10, 2024 05:25
@kcalvinalvin kcalvinalvin merged commit 979273d into utreexo:main Jan 10, 2024
2 checks passed
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.

1 participant