diff options
author | Péter Szilágyi <peterke@gmail.com> | 2019-03-25 18:41:50 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2019-04-01 16:06:15 +0800 |
commit | bb9631c399392577b1d69a1e8f88a2ccbd05e4e1 (patch) | |
tree | 3215ff8befded0c4ab10920ffc2c7b4f26a955af /core/vm | |
parent | 86e77900c53ebce3309099a39cbca38eb4d62fdf (diff) | |
download | go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.gz go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.bz2 go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.lz go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.xz go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.tar.zst go-tangerine-bb9631c399392577b1d69a1e8f88a2ccbd05e4e1.zip |
core: prefetch next block state concurrently
Diffstat (limited to 'core/vm')
-rw-r--r-- | core/vm/interpreter.go | 25 |
1 files changed, 8 insertions, 17 deletions
diff --git a/core/vm/interpreter.go b/core/vm/interpreter.go index 417665370..989f85f5d 100644 --- a/core/vm/interpreter.go +++ b/core/vm/interpreter.go @@ -28,24 +28,15 @@ import ( // Config are the configuration options for the Interpreter type Config struct { - // Debug enabled debugging Interpreter options - Debug bool - // Tracer is the op code logger - Tracer Tracer - // NoRecursion disabled Interpreter call, callcode, - // delegate call and create. - NoRecursion bool - // Enable recording of SHA3/keccak preimages - EnablePreimageRecording bool - // JumpTable contains the EVM instruction table. This - // may be left uninitialised and will be set to the default - // table. - JumpTable [256]operation + Debug bool // Enables debugging + Tracer Tracer // Opcode logger + NoRecursion bool // Disables call, callcode, delegate call and create + EnablePreimageRecording bool // Enables recording of SHA3/keccak preimages - // Type of the EWASM interpreter - EWASMInterpreter string - // Type of the EVM interpreter - EVMInterpreter string + JumpTable [256]operation // EVM instruction table, automatically populated if unset + + EWASMInterpreter string // External EWASM interpreter options + EVMInterpreter string // External EVM interpreter options } // Interpreter is used to run Ethereum based contracts and will utilise the |