Made changes to ch05.asciidoc

pull/161/head
myarbrough@oreilly.com 10 years ago
parent 78d1a503d5
commit fa4422ec08

@ -299,7 +299,7 @@ In <<simplemath_script>>, the script +2 3 OP_ADD 5 OP_EQUAL+ demonstrates the ar
.Bitcoin's script validation doing simple math
image::images/msbt_0502.png["TxScriptSimpleMathExample"]
The following is a slightly more complex script, which calculates +((2 + 3) * 2) + 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:
----
2 3 OP_ADD 2 OP_MUL 1 OP_ADD 11 OP_EQUAL

Loading…
Cancel
Save