pub struct NoOp;
Expand description

Special “no-op” verifier for stateless, epoch-less engines.

Trait Implementations

Lightly verify the next block header. This may not be a header belonging to a different epoch. Read more

Perform potentially heavier checks on the next block header.

Check a finality proof against this epoch verifier. Returns Some(hashes) if the proof proves finality of these hashes. Returns None if the proof doesn’t prove anything. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.