Skip to main content

CheckpointContents

Namespace: IotaSdk

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
public class CheckpointContents : ICheckpointContents, System.IDisposable

Inheritance ObjectCheckpointContents
Implements ICheckpointContents, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors

CheckpointContents(UInt64)

public CheckpointContents(ulong pointer)

Parameters

pointer UInt64

Methods

Destroy()

public void Destroy()

Dispose()

public void Dispose()

AsV1()

public CheckpointContentsV1 AsV1()

Returns

CheckpointContentsV1

Digest()

public CheckpointContentsDigest Digest()

Returns

CheckpointContentsDigest

IsEmpty()

Whether this checkpoint has no transactions.

public bool IsEmpty()

Returns

Boolean

IsV1()

public bool IsV1()

Returns

Boolean

Len()

The number of transactions in this checkpoint.

public ulong Len()

Returns

UInt64

Transactions()

public CheckpointTransactionInfo[] Transactions()

Returns

CheckpointTransactionInfo[]

NewV1(CheckpointContentsV1)

public static CheckpointContents NewV1(CheckpointContentsV1 contents)

Parameters

contents CheckpointContentsV1

Returns

CheckpointContents