Welcome to the discussion about this section. Here you can ask questions or post feedback about this specific lecture.
What is the practical difference between OP_OP_CHECKSIG and OP_OP_CHECKSIGVERIFY?
OP_CHECKSIG returns either 1 or 0 for True/False; thus, OP_OP_CHECKSIG would be OP of the return value from the first operation which is OP_1 or OP_0 (still returns True or False)
OP_CHECKSIGVERIFY performs first the operations which is OP_CHECKSIG; returns stated above, thereafter performs OP_VERIFY on the return. This would return fail (mark the transaction invalid and remove it from the top of the stack) if the input value is false.
So OP_OPCHECKSIGVERIFY would be the OP of the return from OP_CHECKSIGVERIFY.
What are the “Push” and “Pop” functions called in Script? (They are not called OP_PUSH and OP_POP)
No idea (help me out)
What is the hexadecimal OP Code for OP_CHECKMULTISIG?
Hint. Look through the script wiki page and go down to the script section with op-codes. There you will find them: https://en.bitcoin.it/wiki/Script
Correct, but in hex it is 0xae
try changing your console.log line to
Thanks filip, it worked , why you don’t have to do this conversion in your script?
Now getting below error
1.uninstalling /installing nodjs and npm.
2.tried running power-shell as admin and repeating 1 but not working