Skip to main content

MisbehaviorReportDigestInterface

type MisbehaviorReportDigestInterface

The digest of a misbehavior report.

type MisbehaviorReportDigestInterface interface {
// Returns the next digest in byte-increasing order.
NextLexicographical() *MisbehaviorReportDigest
// Returns the next digest in byte-increasing order, or `None` if
// the result would overflow.
NextLexicographicalOpt() **MisbehaviorReportDigest
ToBase58() string
ToBytes() []byte
}