Table of Contents

Class UpdatePayload

Namespace
Concordium.Grpc.V2
Assembly
Concordium.Sdk.dll

The payload of a chain update.

public sealed class UpdatePayload : IMessage<UpdatePayload>, IEquatable<UpdatePayload>, IDeepCloneable<UpdatePayload>, IBufferMessage, IMessage
Inheritance
UpdatePayload
Implements
IMessage<UpdatePayload>
IDeepCloneable<UpdatePayload>
IBufferMessage
IMessage
Inherited Members

Constructors

UpdatePayload()

public UpdatePayload()

UpdatePayload(UpdatePayload)

public UpdatePayload(UpdatePayload other)

Parameters

other UpdatePayload

Fields

AddAnonymityRevokerUpdateFieldNumber

Field number for the "add_anonymity_revoker_update" field.

public const int AddAnonymityRevokerUpdateFieldNumber = 12

Field Value

int

AddIdentityProviderUpdateFieldNumber

Field number for the "add_identity_provider_update" field.

public const int AddIdentityProviderUpdateFieldNumber = 13

Field Value

int

BakerStakeThresholdUpdateFieldNumber

Field number for the "baker_stake_threshold_update" field.

public const int BakerStakeThresholdUpdateFieldNumber = 9

Field Value

int

BlockEnergyLimitUpdateFieldNumber

Field number for the "block_energy_limit_update" field.

public const int BlockEnergyLimitUpdateFieldNumber = 21

Field Value

int

CooldownParametersCpv1UpdateFieldNumber

Field number for the "cooldown_parameters_cpv_1_update" field.

public const int CooldownParametersCpv1UpdateFieldNumber = 14

Field Value

int

ElectionDifficultyUpdateFieldNumber

Field number for the "election_difficulty_update" field.

public const int ElectionDifficultyUpdateFieldNumber = 2

Field Value

int

EuroPerEnergyUpdateFieldNumber

Field number for the "euro_per_energy_update" field.

public const int EuroPerEnergyUpdateFieldNumber = 3

Field Value

int

FinalizationCommitteeParametersUpdateFieldNumber

Field number for the "finalization_committee_parameters_update" field.

public const int FinalizationCommitteeParametersUpdateFieldNumber = 22

Field Value

int

FoundationAccountUpdateFieldNumber

Field number for the "foundation_account_update" field.

public const int FoundationAccountUpdateFieldNumber = 5

Field Value

int

GasRewardsCpv2UpdateFieldNumber

Field number for the "gas_rewards_cpv_2_update" field.

public const int GasRewardsCpv2UpdateFieldNumber = 18

Field Value

int

GasRewardsUpdateFieldNumber

Field number for the "gas_rewards_update" field.

public const int GasRewardsUpdateFieldNumber = 8

Field Value

int

Level1UpdateFieldNumber

Field number for the "level_1_update" field.

public const int Level1UpdateFieldNumber = 11

Field Value

int

MicroCcdPerEuroUpdateFieldNumber

Field number for the "micro_ccd_per_euro_update" field.

public const int MicroCcdPerEuroUpdateFieldNumber = 4

Field Value

int

MinBlockTimeUpdateFieldNumber

Field number for the "min_block_time_update" field.

public const int MinBlockTimeUpdateFieldNumber = 20

Field Value

int

MintDistributionCpv1UpdateFieldNumber

Field number for the "mint_distribution_cpv_1_update" field.

public const int MintDistributionCpv1UpdateFieldNumber = 17

Field Value

int

MintDistributionUpdateFieldNumber

Field number for the "mint_distribution_update" field.

public const int MintDistributionUpdateFieldNumber = 6

Field Value

int

PoolParametersCpv1UpdateFieldNumber

Field number for the "pool_parameters_cpv_1_update" field.

public const int PoolParametersCpv1UpdateFieldNumber = 15

Field Value

int

ProtocolUpdateFieldNumber

Field number for the "protocol_update" field.

public const int ProtocolUpdateFieldNumber = 1

Field Value

int

RootUpdateFieldNumber

Field number for the "root_update" field.

public const int RootUpdateFieldNumber = 10

Field Value

int

TimeParametersCpv1UpdateFieldNumber

Field number for the "time_parameters_cpv_1_update" field.

public const int TimeParametersCpv1UpdateFieldNumber = 16

Field Value

int

TimeoutParametersUpdateFieldNumber

Field number for the "timeout_parameters_update" field.

public const int TimeoutParametersUpdateFieldNumber = 19

Field Value

int

TransactionFeeDistributionUpdateFieldNumber

Field number for the "transaction_fee_distribution_update" field.

public const int TransactionFeeDistributionUpdateFieldNumber = 7

Field Value

int

Properties

AddAnonymityRevokerUpdate

An anonymity revoker was added.

public ArInfo AddAnonymityRevokerUpdate { get; set; }

Property Value

ArInfo

AddIdentityProviderUpdate

An identity provider was added.

public IpInfo AddIdentityProviderUpdate { get; set; }

