Struct ethcore::client::EnvInfo []

pub struct EnvInfo {
    pub number: u64,
    pub author: H160,
    pub timestamp: u64,
    pub difficulty: U256,
    pub gas_limit: U256,
    pub last_hashes: Arc<Vec<H256>>,
    pub gas_used: U256,
}

Information concerning the execution environment for a message-call/contract-creation.

Fields

The block number.

The block author.

The block timestamp.

The block difficulty.

The block gas limit.

The last 256 block hashes.

The gas used.

Trait Implementations

impl From<Env> for EnvInfo

Performs the conversion.

impl Clone for EnvInfo

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for EnvInfo

Formats the value using the given formatter. Read more

impl Default for EnvInfo

Returns the "default value" for a type. Read more

Auto Trait Implementations

impl Send for EnvInfo

impl Sync for EnvInfo