Struct ethcore::block::LockedBlock [] [src]

pub struct LockedBlock { /* fields omitted */ }

Just like ClosedBlock except that we can't reopen it and it's faster.

We actually store the post-Engine::on_close_block state, unlike in ClosedBlock where it's the pre.

Methods

impl LockedBlock
[src]

Get the hash of the header without seal arguments.

Provide a valid seal in order to turn this into a SealedBlock.

NOTE: This does not check the validity of seal with the engine.

Provide a valid seal in order to turn this into a SealedBlock. This does check the validity of seal with the engine. Returns the ClosedBlock back again if the seal is no good.

Trait Implementations

impl Clone for LockedBlock
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'x> IsBlock for LockedBlock
[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.

Get all information on transactions in this block.

Get all information on receipts in this block.

Get all information concerning transaction tracing in this block.

Get all uncles in this block.

impl Drain for LockedBlock
[src]

Drop this object and return the underlieing database.