consensus: remove seal verification from the consensus engine interface (#22274)

This commit is contained in:
Guillaume Ballet
2021-02-05 19:44:34 +01:00
committed by GitHub
parent 7ed860d4f1
commit e74bd587f7
5 changed files with 4 additions and 20 deletions

View File

@ -77,10 +77,6 @@ type Engine interface {
// rules of a given engine.
VerifyUncles(chain ChainReader, block *types.Block) error
// VerifySeal checks whether the crypto seal on a header is valid according to
// the consensus rules of the given engine.
VerifySeal(chain ChainHeaderReader, header *types.Header) error
// Prepare initializes the consensus fields of a block header according to the
// rules of a particular engine. The changes are executed inline.
Prepare(chain ChainHeaderReader, header *types.Header) error