mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2024-11-26 09:58:22 +00:00
Edited ch07_authorization-authentication.adoc with Atlas code editor
This commit is contained in:
parent
1e5895a1a2
commit
c195ae4045
@ -156,7 +156,7 @@ can produce the +TRUE+ result that signifies a valid ((("scripts", "stack", star
|
|||||||
|
|
||||||
===== A simple script
|
===== A simple script
|
||||||
|
|
||||||
Now let's apply what we've learned about scripts and stacks to some simple examples.
|
Now let's ((("scripts", "input/output", "examples of", id="script-input-output-example")))((("input scripts", "examples of", id="input-script-example")))((("output scripts", "examples of", id="output-script-example")))apply what we've learned about scripts and stacks to some simple examples.
|
||||||
|
|
||||||
As we will see in <<simplemath_script>>, the script +2 3 OP_ADD 5 OP_EQUAL+
|
As we will see in <<simplemath_script>>, the script +2 3 OP_ADD 5 OP_EQUAL+
|
||||||
demonstrates the arithmetic addition operator +OP_ADD+, adding two
|
demonstrates the arithmetic addition operator +OP_ADD+, adding two
|
||||||
@ -228,7 +228,7 @@ the next operator:
|
|||||||
|
|
||||||
Try validating the preceding script yourself using pencil and paper.
|
Try validating the preceding script yourself using pencil and paper.
|
||||||
When the script execution ends, you should be left with a +TRUE+ value
|
When the script execution ends, you should be left with a +TRUE+ value
|
||||||
on the stack.
|
on the ((("scripts", "input/output", "examples of", startref="script-input-output-example")))((("input scripts", "examples of", startref="input-script-example")))((("output scripts", "examples of", startref="output-script-example")))stack.
|
||||||
|
|
||||||
[[script_exec]]
|
[[script_exec]]
|
||||||
===== Separate execution of output and input scripts
|
===== Separate execution of output and input scripts
|
||||||
|
Loading…
Reference in New Issue
Block a user