Packages

case class PreExecutionScriptProgram(txSignatureComponent: TxSigComponent, stack: List[ScriptToken], script: List[ScriptToken], originalScript: List[ScriptToken], altStack: List[ScriptToken], flags: Seq[ScriptFlag]) extends ScriptProgram with Product with Serializable

This represents a ScriptProgram before any script operations have been executed in the ScriptInterpreter.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PreExecutionScriptProgram
  2. Serializable
  3. Product
  4. Equals
  5. ScriptProgram
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PreExecutionScriptProgram(txSignatureComponent: TxSigComponent, stack: List[ScriptToken], script: List[ScriptToken], originalScript: List[ScriptToken], altStack: List[ScriptToken], flags: Seq[ScriptFlag])

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. val altStack: List[ScriptToken]

    The alternative stack is used in some Script op codes.

    The alternative stack is used in some Script op codes.

    Definition Classes
    PreExecutionScriptProgramScriptProgram
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. 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

    Definition Classes
    PreExecutionScriptProgramScriptProgram
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. val 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

    Definition Classes
    PreExecutionScriptProgramScriptProgram
  11. def getAnnexHashOpt: Option[Sha256Digest]
    Definition Classes
    ScriptProgram
  12. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. val originalScript: List[ScriptToken]

    The original script that was given.

    The original script that was given.

    Definition Classes
    PreExecutionScriptProgramScriptProgram
  18. def productElementNames: Iterator[String]
    Definition Classes
    Product
  19. val script: List[ScriptToken]

    The script operations that need to still be executed.

    The script operations that need to still be executed.

    Definition Classes
    PreExecutionScriptProgramScriptProgram
  20. val stack: List[ScriptToken]

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

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

    Definition Classes
    PreExecutionScriptProgramScriptProgram
  21. def stackTopIsFalse: Boolean

    Returns true if the stack top is false

    Returns true if the stack top is false

    Definition Classes
    ScriptProgram
  22. def stackTopIsTrue: Boolean

    Returns true if the stack top is true

    Returns true if the stack top is true

    Definition Classes
    ScriptProgram
  23. def startingValidationWeight: Option[Long]
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def tapLeafHashOpt: Option[Sha256Digest]

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

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

    Definition Classes
    ScriptProgram
  26. def toExecutionInProgress: ExecutionInProgressScriptProgram
  27. val txSignatureComponent: TxSigComponent

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

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

    Definition Classes
    PreExecutionScriptProgramScriptProgram
  28. def updateAltStack(tokens: Seq[ScriptToken]): PreExecutionScriptProgram
  29. def updateOriginalScript(tokens: Seq[ScriptToken]): PreExecutionScriptProgram
  30. def updateScript(tokens: Seq[ScriptToken]): PreExecutionScriptProgram
  31. def updateStack(tokens: Seq[ScriptToken]): PreExecutionScriptProgram
  32. def updateStackAndScript(stackTokens: Seq[ScriptToken], scriptTokens: Seq[ScriptToken]): PreExecutionScriptProgram
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ScriptProgram

Inherited from AnyRef

Inherited from Any

Ungrouped