Documentation ¶
Index ¶
Constants ¶
View Source
const GasCounterName string = "gas_count"
Variables ¶
This section is empty.
Functions ¶
func MeterGasAndStack ¶
MeterGasAndStack - adds gas and stack instrumentation. gas instrumentation uses global counter "gas_count", the variable is inserted by rust library during instrumentation. stackHeight - if 0 then no stack metering is inserted, otherwise if wasm stack grows over user defined height program execution aborted.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.