package control
- Alphabetic
- Public
- Protected
Type Members
- sealed abstract class ConditionalOperation extends ControlOperations
Type for { OP_IF, OP_NOTIF }
- sealed abstract class ControlOperations extends constant.ScriptOperation
Created by chris on 1/6/16.
- sealed abstract class ControlOperationsInterpreter extends AnyRef
Created by chris on 1/6/16.
Value Members
- object ControlOperations extends ScriptOperationFactory[ControlOperations]
- object ControlOperationsInterpreter extends ControlOperationsInterpreter
- case object OP_ELSE extends ControlOperations with Product with Serializable
If the preceding
OP_IForOP_NOTIForOP_ELSEwas not executed then these statements are and if the precedingOP_IForOP_NOTIForOP_ELSEwas executed then these statements are not. - case object OP_ENDIF extends ControlOperations with Product with Serializable
Ends an if/else block.
Ends an if/else block. All blocks must end, or the transaction is invalid. An
OP_ENDIFwithoutOP_IFearlier is also invalid. - case object OP_IF extends ConditionalOperation with Product with Serializable
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.
- case object OP_NOTIF extends ConditionalOperation with Product with Serializable
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.
- case object OP_RETURN extends ControlOperations with Product with Serializable
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_RETURNfollowed 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 oneOP_RETURNoutput or anOP_RETURNoutput with more than one pushdata op. - case object OP_VERIFY extends ControlOperations with Product with Serializable
Marks transaction as invalid if top stack value is not true.