Trait parity_machine::LiveBlock[][src]

pub trait LiveBlock: 'static {
    type Header: Header;
    fn header(&self) -> &Self::Header;
fn uncles(&self) -> &[Self::Header]; }

A "live" block is one which is in the process of the transition. The state of this block can be mutated by arbitrary rules of the state transition function.

Associated Types

The block header type;

Required Methods

Get a reference to the header.

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

Implementors