Struct ethcore::trace::TraceDB[][src]

pub struct TraceDB<T> where
    T: DatabaseExtras
{ /* fields omitted */ }

Database to store transaction execution trace.

Whenever a transaction is executed by EVM it's execution trace is stored in trace database. Each trace has information, which contracts have been touched, which have been created during the execution of transaction, and which calls failed.

Methods

impl<T> TraceDB<T> where
    T: DatabaseExtras
[src]

Creates new instance of TraceDB.

Ticks our cache system and throws out any old data.

Trait Implementations

impl<T> TraceDatabase for TraceDB<T> where
    T: DatabaseExtras
[src]

Returns true if tracing is enabled. Otherwise false.

Traces of import request's enacted blocks are expected to be already in database or to be the currently inserted trace.

Returns localized trace at given position.

Returns localized traces created by a single transaction.

Returns localized traces created in given block.

Important traits for Vec<u8>

Filter traces matching given filter.

Auto Trait Implementations

impl<T> Send for TraceDB<T> where
    T: Send + Sync

impl<T> Sync for TraceDB<T> where
    T: Send + Sync