ConsensusCommitPrologueTransaction
System transaction that runs at the beginning of a checkpoint, and is responsible for setting the current value of the clock, based on the timestamp from consensus.
type ConsensusCommitPrologueTransaction {
additionalStateDigest: String
commitTimestamp: DateTime
consensusCommitDigest: String
epoch: Epoch
round: UInt53
subDagIndex: UInt53
}
Fields
ConsensusCommitPrologueTransaction.additionalStateDigest ● String scalar
Digest of any additional state computed by the consensus handler. Used to detect forking bugs as early as possible.
Present in V4.
ConsensusCommitPrologueTransaction.commitTimestamp ● DateTime scalar
Unix timestamp from consensus.
Present in V1, V2, V3, V4.
ConsensusCommitPrologueTransaction.consensusCommitDigest ● String scalar
Digest of consensus output, encoded as a Base58 string.
Present in V2, V3, V4.
ConsensusCommitPrologueTransaction.epoch ● Epoch object
Epoch of the commit prologue transaction.
Present in V1, V2, V3, V4.
ConsensusCommitPrologueTransaction.round ● UInt53 scalar
Consensus round of the commit.
Present in V1, V2, V3, V4.
ConsensusCommitPrologueTransaction.subDagIndex ● UInt53 scalar
The sub DAG index of the consensus commit. This field is populated if there are multiple consensus commits per round.
Present in V3, V4.
Implemented By
TransactionKind union