Struct ethcore::client::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: 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
total_difficulty: U256
                           Blockchain difficulty.
pending_total_difficulty: U256
                           Block queue difficulty.
genesis_hash: H256
                           Genesis block hash.
best_block_hash: H256
                           Best blockchain block hash.
best_block_number: u64
                           Best blockchain block number.
best_block_timestamp: u64
                           Best blockchain block timestamp.
ancient_block_hash: Option<H256>
                           Best ancient block hash.
ancient_block_number: Option<u64>
                           Best ancient block number.
first_block_hash: Option<H256>
                           First block on the best sequence.
first_block_number: Option<u64>
                           Number of the first block on the best sequence.
Methods
impl BlockChainInfo[src] 
impl BlockChainInfopub fn security_level(&self) -> SecurityLevel[src] 
pub fn security_level(&self) -> SecurityLevelDetermine the security model for the current state.
Trait Implementations
impl Display for BlockChainInfo[src] 
impl Display for BlockChainInfofn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src] 
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Clone for BlockChainInfo[src] 
impl Clone for BlockChainInfofn clone(&self) -> BlockChainInfo[src] 
fn clone(&self) -> BlockChainInfoReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for BlockChainInfo[src] 
impl Debug for BlockChainInfoAuto Trait Implementations
impl Send for BlockChainInfo
impl Send for BlockChainInfoimpl Sync for BlockChainInfo
impl Sync for BlockChainInfo