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
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
Exceptions
- ArgumentException
A signature is not 64 bytes.
Equals(UpdateInstructionSignatureMap?)
Check for equality.
public bool Equals(UpdateInstructionSignatureMap? other)
Parameters
Returns
GetHashCode()
Gets hash code.
public override int GetHashCode()
Returns
ToProto()
Converts the update signature map to its corresponding protocol buffer message instance.
public SignatureMap ToProto()