Skip to main content

CheckpointContentsV1

Namespace: IotaSdk

CheckpointContents are the transactions included in an upcoming checkpoint. They must have already been causally ordered. Since the causal order algorithm is the same among validators, we expect all honest validators to come up with the same order for each checkpoint content.

BCS

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

checkpoint-contents-v1 = (vector execution-digests) ; transaction and effect digests
(vector (vector user-signature)) ; set of user signatures for each
; transaction. MUST be the same
; length as the vector of digests

execution-digests = transaction-digest transaction-effects-digest ; transaction, effects
public class CheckpointContentsV1 : ICheckpointContentsV1, System.IDisposable

Inheritance ObjectCheckpointContentsV1
Implements ICheckpointContentsV1, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

CheckpointContentsV1(UInt64)

public CheckpointContentsV1(ulong pointer)

Parameters

pointer UInt64

CheckpointContentsV1(CheckpointTransactionInfo[])

public CheckpointContentsV1(CheckpointTransactionInfo[] transactionInfo)

Parameters

transactionInfo CheckpointTransactionInfo[]

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

IsEmpty()

Whether this checkpoint has no transactions.

public bool IsEmpty()

Returns

Boolean

Len()

The number of transactions in this checkpoint.

public ulong Len()

Returns

UInt64

Transactions()

public CheckpointTransactionInfo[] Transactions()

Returns

CheckpointTransactionInfo[]