Trait ethcore::verification::queue::kind::BlockLike    [−][src]
pub trait BlockLike {
    fn hash(&self) -> H256;
    fn parent_hash(&self) -> H256;
    fn difficulty(&self) -> U256;
}Something which can produce a hash and a parent hash.
Required Methods
fn hash(&self) -> H256
Get the hash of this item.
fn parent_hash(&self) -> H256
Get the hash of this item's parent.
fn difficulty(&self) -> U256
Get the difficulty of this item.
Implementors
impl BlockLike for Unverifiedimpl BlockLike for PreverifiedBlockimpl BlockLike for Header