Property Value

IpInfo

BakerStakeThresholdUpdate

The minimum amount of CCD needed to be come a baker was updated.

public BakerStakeThreshold BakerStakeThresholdUpdate { get; set; }

Property Value

BakerStakeThreshold

BlockEnergyLimitUpdate

The block energy limit was updated (chain parameters version 2).

public Energy BlockEnergyLimitUpdate { get; set; }

Property Value

Energy

CooldownParametersCpv1Update

The cooldown parameters were updated.

public CooldownParametersCpv1 CooldownParametersCpv1Update { get; set; }

Property Value

CooldownParametersCpv1

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

ElectionDifficultyUpdate

The election difficulty was updated.

public ElectionDifficulty ElectionDifficultyUpdate { get; set; }

Property Value

ElectionDifficulty

EuroPerEnergyUpdate

The euro per energy exchange rate was updated.

public ExchangeRate EuroPerEnergyUpdate { get; set; }

Property Value

ExchangeRate

FinalizationCommitteeParametersUpdate

Finalization committee parameters (chain parameters version 2).

public FinalizationCommitteeParameters FinalizationCommitteeParametersUpdate { get; set; }

Property Value

FinalizationCommitteeParameters

FoundationAccountUpdate

The foundation account address was updated.

public AccountAddress FoundationAccountUpdate { get; set; }

Property Value

AccountAddress

GasRewardsCpv2Update

The gas rewards were updated (chain parameters version 2).

public GasRewardsCpv2 GasRewardsCpv2Update { get; set; }

Property Value

GasRewardsCpv2

GasRewardsUpdate

The gas rewards were updated.

public GasRewards GasRewardsUpdate { get; set; }

Property Value

GasRewards

Level1Update

The level 1 keys were updated.

public Level1Update Level1Update { get; set; }

Property Value

Level1Update

MicroCcdPerEuroUpdate

The microCCD per euro exchange rate was updated.

public ExchangeRate MicroCcdPerEuroUpdate { get; set; }

Property Value

ExchangeRate

MinBlockTimeUpdate

The minimum time between blocks was updated (chain parameters version 2).

public Duration MinBlockTimeUpdate { get; set; }

Property Value

Duration

MintDistributionCpv1Update

The mint distribution was updated.

public MintDistributionCpv1 MintDistributionCpv1Update { get; set; }

Property Value

MintDistributionCpv1

MintDistributionUpdate

The mint distribution was updated.

public MintDistributionCpv0 MintDistributionUpdate { get; set; }

Property Value

MintDistributionCpv0

Parser

public static MessageParser<UpdatePayload> Parser { get; }

Property Value

MessageParser<UpdatePayload>

PayloadCase

public UpdatePayload.PayloadOneofCase PayloadCase { get; }

Property Value

UpdatePayload.PayloadOneofCase

PoolParametersCpv1Update

The pool parameters were updated.

public PoolParametersCpv1 PoolParametersCpv1Update { get; set; }

Property Value

PoolParametersCpv1

ProtocolUpdate

The protocol version was updated.

public ProtocolUpdate ProtocolUpdate { get; set; }

Property Value

ProtocolUpdate

RootUpdate

The root keys were updated.

public RootUpdate RootUpdate { get; set; }

Property Value

RootUpdate

TimeParametersCpv1Update

The time parameters were updated.

public TimeParametersCpv1 TimeParametersCpv1Update { get; set; }

Property Value

TimeParametersCpv1

TimeoutParametersUpdate

The consensus timeouts were updated (chain parameters version 2).

public TimeoutParameters TimeoutParametersUpdate { get; set; }

Property Value

TimeoutParameters

TransactionFeeDistributionUpdate

The transaction fee distribtuion was updated.

public TransactionFeeDistribution TransactionFeeDistributionUpdate { get; set; }

Property Value

TransactionFeeDistribution

Methods

CalculateSize()

Calculates the size of this message in Protocol Buffer wire format, in bytes.

public int CalculateSize()

Returns

int

The number of bytes required to write this message to a coded output stream.

ClearPayload()

public void ClearPayload()

Clone()

Creates a deep clone of this object.

public UpdatePayload Clone()

Returns

UpdatePayload

A deep clone of this object.

Equals(UpdatePayload)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(UpdatePayload other)

Parameters

other UpdatePayload

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object other)

Parameters

other object

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

MergeFrom(UpdatePayload)

Merges the given message into this one.

public void MergeFrom(UpdatePayload other)

Parameters

other UpdatePayload

Remarks

See the user guide for precise merge semantics.

MergeFrom(CodedInputStream)

Merges the data from the specified coded input stream with the current message.

public void MergeFrom(CodedInputStream input)

Parameters

input CodedInputStream

Remarks

See the user guide for precise merge semantics.

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

WriteTo(CodedOutputStream)

Writes the data to the given coded output stream.

public void WriteTo(CodedOutputStream output)

Parameters

output CodedOutputStream

Coded output stream to write the data to. Must not be null.