pub struct TraceDB<T> where
    T: DatabaseExtras
{ /* private fields */ }
Expand description

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.

Implementations

Creates new instance of TraceDB.

Ticks our cache system and throws out any old data.

Trait Implementations

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

Returns true if tracing is enabled. Otherwise false.

Returns localized trace at given position.

Returns localized traces created by a single transaction.

Returns localized traces created in given block.

Filter traces matching given filter.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.