Struct ethcore::block::ExecutedBlock[][src]

pub struct ExecutedBlock {
    pub header: Header,
    pub transactions: Vec<SignedTransaction>,
    pub uncles: Vec<Header>,
    pub receipts: Vec<Receipt>,
    pub transactions_set: HashSet<H256>,
    pub state: State<StateDB>,
    pub traces: Tracing,
    pub last_hashes: Arc<LastHashes>,
    pub is_finalized: bool,
    pub metadata: Option<Vec<u8>>,
}

An internal type for a block's common elements.

Fields

Executed block header.

Executed transactions.

Uncles.

Transaction receipts.

Hashes of already executed transactions.

Underlaying state.

Transaction traces.

Hashes of last 256 blocks.

Finalization flag.

Block metadata.

Methods

impl ExecutedBlock
[src]

Get the environment info concerning this block.

Get mutable access to a state.

Get mutable reference to traces.

Trait Implementations

impl Clone for ExecutedBlock
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl IsBlock for ExecutedBlock
[src]

Get the ExecutedBlock associated with this object.

Get the base Block object associated with this.

Get the header associated with this object's block.

Get the final state associated with this object's block.

Important traits for &'a [u8]

Get all information on transactions in this block.

Important traits for &'a [u8]

Get all information on receipts in this block.

Important traits for &'a [u8]

Get all uncles in this block.

impl LiveBlock for ExecutedBlock
[src]

The block header type;

Get a reference to the header.

Important traits for &'a [u8]

Get a reference to the uncle headers. If the block type doesn't support uncles, return the empty slice. Read more

impl Transactions for ExecutedBlock
[src]

The transaction type.

Important traits for &'a [u8]

Get a reference to the transactions in this block.

impl Finalizable for ExecutedBlock
[src]

Get whether the block is finalized.

Mark the block as finalized.

impl WithMetadata for ExecutedBlock
[src]

Get the current live block metadata.

Set the current live block metadata.

Auto Trait Implementations

impl Send for ExecutedBlock

impl !Sync for ExecutedBlock