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 of this type is specified in bcs-schema.abnf.
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. |
| toBcs | open override fun toBcs(): ByteArray Convert this type to BCS encoded bytes. |
| toDisplayString | open override fun toDisplayString(): String Render this type as human-readable text. |
| toJson | open override fun toJson(): String Convert this type to a JSON encoded string. |
| transactions | open override fun transactions(): List<CheckpointTransactionInfo> |
Companion object functions
| Name | Summary |
|---|---|
| fromBcs | fun fromBcs(bcs: ByteArray): CheckpointContents Create this type from BCS encoded bytes. |
| fromJson | fun fromJson(json: String): CheckpointContents Create this type from a JSON encoded string. |
| newV1 | fun newV1(contents: CheckpointContentsV1): CheckpointContents |