1
0
mirror of https://github.com/bitcoinbook/bitcoinbook synced 2024-11-25 09:28:25 +00:00

Edited ch07_authorization-authentication.adoc with Atlas code editor

This commit is contained in:
claylock 2023-10-26 14:35:29 +00:00
parent 2a5f62efb1
commit 03dd2661d7

View File

@ -199,6 +199,11 @@ valid. Not only have we shown a valid transaction output script, but
the resulting UTXO could be spent by anyone with the arithmetic skills the resulting UTXO could be spent by anyone with the arithmetic skills
to know that the number 2 satisfies the script. to know that the number 2 satisfies the script.
[[simplemath_script]]
.Bitcoin's script validation doing simple math
image::images/mbc3_0702.png["TxScriptSimpleMathExample"]
[TIP] [TIP]
==== ====
Transactions are valid if the Transactions are valid if the
@ -213,9 +218,6 @@ opcode). For details, see https://oreil.ly/J2DXt[Bitcoin
Wiki's script page]. Wiki's script page].
==== ====
[[simplemath_script]]
.Bitcoin's script validation doing simple math
image::images/mbc3_0702.png["TxScriptSimpleMathExample"]
The following is a slightly more complex script, which calculates The following is a slightly more complex script, which calculates
2 + 7 3 + 1. Notice that when the script contains several operators in 2 + 7 3 + 1. Notice that when the script contains several operators in