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 Object → CheckpointContents
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
Digest()
public CheckpointContentsDigest Digest()
Returns
IsEmpty()
Whether this checkpoint has no transactions.
public bool IsEmpty()
Returns
IsV1()
public bool IsV1()
Returns
Len()
The number of transactions in this checkpoint.
public ulong Len()
Returns
Transactions()
public CheckpointTransactionInfo[] Transactions()
Returns
NewV1(CheckpointContentsV1)
public static CheckpointContents NewV1(CheckpointContentsV1 contents)
Parameters
contents CheckpointContentsV1