Package com.bradyrussell.uiscoin.script
Class ScriptExecution
java.lang.Object
com.bradyrussell.uiscoin.script.ScriptExecution
public class ScriptExecution
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description boolean
bExtendedFlowControl
boolean
bPrintStackTraces
boolean
bScriptFailed
boolean
bThrowExceptionOnFailure
int
InstructionCounter
boolean
LogScriptExecution
int
MaximumStepsAllowed
byte[]
Script
java.util.Stack<byte[]>
Stack
int
Steps
-
Constructor Summary
Constructors Constructor Description ScriptExecution()
-
Method Summary
Modifier and Type Method Description static boolean
areBytesValidNumber(byte[] Bytes)
void
dumpStack()
int
getStackBytes()
java.lang.String
getStackContents()
int
getStackDepth()
boolean
initialize(byte[] Script)
boolean
initialize(byte[] Script, java.util.Enumeration<byte[]> StackValues)
void
setSignatureVerificationMessage(byte[] signatureVerificationMessage)
boolean
step()
-
Field Details
-
InstructionCounter
public int InstructionCounter -
Stack
public java.util.Stack<byte[]> Stack -
bScriptFailed
public boolean bScriptFailed -
MaximumStepsAllowed
public final int MaximumStepsAllowed- See Also:
- Constant Field Values
-
bExtendedFlowControl
public boolean bExtendedFlowControl -
bThrowExceptionOnFailure
public boolean bThrowExceptionOnFailure -
bPrintStackTraces
public boolean bPrintStackTraces -
LogScriptExecution
public boolean LogScriptExecution -
Script
public byte[] Script -
Steps
public int Steps
-
-
Constructor Details
-
ScriptExecution
public ScriptExecution()
-
-
Method Details
-
initialize
public boolean initialize(byte[] Script) -
initialize
public boolean initialize(byte[] Script, java.util.Enumeration<byte[]> StackValues) -
setSignatureVerificationMessage
public void setSignatureVerificationMessage(byte[] signatureVerificationMessage) -
areBytesValidNumber
public static boolean areBytesValidNumber(byte[] Bytes) -
dumpStack
public void dumpStack() -
getStackContents
public java.lang.String getStackContents() -
getStackDepth
public int getStackDepth() -
getStackBytes
public int getStackBytes() -
step
public boolean step() throws ScriptEmptyStackException, ScriptInvalidParameterException, ScriptInvalidException, ScriptUnsupportedOperationException, ScriptFailedException
-