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

v1.15: removes the merkle root from shreds binary (backport of #29427) #30344

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 15, 2023

This is an automatic backport of pull request #29427 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

#29445
makes it unnecessary to embed merkle roots into shreds binary. This
commit removes the merkle root from shreds binary.

This adds 20 bytes to shreds capacity to store more data.
Additionally since we no longer need to truncate the merkle root, the
signature would be on the full 32 bytes of hash as opposed to the
truncated one.

Also signature verification would now effectively verify merkle proof as
well, so we no longer need to verify merkle proof in the sanitize
implementation.

(cherry picked from commit cf0a149)
@behzadnouri behzadnouri requested a review from jbiseda February 15, 2023 21:19
@behzadnouri behzadnouri added the automerge Merge this Pull Request automatically once CI passes label Feb 15, 2023
@mergify mergify bot merged commit dd9a7c6 into v1.15 Feb 15, 2023
@mergify mergify bot deleted the mergify/bp/v1.15/pr-29427 branch February 15, 2023 23:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants