-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: change position calculation in MTparams for mergemining (#6339)
Description --- Changes the way we calculate the position of the hash from the Merkle tree params Motivation and Context --- Its possible to have the same proof for different sized merkle trees. Verification needs to verify the total size from the decoded merkle tree params What process can a PR reviewer use to test or verify this change? --- Ensure it's the same as here: https://github.com/SChernykh/p2pool/blob/2c549f61a46a5f4f0be7c631dff6e928f73a52e2/src/merkle.cpp#L341-L369
- Loading branch information
1 parent
34db82d
commit 1d6e0d8
Showing
2 changed files
with
40 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters