Struct ethcore::client::BlockChainInfo []

pub struct BlockChainInfo {
    pub total_difficulty: U256,
    pub pending_total_difficulty: U256,
    pub genesis_hash: H256,
    pub best_block_hash: H256,
    pub best_block_number: u64,
    pub best_block_timestamp: u64,
    pub ancient_block_hash: Option<H256>,
    pub ancient_block_number: Option<u64>,
    pub first_block_hash: Option<H256>,
    pub first_block_number: Option<u64>,
}

Information about the blockchain gathered together.

Fields

Blockchain difficulty.

Block queue difficulty.

Genesis block hash.

Best blockchain block hash.

Best blockchain block number.

Best blockchain block timestamp.

Best ancient block hash.

Best ancient block number.

First block on the best sequence.

Number of the first block on the best sequence.

Methods

impl BlockChainInfo

Determine the security model for the current state.

Trait Implementations

impl Clone for BlockChainInfo

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Display for BlockChainInfo

Formats the value using the given formatter. Read more

impl Debug for BlockChainInfo

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for BlockChainInfo

impl Sync for BlockChainInfo