Packages

t

org.bitcoins.core.script

ScriptProgram

sealed trait ScriptProgram extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ScriptProgram
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def altStack: List[ScriptToken]

    The alternative stack is used in some Script op codes.

  2. abstract def failExecution(error: ScriptError): ExecutedScriptProgram

    Sets a ScriptError on a given ScriptProgram.

    Sets a ScriptError on a given ScriptProgram.

    error

    the error that the program hit while being executed in the script interpreter

    returns

    the ExecutedScriptProgram with the given error set inside of the trait

  3. abstract def flags: Seq[ScriptFlag]

    ScriptFlag that are run with the script.

    ScriptFlag that are run with the script. These flags indicate special conditions that a script needs to be run with. https://github.com/bitcoin/bitcoin/blob/master/src/script/interpreter.h#L31

  4. abstract def originalScript: List[ScriptToken]

    The original script that was given.

  5. abstract def script: List[ScriptToken]

    The script operations that need to still be executed.

  6. abstract def stack: List[ScriptToken]

    The current state of the stack for execution of the ScriptProgram.

  7. abstract def txSignatureComponent: TxSigComponent

    This contains all relevant information for hashing and checking a ScriptSignature for a Transaction.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def getAnnexHashOpt: Option[Sha256Digest]
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  15. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. def stackTopIsFalse: Boolean

    Returns true if the stack top is false

  17. def stackTopIsTrue: Boolean

    Returns true if the stack top is true

  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def tapLeafHashOpt: Option[Sha256Digest]

    Calculates the leaf hash if we have a tapscript, else returns None if we don't have a tapscript

  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped