Skip to content

Commit

Permalink
Fixed typo in entropy calculation equation
Browse files Browse the repository at this point in the history
  • Loading branch information
kiltsonfire authored Feb 9, 2024
1 parent 84f77bf commit ef55a8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qip-0006.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ the condition $S_{int} > S_{target}$ is met.

The transaction entropy for a set of transactions included in block $i$ is computed as follows:

$$ x_{tx,i,j} = log(k - hash_{tx,i,j}) $$
$$ x_{tx,i,j} = log(k/hash_{tx,i,j}) $$

$$ S_{tx,i} = \sum_{l=i-m}^{i} \frac{1}{2^{l}} \times e^{-S_{int,i}} \sum_{j=0}^{q_i} \frac{x_{tx,i,j}}{e^{-x_{tx,i,j}}} $$

Expand Down

0 comments on commit ef55a8e

Please sign in to comment.