Skip to main content

CheckpointContents

open class CheckpointContents : Disposable, AutoCloseable, CheckpointContentsInterface

The committed to contents of a checkpoint.

CheckpointContents contains a list of digests of Transactions, their effects, and the user signatures that authorized their execution included in a checkpoint.

BCS

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

checkpoint-contents = %d00 checkpoint-contents-v1 ; variant 0

Functions

NameSummary
asV1open override fun asV1(): CheckpointContentsV1
close@Synchronized
open override fun close()
destroyopen override fun destroy()
digestopen override fun digest(): CheckpointContentsDigest
isEmptyopen override fun isEmpty(): Boolean
Whether this checkpoint has no transactions.
isV1open override fun isV1(): Boolean
lenopen override fun len(): ULong
The number of transactions in this checkpoint.
transactionsopen override fun transactions(): List<CheckpointTransactionInfo>

Companion object functions

NameSummary
newV1fun newV1(contents: CheckpointContentsV1): CheckpointContents