Struct ethcore::verification::verification::PreverifiedBlock
[−]
[src]
pub struct PreverifiedBlock { pub header: Header, pub transactions: Vec<SignedTransaction>, pub bytes: Bytes, }
Preprocessed block data gathered in verify_block_unordered
call
Fields
header: Header
Populated block header
transactions: Vec<SignedTransaction>
Populated block transactions
bytes: Bytes
Block bytes
Trait Implementations
impl HeapSizeOf for PreverifiedBlock
[src]
fn heap_size_of_children(&self) -> usize
Measure the size of any heap-allocated structures that hang off this value, but not the space taken up by the value itself (i.e. what size_of::
impl BlockLike for PreverifiedBlock
[src]
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.