State

data class State(    val conditions: List<Boolean>,     val altstack: List<ByteVector>,     val opCount: Int,     val scriptCode: List<ScriptElt>)

This class represents the state of the script execution engine

Parameters

conditions

current "position" wrt if/notif/else/endif

altstack

initial alternate stack

opCount

initial op count

scriptCode

initial script (can be modified by OP_CODESEPARATOR for example)

Constructors

Link copied to clipboard
fun State(    conditions: List<Boolean>,     altstack: List<ByteVector>,     opCount: Int,     scriptCode: List<ScriptElt>)

Properties

Link copied to clipboard
val altstack: List<ByteVector>
Link copied to clipboard
val conditions: List<Boolean>
Link copied to clipboard
val opCount: Int
Link copied to clipboard
val scriptCode: List<ScriptElt>