Struct ethcore::snapshot::PowRebuilder
source · [−]pub struct PowRebuilder { /* private fields */ }
Expand description
Rebuilder for proof-of-work chains.
Does basic verification for all blocks, but PoW
verification for some.
Blocks must be fed in-order.
The first block in every chunk is disconnected from the last block in the chunk before it, as chunks may be submitted out-of-order.
After all chunks have been submitted, we “glue” the chunks together.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for PowRebuilder
impl Send for PowRebuilder
impl Sync for PowRebuilder
impl Unpin for PowRebuilder
impl !UnwindSafe for PowRebuilder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more