Validator is an interface which defines the standard for block validation.

The validator is responsible for validating incoming block or, if desired, validates headers for fast validation.

ValidateBlock validates the given block and should return an error if it failed to do so and should be used for "full" validation.

ValidateHeader validates the given header and parent and returns an error if it failed to do so.

ValidateState validates the given statedb and optionally the receipts and gas used. The implementer should decide what to do with the given input.

Validator is referenced in 1 repository