Enum ethcore::ids::BlockId [] [src]

pub enum BlockId {
    Hash(H256),
    Number(BlockNumber),
    Earliest,
    Latest,
    Pending,
}

Uniquely identifies block.

Variants

Block's sha3. Querying by hash is always faster.

Block number within canon blockchain.

Earliest block (genesis).

Latest mined block.

Pending block.

Trait Implementations

impl Debug for BlockId
[src]

Formats the value using the given formatter.

impl PartialEq for BlockId
[src]

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

This method tests for !=.

impl Copy for BlockId
[src]

impl Clone for BlockId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Hash for BlockId
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Eq for BlockId
[src]