Documentation ¶
Index ¶
- Constants
- func Hash(b []byte, e *ExecutionEngine) []byte
- type ExecutionEngine
- func (e *ExecutionEngine) AddBreakPoint(position uint)
- func (e *ExecutionEngine) CallingScript() []byte
- func (e *ExecutionEngine) EntryScript() []byte
- func (e *ExecutionEngine) Execute()
- func (e *ExecutionEngine) ExecuteOp(opCode OpCode, context *ExecutionContext) (VMState, error)
- func (e *ExecutionEngine) ExecutingScript() []byte
- func (e *ExecutionEngine) GetEvaluationStack() *utils.RandomAccessStack
- func (e *ExecutionEngine) GetExecuteResult() bool
- func (e *ExecutionEngine) GetState() VMState
- func (e *ExecutionEngine) LoadScript(script []byte, pushOnly bool)
- func (e *ExecutionEngine) RemoveBreakPoint(position uint) bool
- func (e *ExecutionEngine) StepInto()
- func (e *ExecutionEngine) StepOut()
- func (e *ExecutionEngine) StepOver()
Constants ¶
View Source
const MAXSTEPS int = 1200
Variables ¶
This section is empty.
Functions ¶
func Hash ¶
func Hash(b []byte, e *ExecutionEngine) []byte
Types ¶
type ExecutionEngine ¶
type ExecutionEngine struct {
// contains filtered or unexported fields
}
func NewExecutionEngine ¶
func NewExecutionEngine(container interfaces.IScriptContainer, crypto interfaces.ICrypto, maxSteps int, table interfaces.IScriptTable, service *InteropService) *ExecutionEngine
func (*ExecutionEngine) AddBreakPoint ¶
func (e *ExecutionEngine) AddBreakPoint(position uint)
func (*ExecutionEngine) CallingScript ¶
func (e *ExecutionEngine) CallingScript() []byte
func (*ExecutionEngine) EntryScript ¶
func (e *ExecutionEngine) EntryScript() []byte
func (*ExecutionEngine) Execute ¶
func (e *ExecutionEngine) Execute()
func (*ExecutionEngine) ExecuteOp ¶
func (e *ExecutionEngine) ExecuteOp(opCode OpCode, context *ExecutionContext) (VMState, error)
func (*ExecutionEngine) ExecutingScript ¶
func (e *ExecutionEngine) ExecutingScript() []byte
func (*ExecutionEngine) GetEvaluationStack ¶
func (e *ExecutionEngine) GetEvaluationStack() *utils.RandomAccessStack
func (*ExecutionEngine) GetExecuteResult ¶
func (e *ExecutionEngine) GetExecuteResult() bool
func (*ExecutionEngine) GetState ¶
func (e *ExecutionEngine) GetState() VMState
func (*ExecutionEngine) LoadScript ¶
func (e *ExecutionEngine) LoadScript(script []byte, pushOnly bool)
func (*ExecutionEngine) RemoveBreakPoint ¶
func (e *ExecutionEngine) RemoveBreakPoint(position uint) bool
func (*ExecutionEngine) StepInto ¶
func (e *ExecutionEngine) StepInto()
func (*ExecutionEngine) StepOut ¶
func (e *ExecutionEngine) StepOut()
func (*ExecutionEngine) StepOver ¶
func (e *ExecutionEngine) StepOver()
Click to show internal directories.
Click to hide internal directories.