Skip to main content

ConsensusCommitDigest

Namespace: IotaSdk

The digest of a consensus commit.

public class ConsensusCommitDigest : IConsensusCommitDigest, System.IEquatable`1[[IotaSdk.ConsensusCommitDigest, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IDisposable

Inheritance Object → ConsensusCommitDigest
Implements IConsensusCommitDigest, IEquatable<ConsensusCommitDigest>, IDisposable
Attributes NullableContextAttribute, NullableAttribute

Constructors​

ConsensusCommitDigest(UInt64)​

public ConsensusCommitDigest(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

NextLexicographical()​

Returns the next digest in byte-increasing order.

public ConsensusCommitDigest NextLexicographical()

Returns​

ConsensusCommitDigest

NextLexicographicalOpt()​

Returns the next digest in byte-increasing order, or None if the result would overflow.

public ConsensusCommitDigest? NextLexicographicalOpt()

Returns​

ConsensusCommitDigest?

ToBase58()​

public string ToBase58()

Returns​

String

ToBytes()​

public Byte[] ToBytes()

Returns​

Byte[]

ToString()​

public override string ToString()

Returns​

String

Equals(ConsensusCommitDigest)​

public bool Equals(ConsensusCommitDigest? other)

Parameters​

other ConsensusCommitDigest?

Returns​

Boolean

Equals(Object)​

public override bool Equals(object? obj)

Parameters​

obj Object?

Returns​

Boolean

GetHashCode()​

public override int GetHashCode()

Returns​

Int32

FromBase58(String)​

public static ConsensusCommitDigest FromBase58(string base58)

Parameters​

base58 String

Returns​

ConsensusCommitDigest

Exceptions​

SdkFfiException

FromBytes(Byte[])​

public static ConsensusCommitDigest FromBytes(Byte[] bytes)

Parameters​

bytes Byte[]

Returns​

ConsensusCommitDigest

Exceptions​

SdkFfiException

Random()​

public static ConsensusCommitDigest Random()

Returns​

ConsensusCommitDigest