Skip to main content

CheckpointContentsV1Interface

interface CheckpointContentsV1Interface

CheckpointContents are the transactions included in an upcoming checkpoint. They must have already been causally ordered. Since the causal order algorithm is the same among validators, we expect all honest validators to come up with the same order for each checkpoint content.

BCS

The BCS serialized form of this type is specified in bcs-schema.abnf.

Inheritors​

CheckpointContentsV1

Functions​

NameSummary
isEmptyabstract fun isEmpty(): Boolean
Whether this checkpoint has no transactions.
lenabstract fun len(): ULong
The number of transactions in this checkpoint.
toBcsabstract fun toBcs(): ByteArray
Convert this type to BCS encoded bytes.
toDisplayStringabstract fun toDisplayString(): String
Render this type as human-readable text.
toJsonabstract fun toJson(): String
Convert this type to a JSON encoded string.
transactionsabstract fun transactions(): List<CheckpointTransactionInfo>