1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-25 17:38:26 +00:00

equations and follow-up

This commit is contained in:
Clare Laylock 2023-11-01 13:26:24 -04:00
parent 6ff1100d59
commit 27b324da74
2 changed files with 4 additions and 6 deletions

View File

@ -194,9 +194,9 @@ The validation software combines the scripts:
----
As we see in <<simplemath_script>>, when
this script is executed, the result is +OP_TRUE+, making the transaction
valid. Not only have we shown a valid transaction output script, but
the resulting UTXO could be spent by anyone with the arithmetic skills
this script is executed, the result is +OP_TRUE+, making the transaction valid. Although this is a valid transaction
output script, note that the resulting UTXO can be spent by anyone with
the arithmetic skills
to know that the number 2 satisfies the script.

View File

@ -56,7 +56,7 @@ signing key is the user's private key. The result is the signature:
[latexmath]
++++
\begin{equation}
\(Sig = F_{sig}(F_{hash}(m), x)\)
(Sig = F_{sig}(F_{hash}(m), x))
\end{equation}
++++
@ -878,7 +878,6 @@ integers are modulus p:
s = k^{-1} (Hash(m) + x \times R)
\end{equation}
++++
_s_ = __k__^-1^ (__Hash__(__m__) + __x__ × __R__)
where:
@ -899,7 +898,6 @@ signature creation):
K = s^{-1} \times Hash(m) \times G + s^{-1} \times R \times X
\end{equation}
++++
_K_ = __s__^-1^ × __Hash__(__m__) × _G_ + __s__^-1^ × _R_ × _X_
where: