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
| Name | Summary |
|---|---|
| asV1 | open override fun asV1(): CheckpointContentsV1 |
| close | @Synchronized open override fun close() |
| destroy | open override fun destroy() |
| digest | open override fun digest(): CheckpointContentsDigest |
| isEmpty | open override fun isEmpty(): Boolean Whether this checkpoint has no transactions. |
| isV1 | open override fun isV1(): Boolean |
| len | open override fun len(): ULong The number of transactions in this checkpoint. |
| transactions | open override fun transactions(): List<CheckpointTransactionInfo> |
Companion object functions
| Name | Summary |
|---|---|
| newV1 | fun newV1(contents: CheckpointContentsV1): CheckpointContents |