Skip to content
Snippets Groups Projects
Commit 1bdad162 authored by Update Bot's avatar Update Bot
Browse files

Fix a serious miscalculation in the number of "share hashes" required.

Recall that "share hashes" are actually poorly named "share tree hashes".
Each is the root hash of a "share hash tree".

Previously we used the number of segments in a share to compute this.
However, there is one "share [tree] hash" *per share* not *per segment*.
After this change, we use the total number of shares instead and this lets us
calculate the correct number of needed hashes of this type.
parent 33f20393
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment