# Packages
Package linktype defines the different link types of a hash chain.
# Variables
ErrCannotMerge is returned if two hash chains cannot be merged.
ErrDescendingTime is returned when the time in the hash chain is not ascending.
ErrEmpty is returned when the hash chain is empty.
ErrHeadNotFound is returned if the head could not be found in hash chain.
ErrIllegalCStart is returned when a cstart entry appears in a different row than row 1.
ErrLinkBroken is returned when a link in the hash chain is broken.
ErrMLargerThanN is returned when m > n.
ErrMustStartWithCStart is returned when the hash chain doess not start with a cstart entry.
ErrNothingToMerge is returned if there is nothing to merge.
ErrSignatureThresholdNonPositive is returned when the signature threshold is non-positive.
ErrUnknownLinkType is returned when the link type is unknown.
ErrWrongSigAddKey is returned when the signature of an addkey entry doesn't validate.
ErrWrongSigCStart is returned when the signature of a cstart entry doesn't validate.
ErrWrongSigSignature is returned when the signature of a signature entry doesn't validate.
ErrWrongSigSource is returned when the signature of a source entry doesn't validate.
ErrWrongTypeFields is returned when a hash chain entry has the wrong number of type fields.