mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-12-23 07:08:13 +00:00
Edited ch07.asciidoc with Atlas code editor
This commit is contained in:
parent
2c54ec448d
commit
c85b217907
@ -431,7 +431,7 @@ When reading Bitcoin Script, remember that the condition being evaluated comes _
|
||||
|
||||
((("guard clauses")))Unlike an +IF+ clause, which offers alternative execution paths, the +VERIFY+ suffix acts as a _guard clause_, continuing only if a precondition is met.
|
||||
|
||||
For example, the following script requires Bob's signature and a preimage (secret) that produces a specific hash. Both conditions must be satisfied to unlock:
|
||||
For example, the following script requires Bob's signature and a pre-image (secret) that produces a specific hash. Both conditions must be satisfied to unlock:
|
||||
|
||||
.A redeem script with an +EQUALVERIFY+ guard clause.
|
||||
----
|
||||
|
Loading…
Reference in New Issue
Block a user