Skip to main content

ConsensusCommitDigest

open class ConsensusCommitDigest : Disposable, AutoCloseable, ConsensusCommitDigestInterface

The digest of a consensus commit.

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(): ConsensusCommitDigest
Returns the next digest in byte-increasing order.
nextLexicographicalOptopen override fun nextLexicographicalOpt(): ConsensusCommitDigest?
Returns the next digest in byte-increasing order, or None if the result would overflow.
toBase58open override fun toBase58(): String
toBytesopen override fun toBytes(): ByteArray
toStringopen override fun toString(): String

Companion object functions

NameSummary
fromBase58fun fromBase58(base58: String): ConsensusCommitDigest
fromBytesfun fromBytes(bytes: ByteArray): ConsensusCommitDigest
randomfun random(): ConsensusCommitDigest