VerifyHeader checks whether a header conforms to the consensus rules of a given engine. Verifying the sigs may be done optionally here, or explicitly via the VerifySeal method. `refHeader' points to the original header, but `header' only points to a copy.
(chain ChainReader, header *types.Header, verifySigs bool, refHeader *types.Header)
| 87 | // via the VerifySeal method. |
| 88 | // `refHeader' points to the original header, but `header' only points to a copy. |
| 89 | VerifyHeader(chain ChainReader, header *types.Header, verifySigs bool, refHeader *types.Header) error |
| 90 | |
| 91 | // VerifyHeaders is similar to VerifyHeader, but verifies a batch of headers |
| 92 | // concurrently. The method returns a quit channel to abort the operations and |
no outgoing calls