sealed trait ScriptProgram extends AnyRef
Created by chris on 2/3/16.
- Alphabetic
- By Inheritance
- ScriptProgram
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def altStack: List[ScriptToken]
The alternative stack is used in some Script op codes.
- 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
- 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
- abstract def originalScript: List[ScriptToken]
The original script that was given.
- abstract def script: List[ScriptToken]
The script operations that need to still be executed.
- abstract def stack: List[ScriptToken]
The current state of the stack for execution of the ScriptProgram.
- abstract def txSignatureComponent: TxSigComponent
This contains all relevant information for hashing and checking a ScriptSignature for a Transaction.
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAnnexHashOpt: Option[Sha256Digest]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def stackTopIsFalse: Boolean
Returns true if the stack top is false
- def stackTopIsTrue: Boolean
Returns true if the stack top is true
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def tapLeafHashOpt: Option[Sha256Digest]
Calculates the leaf hash if we have a tapscript, else returns None if we don't have a tapscript
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()