Versions in this module Expand all Collapse all v1 v1.999.0 Nov 17, 2022 Changes in this version + var ErrInvalidChainID = errors.New("invalid chain ID") + var ErrInvalidReferenceChainID = errors.New("invalid reference Chain ID provided") + var ErrNilHeaderVersionHandler = errors.New("nil header version handler") + var ErrNotEnoughSignatures = errors.New("not enough signatures in block") + var ErrWrongSizeBitmap = errors.New("wrong size bitmap has been provided") + func NewHeaderIntegrityVerifier(referenceChainID []byte, headerVersionHandler factory.HeaderVersionHandler) (*headerIntegrityVerifier, error) + type ArgsHeaderSigVerifier struct + FallbackHeaderValidator process.FallbackHeaderValidator + Hasher hashing.Hasher + KeyGen crypto.KeyGenerator + Marshalizer marshal.Marshalizer + MultiSigVerifier crypto.MultiSigVerifier + NodesCoordinator nodesCoordinator.NodesCoordinator + SingleSigVerifier crypto.SingleSigner + type HeaderSigVerifier struct + func NewHeaderSigVerifier(arguments *ArgsHeaderSigVerifier) (*HeaderSigVerifier, error) + func (hsv *HeaderSigVerifier) IsInterfaceNil() bool + func (hsv *HeaderSigVerifier) VerifyLeaderSignature(header data.HeaderHandler) error + func (hsv *HeaderSigVerifier) VerifyRandSeed(header data.HeaderHandler) error + func (hsv *HeaderSigVerifier) VerifyRandSeedAndLeaderSignature(header data.HeaderHandler) error + func (hsv *HeaderSigVerifier) VerifySignature(header data.HeaderHandler) error