Struct ethcore_light::on_demand::request::HeaderByNumber [] [src]

pub struct HeaderByNumber {
    pub num: u64,
    pub cht_root: H256,
}

Request for a header by number.

Fields

The header's number.

The root of the CHT containing this header.

Methods

impl HeaderByNumber
[src]

Check a response with a header and cht proof.

Trait Implementations

impl Debug for HeaderByNumber
[src]

Formats the value using the given formatter.

impl Clone for HeaderByNumber
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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