Skip to main content

MisbehaviorReportDigest

open class MisbehaviorReportDigest : Disposable, AutoCloseable, MisbehaviorReportDigestInterface

The digest of a misbehavior report.

Functions​

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
equalsopen operator override fun equals(other: Any?): Boolean
hashCodeopen override fun hashCode(): Int
nextLexicographicalopen override fun nextLexicographical(): MisbehaviorReportDigest
Returns the next digest in byte-increasing order.
nextLexicographicalOptopen override fun nextLexicographicalOpt(): MisbehaviorReportDigest?
Returns the next digest in byte-increasing order, or None if the result would overflow.
toBase58open override fun toBase58(): String
toBcsopen override fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toBytesopen override fun toBytes(): ByteArray
toDisplayStringopen override fun toDisplayString(): String
Render this type as human-readable text.
toJsonopen override fun toJson(): String
Convert this type to a JSON encoded string.
toStringopen override fun toString(): String

Companion object functions​

NameSummary
fromBase58fun fromBase58(base58: String): MisbehaviorReportDigest
fromBcsfun fromBcs(bcs: ByteArray): MisbehaviorReportDigest
Create this type from BCS encoded bytes.
fromBytesfun fromBytes(bytes: ByteArray): MisbehaviorReportDigest
fromJsonfun fromJson(json: String): MisbehaviorReportDigest
Create this type from a JSON encoded string.
randomfun random(): MisbehaviorReportDigest