Struct ethcore::executive::Executive[][src]

pub struct Executive<'a, B: 'a> { /* fields omitted */ }

Transaction executor.

Methods

impl<'a, B: 'a + StateBackend> Executive<'a, B>
[src]

Basic constructor.

Populates executive from parent properties. Increments executive depth.

Creates Externalities from Executive.

This function should be used to execute transaction.

Execute a transaction in a "virtual" context. This will ensure the caller has enough balance to execute the desired transaction. Used for extra-block executions for things like consensus contracts and RPCs

Calls contract function with given contract params. NOTE. It does not finalize the transaction (doesn't do refunds, nor suicides). Modifies the substate and the output. Returns either gas_left or vm::Error.

Creates contract with given contract params. NOTE. It does not finalize the transaction (doesn't do refunds, nor suicides). Modifies the substate.

Auto Trait Implementations

impl<'a, B> Send for Executive<'a, B> where
    B: Send

impl<'a, B> !Sync for Executive<'a, B>