Struct ethcore::block::Block [] [src]

pub struct Block {
    pub header: Header,
    pub transactions: Vec<UnverifiedTransaction>,
    pub uncles: Vec<Header>,
}

A block, encoded as it is on the block chain.

Fields

The header of this block.

The transactions in this block.

The uncles of this block.

Methods

impl Block
[src]

Returns true if the given bytes form a valid encoding of a block in RLP.

Get the RLP-encoding of the block with the seal.

Trait Implementations

impl Default for Block
[src]

Returns the "default value" for a type. Read more

impl Debug for Block
[src]

Formats the value using the given formatter. Read more

impl Clone for Block
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Block
[src]

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

This method tests for !=.

impl Decodable for Block
[src]

Decode a value from RLP bytes

Auto Trait Implementations

impl Send for Block

impl Sync for Block