Struct sputnikvm::HeaderParams [] [src]

pub struct HeaderParams {
    pub beneficiary: Address,
    pub timestamp: u64,
    pub number: U256,
    pub difficulty: U256,
    pub gas_limit: Gas,
}

Block header.

Fields

Block coinbase, the address that mines the block.

Block timestamp.

The current block number.

Difficulty of the block.

Total block gas limit.

Trait Implementations

impl Debug for HeaderParams
[src]

[src]

Formats the value using the given formatter.

impl Clone for HeaderParams
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<'a> From<&'a Header> for HeaderParams
[src]

[src]

Performs the conversion.