Struct ethcore::verification::NoopVerifier
source · [−]pub struct NoopVerifier;
Expand description
A no-op verifier – this will verify everything it’s given immediately.
Trait Implementations
sourceimpl<C: BlockInfo + CallContract> Verifier<C> for NoopVerifier
impl<C: BlockInfo + CallContract> Verifier<C> for NoopVerifier
sourcefn verify_block_family(
&self,
_: &Header,
_t: &Header,
_: &dyn EthEngine,
_: Option<FullFamilyParams<'_, C>>
) -> Result<(), Error>
fn verify_block_family(
&self,
_: &Header,
_t: &Header,
_: &dyn EthEngine,
_: Option<FullFamilyParams<'_, C>>
) -> Result<(), Error>
Verify a block relative to its parent and uncles.
Auto Trait Implementations
impl RefUnwindSafe for NoopVerifier
impl Send for NoopVerifier
impl Sync for NoopVerifier
impl Unpin for NoopVerifier
impl UnwindSafe for NoopVerifier
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