Struct ethcore::trace::NoopVMTracer
[−]
[src]
pub struct NoopVMTracer;
Nonoperative VM tracer. Does not trace anything.
Trait Implementations
impl VMTracer for NoopVMTracer
[src]
fn trace_prepare_execute(&mut self,
_pc: usize,
_instruction: u8,
_gas_cost: &U256)
-> bool
_pc: usize,
_instruction: u8,
_gas_cost: &U256)
-> bool
Trace the preparation to execute a single instruction.
fn trace_executed(&mut self,
_gas_used: U256,
_stack_push: &[U256],
_mem_diff: Option<(usize, &[u8])>,
_store_diff: Option<(U256, U256)>)
_gas_used: U256,
_stack_push: &[U256],
_mem_diff: Option<(usize, &[u8])>,
_store_diff: Option<(U256, U256)>)
Trace the finalised execution of a single instruction.
fn prepare_subtrace(&self, _code: &[u8]) -> Self
Spawn subtracer which will be used to trace deeper levels of execution.
fn done_subtrace(&mut self, _sub: Self)
Spawn subtracer which will be used to trace deeper levels of execution.
fn drain(self) -> Option<VMTrace>
Consumes self and returns all VM traces.