Skip to main content

ConsensusCommitPrologueV1Interface

type ConsensusCommitPrologueV1Interface

V1 of the consensus commit prologue system transaction

BCS

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

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

type ConsensusCommitPrologueV1Interface interface {
// Unix timestamp from consensus
CommitTimestampMs() uint64
// Digest of consensus output
ConsensusCommitDigest() *ConsensusCommitDigest
// Stores consensus handler determined shared object version assignments.
ConsensusDeterminedVersionAssignments() *ConsensusDeterminedVersionAssignments
// Epoch of the commit prologue transaction
Epoch() uint64
// Consensus round of the commit
Round() uint64
// The sub DAG index of the consensus commit. This field will be populated
// if there are multiple consensus commits per round.
SubDagIndex() *uint64
}