Struct ethcore::trace::NoopTracer
[−]
[src]
pub struct NoopTracer;
Nonoperative tracer. Does not trace anything.
Trait Implementations
impl Tracer for NoopTracer
[src]
impl Tracer for NoopTracer
type Output = FlatTrace
Data returned when draining the Tracer.
fn prepare_trace_call(&self, _: &ActionParams) -> Option<Call>
[src]
fn prepare_trace_call(&self, _: &ActionParams) -> Option<Call>
Prepares call trace for given params. Noop tracer should return None.
fn prepare_trace_create(&self, _: &ActionParams) -> Option<Create>
[src]
fn prepare_trace_create(&self, _: &ActionParams) -> Option<Create>
Prepares create trace for given params. Noop tracer should return None.
fn prepare_trace_output(&self) -> Option<Bytes>
[src]
fn prepare_trace_output(&self) -> Option<Bytes>
Prepare trace output. Noop tracer should return None.
fn trace_call(
&mut self,
call: Option<Call>,
_: U256,
output: Option<Bytes>,
_: Vec<FlatTrace>
)
[src]
fn trace_call(
&mut self,
call: Option<Call>,
_: U256,
output: Option<Bytes>,
_: Vec<FlatTrace>
)
Stores trace call info.
fn trace_create(
&mut self,
create: Option<Create>,
_: U256,
code: Option<Bytes>,
_: Address,
_: Vec<FlatTrace>
)
[src]
fn trace_create(
&mut self,
create: Option<Create>,
_: U256,
code: Option<Bytes>,
_: Address,
_: Vec<FlatTrace>
)
Stores trace create info.
fn trace_failed_call(
&mut self,
call: Option<Call>,
_: Vec<FlatTrace>,
_: TraceError
)
[src]
fn trace_failed_call(
&mut self,
call: Option<Call>,
_: Vec<FlatTrace>,
_: TraceError
)
Stores failed call trace.
fn trace_failed_create(
&mut self,
create: Option<Create>,
_: Vec<FlatTrace>,
_: TraceError
)
[src]
fn trace_failed_create(
&mut self,
create: Option<Create>,
_: Vec<FlatTrace>,
_: TraceError
)
Stores failed create trace.
fn trace_suicide(
&mut self,
_address: Address,
_balance: U256,
_refund_address: Address
)
[src]
fn trace_suicide(
&mut self,
_address: Address,
_balance: U256,
_refund_address: Address
)
Stores suicide info.
fn trace_reward(&mut self, _: Address, _: U256, _: RewardType)
[src]
fn trace_reward(&mut self, _: Address, _: U256, _: RewardType)
Stores reward info.
fn subtracer(&self) -> Self
[src]
fn subtracer(&self) -> Self
Spawn subtracer which will be used to trace deeper levels of execution.
fn drain(self) -> Vec<FlatTrace>
[src]
fn drain(self) -> Vec<FlatTrace>
Consumes self and returns all traces.
Auto Trait Implementations
impl Send for NoopTracer
impl Send for NoopTracer
impl Sync for NoopTracer
impl Sync for NoopTracer