Created by chris on 1/6/16.
Created by chris on 1/6/16.
If the preceding OP_IF
or OP_NOTIF
or OP_ELSE
was not executed then these statements are and
if the preceding OP_IF
or OP_NOTIF
or OP_ELSE
was executed then these statements are not.
Ends an if/else block.
If the top stack value is not 0, the statements are executed.
If the top stack value is not 0, the statements are executed. The top stack value is removed.
If the top stack value is 0, the statements are executed.
If the top stack value is 0, the statements are executed. The top stack value is removed.
Marks transaction as invalid.
Marks transaction as invalid. A standard way of attaching extra data to transactions is to add a zero-value
output with a scriptPubKey consisting of OP_RETURN
followed by exactly one pushdata op.
Such outputs are provably unspendable, reducing their cost to the network.
Currently it is usually considered non-standard
(though valid) for a transaction to have more than one OP_RETURN
output or an OP_RETURN
output
with more than one pushdata op.
Marks transaction as invalid if top stack value is not true.
Ends an if/else block. All blocks must end, or the transaction is invalid. An
OP_ENDIF
withoutOP_IF
earlier is also invalid.