Difference between revisions of "Pushdata Opcodes"
Line 2: | Line 2: | ||
=== OP_PUSHDATA1 === | === OP_PUSHDATA1 === | ||
+ | OP_PUSHDATA1 is used to push data of a length from 75 to 255 bytes long onto the stack. | ||
=== OP_PUSHDATA2 === | === OP_PUSHDATA2 === | ||
=== OP_PUSHDATA4 === | === OP_PUSHDATA4 === |
Revision as of 00:48, 13 January 2020
The pushdata opcodes push the next bytes of data onto the stack. Opcodes 1-75 simply push the next bytes of data onto the stack without a necessity to specify how many bytes to push.
OP_PUSHDATA1
OP_PUSHDATA1 is used to push data of a length from 75 to 255 bytes long onto the stack.