Struct common_types::blockchain_info::BlockChainInfo[][src]

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: BlockNumber,
    pub best_block_timestamp: u64,
    pub ancient_block_hash: Option<H256>,
    pub ancient_block_number: Option<BlockNumber>,
    pub first_block_hash: Option<H256>,
    pub first_block_number: Option<BlockNumber>,
}

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
[src]

Determine the security model for the current state.

Trait Implementations

impl Clone for BlockChainInfo
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for BlockChainInfo
[src]

Formats the value using the given formatter. Read more

impl Display for BlockChainInfo
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for BlockChainInfo

impl Sync for BlockChainInfo