Skip to content

Commit 6b9649b

Browse files
authored
Merge pull request #792 from Chia-Network/required-iters
fix typo in `expected_iters` expression
2 parents 1e7258f + 167b339 commit 6b9649b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/consensus/signage-and-infusion-points.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ sp_quality_string = sha256(quality_string + cc_signage_point)
5151
required_iterations = (difficulty
5252
* difficulty_constant_factor
5353
* int.from_bytes(sp_quality_string, "big", signed=False)
54-
// pow(2, 256) * expected_plot_size(size))
54+
// (pow(2, 256) * expected_plot_size(size)))
5555
```
5656

5757
The difficulty constant factor is based on the initial constants of the blockchain. For Chia, it is _2^67_. The difficulty varies per epoch, as explained in [Section 3.11](/epoch-and-difficulty) 'Section 3.11: Epochs and Difficulty Adjustment'). As you can see, the `sp_quality_string` is converted into a random number between 0 and 1, by dividing it by _2^256_, and then multiplied by the plot size.

0 commit comments

Comments
 (0)