Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChainReader ¶
type Data ¶
type Data interface { // for msgp msgp.Decodable msgp.Encodable msgp.Marshaler msgp.Unmarshaler msgp.Sizer DataWrapper DataUnWrapper }
type DataUnWrapper ¶
type DataWrapper ¶
type Verifier ¶
type Verifier interface { // VerifyHeader checks whether a header conforms to the consensus rules of a // given engine. VerifyHeader(chain ChainReader, header Header) error VerifyHeaderWithoutForge(chain ChainReader, header Header) error // VerifySeal checks whether the crypto seal on a header is valid according to // the consensus rules of the given engine. VerifyForge(chain ChainReader, header Header) error }
Click to show internal directories.
Click to hide internal directories.