From 03dd2661d7631dd57f28ae93d5f5cca95b171e7d Mon Sep 17 00:00:00 2001 From: claylock Date: Thu, 26 Oct 2023 14:35:29 +0000 Subject: [PATCH] Edited ch07_authorization-authentication.adoc with Atlas code editor --- ch07_authorization-authentication.adoc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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