mirror of
https://github.com/bitcoinbook/bitcoinbook
synced 2025-01-22 21:51:10 +00:00
Edited ch06.asciidoc with Atlas code editor
This commit is contained in:
parent
ca22de23df
commit
b53e4dbdae
@ -444,7 +444,7 @@ As we saw in the step-by-step example in <<simplemath_script>>, when this script
|
|||||||
.Bitcoin's script validation doing simple math
|
.Bitcoin's script validation doing simple math
|
||||||
image::images/mbc2_0604.png["TxScriptSimpleMathExample"]
|
image::images/mbc2_0604.png["TxScriptSimpleMathExample"]
|
||||||
|
|
||||||
|
[role="pagebreak-before"]
|
||||||
The following is a slightly more complex script, which calculates ++2 + 7 -- 3 + 1++. Notice that when the script contains several operators in a row, the stack allows the results of one operator to be acted upon by the next operator:
|
The following is a slightly more complex script, which calculates ++2 + 7 -- 3 + 1++. Notice that when the script contains several operators in a row, the stack allows the results of one operator to be acted upon by the next operator:
|
||||||
|
|
||||||
----
|
----
|
||||||
|
Loading…
Reference in New Issue
Block a user