Skip to main content

CheckpointContentsProtocol

CheckpointContentsProtocol Objects

class CheckpointContentsProtocol(typing.Protocol)

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

is_empty

def is_empty() -> bool

Whether this checkpoint has no transactions.

len

def len() -> int

The number of transactions in this checkpoint.