diff --git a/ch07_authorization-authentication.adoc b/ch07_authorization-authentication.adoc index 246efb8f..9054ef34 100644 --- a/ch07_authorization-authentication.adoc +++ b/ch07_authorization-authentication.adoc @@ -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 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] ==== Transactions are valid if the @@ -213,9 +218,6 @@ opcode). For details, see https://oreil.ly/J2DXt[Bitcoin 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 2 + 7 – 3 + 1. Notice that when the script contains several operators in