mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-23 11:57:17 +00:00
c5bd32b0ad
Standard VM should be about 10x faster than the debug VM. Some error checking has been removed, all of the log statements and therefor quite some unnecessary if-statements.
11 lines
325 B
Go
11 lines
325 B
Go
package ethvm
|
|
|
|
import "github.com/ethereum/eth-go/ethstate"
|
|
|
|
type Debugger interface {
|
|
BreakHook(step int, op OpCode, mem *Memory, stack *Stack, object *ethstate.StateObject) bool
|
|
StepHook(step int, op OpCode, mem *Memory, stack *Stack, object *ethstate.StateObject) bool
|
|
BreakPoints() []int64
|
|
SetCode(byteCode []byte)
|
|
}
|