Struct ethcore::block::ClosedBlock  
                   
                       [−]
                   
               [src]
pub struct ClosedBlock { /* fields omitted */ }Just like OpenBlock, except that we've applied Engine::on_close_block, finished up the non-seal header fields,
and collected the uncles.
There is no function available to push a transaction.
Methods
impl ClosedBlock[src] 
impl ClosedBlockpub fn hash(&self) -> H256[src] 
pub fn hash(&self) -> H256Get the hash of the header without seal arguments.
pub fn lock(self) -> LockedBlock[src] 
pub fn lock(self) -> LockedBlockTurn this into a LockedBlock, unable to be reopened again.
pub fn reopen(self, engine: &EthEngine) -> OpenBlock[src] 
pub fn reopen(self, engine: &EthEngine) -> OpenBlockGiven an engine reference, reopen the ClosedBlock into an OpenBlock.
Trait Implementations
impl Clone for ClosedBlock[src] 
impl Clone for ClosedBlockfn clone(&self) -> ClosedBlock[src] 
fn clone(&self) -> ClosedBlockReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src] 
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<'x> IsBlock for ClosedBlock[src] 
impl<'x> IsBlock for ClosedBlockfn block(&self) -> &ExecutedBlock[src] 
fn block(&self) -> &ExecutedBlockGet the ExecutedBlock associated with this object.
fn to_base(&self) -> Block[src] 
fn to_base(&self) -> BlockGet the base Block object associated with this.
fn header(&self) -> &Header[src] 
fn header(&self) -> &HeaderGet the header associated with this object's block.
fn state(&self) -> &State<StateDB>[src] 
fn state(&self) -> &State<StateDB>Get the final state associated with this object's block.
fn transactions(&self) -> &[SignedTransaction][src] 
fn transactions(&self) -> &[SignedTransaction]Get all information on transactions in this block.
fn receipts(&self) -> &[Receipt][src] 
fn receipts(&self) -> &[Receipt]Get all information on receipts in this block.
fn traces(&self) -> &Tracing[src] 
fn traces(&self) -> &TracingGet all information concerning transaction tracing in this block.
fn uncles(&self) -> &[Header][src] 
fn uncles(&self) -> &[Header]Get all uncles in this block.
fn tracing_enabled(&self) -> bool[src] 
fn tracing_enabled(&self) -> boolGet tracing enabled flag for this block.
Auto Trait Implementations
impl Send for ClosedBlock
impl Send for ClosedBlockimpl !Sync for ClosedBlock
impl !Sync for ClosedBlock