To get D with Stack Language on IDE
2 2 op_mul 3 3 op_mul op_add
My answer is: 02 op_2mul 03 03 OP_mul OP_Add
02 02 op_mul 03 03 OP_mul op_add
The answer should be:
2 2 OP_MUL
3 3 OP_MUL
OP_ADD
Greetz Fabrice
Hey Fabrice,
thx for the reply.
Why i canĀ“t be 2 OP_2Mul?? It does the same like 2 2 OP_MULā¦
I didnāt knew that, thanks
Here is my script which gave me the 0xD answer:
2 2 OP_MUL
3 3 OP_MUL
op_add
2 2 Op_Mul 3 3 Op_Mul Op-Add
Welcome to this reading assignment on the Script programming language. If you havenāt already, read through the wiki page describing all the op-codes in script and answer the following questions. Post your answers in the forum thread .
- What is the practical difference between OP_OP_CHECKSIG and OP_OP_CHECKSIGVERIFY?
OP_CHECKSIG The signature used by OP_CHECKSIG must be a valid signature for this hash and public key. If it is, 1 is returned, 0 otherwise. --> Output True or False
OP_CHECKSIGVERIFY
Same as OP_CHECKSIG, but OP_VERIFY is executed afterward. --> Output fail or nothing
- What is the āPopā functions called in Script? (It is not called OP_POP)
OP-fromalstack - What is the hexadecimal OP Code for OP_CHECKMULTISIG?
0Xae
Answer: 2 2 OP_MUL 3 3 OP_MUL OP_ADD
here is the answer
2 2 OP_MUL 3 3 OP_MUL OP_ADD
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul
3 3 op_mul
Op_add
In my opinion the script code is:
2 2 3 3 op_mul op_mul op_add
Ok, I got the script sequence wrong. Meanwhile I understand why. The funny thing is that my sequence also added to 14. Anyway, great explanation. Thank you.
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul 3 3 op_mul op_add
2 2 op_mul 3 3 op_mul op_add