Struct ethcore::encoded::Header [] [src]

pub struct Header(_);

Owning header view.

Methods

impl Header
[src]

Create a new owning header view. Expects the data to be an RLP-encoded header -- any other case will likely lead to panics further down the line.

Upgrade this encoded view to a fully owned Header object.

Get a borrowed header view onto the data.

Get the rlp of the header.

Consume the view and return the raw bytes.

impl Header
[src]

Returns the header hash.

Returns the parent hash.

Returns the uncles hash.

Returns the author.

Returns the state root.

Returns the transaction trie root.

Returns the receipts trie root

Returns the block log bloom

Difficulty of this block

Number of this block.

Time this block was produced.

Gas limit of this block.

Total gas used in this block.

Block extra data.

Engine-specific seal fields.

Trait Implementations

impl Debug for Header
[src]

Formats the value using the given formatter.

impl Clone for Header
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Header
[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 Header
[src]

impl Hashable for Header
[src]

Calculate SHA3 of this object.

Calculate SHA3 of this object and place result into dest.