Skip to main content

ConsensusCommitPrologueV1

ConsensusCommitPrologueV1 Objects​

class ConsensusCommitPrologueV1(ConsensusCommitPrologueV1Protocol)

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

commit_timestamp_ms​

def commit_timestamp_ms() -> int

Unix timestamp from consensus

consensus_commit_digest​

def consensus_commit_digest() -> ConsensusCommitDigest

Digest of consensus output

consensus_determined_version_assignments​

def consensus_determined_version_assignments(
) -> ConsensusDeterminedVersionAssignments

Stores consensus handler determined shared object version assignments.

epoch​

def epoch() -> int

Epoch of the commit prologue transaction

round​

def round() -> int

Consensus round of the commit

sub_dag_index​

def sub_dag_index() -> typing.Optional[int]

The sub DAG index of the consensus commit. This field will be populated if there are multiple consensus commits per round.