diff --git a/ch07_authorization-authentication.adoc b/ch07_authorization-authentication.adoc index 0e6b8e0a..e2ccce14 100644 --- a/ch07_authorization-authentication.adoc +++ b/ch07_authorization-authentication.adoc @@ -958,7 +958,7 @@ CHECKSEQUENCEVERIFY]. === Scripts with Flow Control (Conditional Clauses) -One of the more +One of((("scripts", "flow control", id="script-flow")))((("flow control in scripts", id="flow-control-script")))((("conditional clauses in scripts", id="conditional-clause-script"))) the more powerful features of Bitcoin Script is flow control, also known as conditional clauses. You are probably familiar with flow control in various programming languages that use the construct +IF...THEN...ELSE+. @@ -1156,7 +1156,7 @@ Using this construct, we can build redeem scripts with tens or hundreds of execution paths, each offering a different way to redeem the UTXO. To spend, we construct an input script that navigates the execution path by putting the appropriate +TRUE+ and +FALSE+ values on the stack -at each flow control point. +at each flow control((("scripts", "flow control", startref="script-flow")))((("flow control in scripts", startref="flow-control-script")))((("conditional clauses in scripts", startref="conditional-clause-script"))) point. === Complex Script Example