github.com/n1ghtfa1l/go-vnt@v0.6.4-alpha.6/core/wavm/wavm_config.go (about)

     1  package wavm
     2  
     3  import "github.com/vntchain/go-vnt/core/vm"
     4  
     5  // Config are the configuration options for the Interpreter
     6  type Config struct {
     7  	// Debug enabled debugging Interpreter options
     8  	Debug bool
     9  	// Tracer is the op code logger
    10  	Tracer                   vm.Tracer
    11  	NoRecursion              bool
    12  	MaxMemoryPages           int
    13  	MaxTableSize             int
    14  	MaxValueSlots            int
    15  	MaxCallStackDepth        int
    16  	DefaultMemoryPages       int
    17  	DefaultTableSize         int
    18  	GasLimit                 uint64
    19  	DisableFloatingPoint     bool
    20  	ReturnOnGasLimitExceeded bool
    21  }