From ef55a8e4f06d258a5d504b2551ceb575d7470b32 Mon Sep 17 00:00:00 2001 From: kiltsonfire <106615399+kiltsonfire@users.noreply.github.com> Date: Fri, 9 Feb 2024 09:56:59 -0600 Subject: [PATCH] Fixed typo in entropy calculation equation --- qip-0006.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qip-0006.md b/qip-0006.md index 788a3c1..ea14915 100644 --- a/qip-0006.md +++ b/qip-0006.md @@ -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}}} $$