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

Clarify merkle_root documentation #646

Merged
merged 1 commit into from
Feb 18, 2019
Merged

Clarify merkle_root documentation #646

merged 1 commit into from
Feb 18, 2019

Conversation

wemeetagain
Copy link
Contributor

This function is used to get the merkle root of some block roots which are themselves hashes, so the leaves do not need to be rehashed.
Unfortunately, it's easy to assume that a merkle_root function would hash its leaves, so it should be clarified somehow.

This function is used to get the merkle root of some block roots which are themselves hashes, so the leaves do not need to be rehashed.
Unfortunately, it's easy to assume that a merkle_root function would hash its leaves, so it should be clarified.
@hwwhww hwwhww merged commit 5fbbb4f into ethereum:dev Feb 18, 2019
wemeetagain added a commit to wemeetagain/prysm that referenced this pull request Feb 19, 2019
wemeetagain added a commit to wemeetagain/prysm that referenced this pull request Feb 19, 2019
wemeetagain added a commit to wemeetagain/prysm that referenced this pull request Feb 19, 2019
nisdas pushed a commit to prysmaticlabs/prysm that referenced this pull request Feb 20, 2019
* Remove leaf hashing in MerkleRoot function

See ethereum/consensus-specs#646 for clarification.

* Add comment clarifying leaf hashing removal
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.

None yet

3 participants