Struct ethcore::client::EnvInfo
[−]
[src]
pub struct EnvInfo { pub number: BlockNumber, pub author: Address, pub timestamp: u64, pub difficulty: U256, pub gas_limit: U256, pub last_hashes: Arc<LastHashes>, pub gas_used: U256, }
Information concerning the execution environment for a message-call/contract-creation.
Fields
number: BlockNumber
The block number.
The block author.
timestamp: u64
The block timestamp.
difficulty: U256
The block difficulty.
gas_limit: U256
The block gas limit.
last_hashes: Arc<LastHashes>
The last 256 block hashes.
gas_used: U256
The gas used.
Trait Implementations
impl Debug for EnvInfo
[src]
impl Default for EnvInfo
[src]
impl From<Env> for EnvInfo
[src]
fn from(e: Env) -> Self
Performs the conversion.