Struct ethcore::header::ExtendedHeader [] [src]

pub struct ExtendedHeader {
    pub header: Header,
    pub is_finalized: bool,
    pub parent_total_difficulty: U256,
    pub metadata: Option<Vec<u8>>,
}

Extended block header, wrapping Header with finalized and total difficulty information.

Fields

The actual header.

Whether the block underlying this header is considered finalized.

The parent block difficulty.

The block metadata information.

Trait Implementations

impl Debug for ExtendedHeader
[src]

Formats the value using the given formatter. Read more

impl Clone for ExtendedHeader
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ExtendedHeader
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for ExtendedHeader
[src]

impl Header for ExtendedHeader
[src]

Cryptographic hash of the header, excluding the seal.

Cryptographic hash of the header, including the seal.

Important traits for &'a [u8]

Get a reference to the seal fields.

The author of the header.

The number of the header.

impl ScoredHeader for ExtendedHeader
[src]

Get the score of this header.

Set the score of this header.

impl TotalScoredHeader for ExtendedHeader
[src]

Get the total score of this header.

impl FinalizableHeader for ExtendedHeader
[src]

Get whether this header is considered finalized, so that it will never be replaced in reorganization.

impl WithMetadataHeader for ExtendedHeader
[src]

Get the current header metadata.

Auto Trait Implementations

impl Send for ExtendedHeader

impl Sync for ExtendedHeader