Skip to main content

ConsensusCommitPrologueV1

open class ConsensusCommitPrologueV1 : Disposable, AutoCloseable, ConsensusCommitPrologueV1Interface

V1 of the consensus commit prologue system transaction

BCS

The BCS serialized form for this type is defined by the following ABNF:

consensus-commit-prologue-v1 = u64 u64 (option u64) u64 digest
consensus-determined-version-assignments

Constructors

ConsensusCommitPrologueV1constructor(epoch: ULong, round: ULong, subDagIndex: ULong?, commitTimestampMs: ULong, consensusCommitDigest: ConsensusCommitDigest, consensusDeterminedVersionAssignments: ConsensusDeterminedVersionAssignments)

Functions

NameSummary
close@Synchronized
open override fun close()
commitTimestampMsopen override fun commitTimestampMs(): ULong
Unix timestamp from consensus
consensusCommitDigestopen override fun consensusCommitDigest(): ConsensusCommitDigest
Digest of consensus output
consensusDeterminedVersionAssignmentsopen override fun consensusDeterminedVersionAssignments(): ConsensusDeterminedVersionAssignments
Stores consensus handler determined shared object version assignments.
destroyopen override fun destroy()
epochopen override fun epoch(): ULong
Epoch of the commit prologue transaction
equalsopen operator override fun equals(other: Any?): Boolean
roundopen override fun round(): ULong
Consensus round of the commit
subDagIndexopen override fun subDagIndex(): ULong?
The sub DAG index of the consensus commit. This field will be populated if there are multiple consensus commits per round.
toStringopen override fun toString(): String