Skip to main content

CheckpointContents

CheckpointContents​

class CheckpointContents

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

asV1()​

func asV1() -> CheckpointContentsV1

digest()​

func digest() -> CheckpointContentsDigest

isEmpty()​

func isEmpty() -> Bool

Whether this checkpoint has no transactions.

isV1()​

func isV1() -> Bool

len()​

func len() -> UInt64

The number of transactions in this checkpoint.

transactions()​

func transactions() -> [CheckpointTransactionInfo]

newV1(contents:)​

static func newV1(contents: CheckpointContentsV1) -> CheckpointContents