Table of Contents

Class UpdateInstructionSignatureMap

Namespace
Concordium.Sdk.Transactions
Assembly
Concordium.Sdk.dll

A map from UpdateKeysIndex to signatures.

public sealed record UpdateInstructionSignatureMap : IEquatable<UpdateInstructionSignatureMap>
Inheritance
UpdateInstructionSignatureMap
Implements
Inherited Members

Properties

Signatures

Internal representation of the map.

public ImmutableDictionary<UpdateKeysIndex, byte[]> Signatures { get; init; }

Property Value

ImmutableDictionary<UpdateKeysIndex, byte[]>

Methods

Create(Dictionary<UpdateKeysIndex, byte[]>)

Creates a new instance of the UpdateInstructionSignatureMap class.

public static UpdateInstructionSignatureMap Create(Dictionary<UpdateKeysIndex, byte[]> signatures)

Parameters

signatures Dictionary<UpdateKeysIndex, byte[]>

A map from update key indices to signatures.

Returns

UpdateInstructionSignatureMap

Exceptions

ArgumentException

A signature is not 64 bytes.

Equals(UpdateInstructionSignatureMap?)

Check for equality.

public bool Equals(UpdateInstructionSignatureMap? other)

Parameters

other UpdateInstructionSignatureMap

Returns

bool

GetHashCode()

Gets hash code.

public override int GetHashCode()

Returns

int

ToProto()

Converts the update signature map to its corresponding protocol buffer message instance.

public SignatureMap ToProto()

Returns

SignatureMap