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

wire: add msgutreexoproof and msggetutreexoproof #232

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

kcalvinalvin
Copy link
Contributor

Instead of a msgutreexoblock, we prefer having a separate msgblock and a
msgutreexoproof. This separates out the utreexo data from the msgblock
which allows having a utreexo bridge node which can opt to not save the
blocks.

MsgGetUtreexoProof allows nodes to request for specific data in a
utreexo proof. This lets nodes to omit requesting for hashes that it's
caching and thus allows for bandwidth savings.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Instead of a msgutreexoblock, we prefer having a separate msgblock and a
msgutreexoproof. This separates out the utreexo data from the msgblock
which allows having a utreexo bridge node which can opt to not save the
blocks.
MsgGetUtreexoProof allows nodes to request for specific data in a
utreexo proof. This lets nodes to omit requesting for hashes that it's
caching and thus allows for bandwidth savings.
@kcalvinalvin kcalvinalvin merged commit 40330b1 into utreexo:main Jan 3, 2025
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