Skip to content

Ethash.VerifySeal

NEW-ETC — no upstream or core-geth original.

File verifyseal.go
Symbol Ethash.VerifySeal
Ref etc/v1.17.3-full-node

NEW-ETC: exported seal verification entry point (neither upstream nor core-geth export this — both only have verifySeal)

// VerifySeal checks whether the crypto seal on a header is valid according to
// the consensus rules of the given engine.
func (ethash *Ethash) VerifySeal(header *types.Header) error {
    return ethash.verifySeal(nil, header, false)
}

← Consensus & Ethash