Class/Object

org.bitcoins.core.script.control

ControlOperationsInterpreter

Related Docs: object ControlOperationsInterpreter | package control

Permalink

sealed abstract class ControlOperationsInterpreter extends AnyRef

Created by chris on 1/6/16.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ControlOperationsInterpreter
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def checkMatchingOpIfOpNotIfOpEndIf(script: List[ScriptToken]): Boolean

    Permalink

    Checks if an OP_IF/ OP_NOTIF ScriptToken has a matching OP_ENDIF

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def findFirstIndexesOpElseOpEndIf(script: List[ScriptToken]): (Option[Int], Option[Int])

    Permalink

    Finds the indexes of our OP_ELSE (if it exists) and our OP_ENDIF.

  11. def findFirstOpElse(script: List[ScriptToken]): Option[Int]

    Permalink

    Returns the first index of an OP_ENDIF.

  12. def findFirstOpEndIf(script: List[ScriptToken]): Option[Int]

    Permalink

    Returns the first index of an OP_ENDIF.

  13. def findLastOpEndIf(script: List[ScriptToken]): Option[Int]

    Permalink

    Finds the last OP_ENDIF in the given script.

  14. def findMatchingOpEndIf(script: List[ScriptToken]): Int

    Permalink

    Returns the index of the matching OP_ENDIF for the OP_IF statement.

  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. def opElse(program: ScriptProgram): ScriptProgram

    Permalink

    Evaluates the OP_ELSE operator.

  22. def opEndIf(program: ScriptProgram): ScriptProgram

    Permalink

    Evaluates an OP_ENDIF operator.

  23. def opIf(program: ScriptProgram): ScriptProgram

    Permalink

    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.

  24. def opNotIf(program: ScriptProgram): ScriptProgram

    Permalink

    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.

  25. def opReturn(program: ScriptProgram): ScriptProgram

    Permalink

    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.

  26. def opVerify(program: ScriptProgram): ScriptProgram

    Permalink

    Marks Transaction as invalid if top stack value is not true.

  27. def parseBinaryTree(script: List[ScriptToken]): BinaryTree[ScriptToken]

    Permalink

    Parses a list of ScriptTokens into its corresponding BinaryTree

  28. def removeFirstOpElse(tree: BinaryTree[ScriptToken]): BinaryTree[ScriptToken]

    Permalink

    Removes the first OP_ELSE in a BinaryTree.

  29. def removeFirstOpElse(script: List[ScriptToken]): List[ScriptToken]

    Permalink

    Removes the first OP_ELSE expression encountered in the script.

  30. def removeFirstOpIf(tree: BinaryTree[ScriptToken]): BinaryTree[ScriptToken]

    Permalink

    Removes the first occurrence of OP_IF or OP_NOTIF in the BinaryTree.

  31. def removeFirstOpIf(script: List[ScriptToken]): List[ScriptToken]

    Permalink

    Removes the first OP_IF encountered in the script.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  33. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped