Table of Contents

Class PendingUpdate

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

A pending update.

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

Constructors

PendingUpdate()

public PendingUpdate()

PendingUpdate(PendingUpdate)

public PendingUpdate(PendingUpdate other)

Parameters

other PendingUpdate

Fields

AddAnonymityRevokerFieldNumber

Field number for the "add_anonymity_revoker" field.

public const int AddAnonymityRevokerFieldNumber = 17

Field Value

int

AddIdentityProviderFieldNumber

Field number for the "add_identity_provider" field.

public const int AddIdentityProviderFieldNumber = 18

Field Value

int

BlockEnergyLimitFieldNumber

Field number for the "block_energy_limit" field.

public const int BlockEnergyLimitFieldNumber = 24

Field Value

int

CooldownParametersFieldNumber

Field number for the "cooldown_parameters" field.

public const int CooldownParametersFieldNumber = 19

Field Value

int

EffectiveTimeFieldNumber

Field number for the "effective_time" field.

public const int EffectiveTimeFieldNumber = 1

Field Value

int

ElectionDifficultyFieldNumber

Field number for the "election_difficulty" field.

public const int ElectionDifficultyFieldNumber = 7

Field Value

int

EuroPerEnergyFieldNumber

Field number for the "euro_per_energy" field.

public const int EuroPerEnergyFieldNumber = 8

Field Value

int

FinalizationCommitteeParametersFieldNumber

Field number for the "finalization_committee_parameters" field.

public const int FinalizationCommitteeParametersFieldNumber = 25

Field Value

int

FoundationAccountFieldNumber

Field number for the "foundation_account" field.

public const int FoundationAccountFieldNumber = 10

Field Value

int

GasRewardsCpv2FieldNumber

Field number for the "gas_rewards_cpv_2" field.

public const int GasRewardsCpv2FieldNumber = 21

Field Value

int

GasRewardsFieldNumber

Field number for the "gas_rewards" field.

public const int GasRewardsFieldNumber = 14

Field Value

int

Level1KeysFieldNumber

Field number for the "level1_keys" field.

public const int Level1KeysFieldNumber = 3

Field Value

int

Level2KeysCpv0FieldNumber

Field number for the "level2_keys_cpv_0" field.

public const int Level2KeysCpv0FieldNumber = 4

Field Value

int

Level2KeysCpv1FieldNumber

Field number for the "level2_keys_cpv_1" field.

public const int Level2KeysCpv1FieldNumber = 5

Field Value

int

MicroCcdPerEuroFieldNumber

Field number for the "micro_ccd_per_euro" field.

public const int MicroCcdPerEuroFieldNumber = 9

Field Value

int

MinBlockTimeFieldNumber

Field number for the "min_block_time" field.

public const int MinBlockTimeFieldNumber = 23

Field Value

int

MintDistributionCpv0FieldNumber

Field number for the "mint_distribution_cpv_0" field.

public const int MintDistributionCpv0FieldNumber = 11

Field Value

int

MintDistributionCpv1FieldNumber

Field number for the "mint_distribution_cpv_1" field.

public const int MintDistributionCpv1FieldNumber = 12

Field Value

int

PoolParametersCpv0FieldNumber

Field number for the "pool_parameters_cpv_0" field.

public const int PoolParametersCpv0FieldNumber = 15

Field Value

int

PoolParametersCpv1FieldNumber

Field number for the "pool_parameters_cpv_1" field.

public const int PoolParametersCpv1FieldNumber = 16

Field Value

int

ProtocolFieldNumber

Field number for the "protocol" field.

public const int ProtocolFieldNumber = 6

Field Value

int

RootKeysFieldNumber

Field number for the "root_keys" field.

public const int RootKeysFieldNumber = 2

Field Value

int

TimeParametersFieldNumber

Field number for the "time_parameters" field.

public const int TimeParametersFieldNumber = 20

Field Value

int

TimeoutParametersFieldNumber

Field number for the "timeout_parameters" field.

public const int TimeoutParametersFieldNumber = 22

Field Value

int

TransactionFeeDistributionFieldNumber

Field number for the "transaction_fee_distribution" field.

public const int TransactionFeeDistributionFieldNumber = 13

Field Value

int

Properties

AddAnonymityRevoker

Adds a new anonymity revoker.

public ArInfo AddAnonymityRevoker { get; set; }

Property Value

ArInfo

AddIdentityProvider

Adds a new identity provider.

public IpInfo AddIdentityProvider { get; set; }

Property Value

IpInfo

BlockEnergyLimit

Updates to the block energy limit for chain parameters version 2.

public Energy BlockEnergyLimit { get; set; }

Property Value

Energy

CooldownParameters

Updates to cooldown parameters for chain parameters version 1 introduced in protocol version 4.

public CooldownParametersCpv1 CooldownParameters { get; set; }

Property Value

CooldownParametersCpv1

Descriptor

public static MessageDescriptor Descriptor { get; }

Property Value

MessageDescriptor

EffectCase

public PendingUpdate.EffectOneofCase EffectCase { get; }

Property Value

PendingUpdate.EffectOneofCase

EffectiveTime

The effective time of the update.

public TransactionTime EffectiveTime { get; set; }

Property Value

TransactionTime

ElectionDifficulty

Updates to the election difficulty parameter.

public ElectionDifficulty ElectionDifficulty { get; set; }

Property Value

ElectionDifficulty

EuroPerEnergy

Updates to the euro:energy exchange rate.

public ExchangeRate EuroPerEnergy { get; set; }

Property Value

ExchangeRate

FinalizationCommitteeParameters

Updates to the finalization committee for for chain parameters version 2.

public FinalizationCommitteeParameters FinalizationCommitteeParameters { get; set; }

Property Value

FinalizationCommitteeParameters

FoundationAccount

Updates to the foundation account.

public AccountAddress FoundationAccount { get; set; }

Property Value

AccountAddress

GasRewards

Updates to the GAS rewards.

public GasRewards GasRewards { get; set; }

Property Value

GasRewards

GasRewardsCpv2

Updates to the GAS rewards effective from protocol version 6 (chain parameters version 2).

public GasRewardsCpv2 GasRewardsCpv2 { get; set; }

Property Value

GasRewardsCpv2

Level1Keys

Updates to the level 1 keys.

public HigherLevelKeys Level1Keys { get; set; }

Property Value

HigherLevelKeys

Level2KeysCpv0

Updates to the level 2 keys.

public AuthorizationsV0 Level2KeysCpv0 { get; set; }

Property Value

AuthorizationsV0

Level2KeysCpv1

Updates to the level 2 keys.

public AuthorizationsV1 Level2KeysCpv1 { get; set; }

Property Value

AuthorizationsV1

MicroCcdPerEuro

Updates to the CCD:EUR exchange rate.

public ExchangeRate MicroCcdPerEuro { get; set; }

Property Value

ExchangeRate

MinBlockTime

Updates to the the minimum time between blocks for chain parameters version 2.

public Duration MinBlockTime { get; set; }

Property Value

Duration

MintDistributionCpv0

Updates to the mint distribution. Is only relevant prior to protocol version 4.

public MintDistributionCpv0 MintDistributionCpv0 { get; set; }

Property Value

MintDistributionCpv0

MintDistributionCpv1

The mint distribution was updated. Introduced in protocol version 4.

public MintDistributionCpv1 MintDistributionCpv1 { get; set; }

Property Value

MintDistributionCpv1

Parser

public static MessageParser<PendingUpdate> Parser { get; }

Property Value

MessageParser<PendingUpdate>

PoolParametersCpv0

Updates baker stake threshold. Is only relevant prior to protocol version 4.

public BakerStakeThreshold PoolParametersCpv0 { get; set; }

Property Value

BakerStakeThreshold

PoolParametersCpv1

Updates pool parameters. Introduced in protocol version 4.

public PoolParametersCpv1 PoolParametersCpv1 { get; set; }

Property Value

PoolParametersCpv1

Protocol

Protocol updates.

public ProtocolUpdate Protocol { get; set; }

Property Value

ProtocolUpdate

RootKeys

Updates to the root keys.

public HigherLevelKeys RootKeys { get; set; }

Property Value

HigherLevelKeys

TimeParameters

Updates to time parameters for chain parameters version 1 introduced in protocol version 4.

public TimeParametersCpv1 TimeParameters { get; set; }

Property Value

TimeParametersCpv1

TimeoutParameters

Updates to the consensus timeouts for chain parameters version 2.

public TimeoutParameters TimeoutParameters { get; set; }

Property Value

TimeoutParameters

TransactionFeeDistribution

Updates to the transaction fee distribution.

public TransactionFeeDistribution TransactionFeeDistribution { 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.

ClearEffect()

public void ClearEffect()

Clone()

Creates a deep clone of this object.

public PendingUpdate Clone()

Returns

PendingUpdate

A deep clone of this object.

Equals(PendingUpdate)

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

public bool Equals(PendingUpdate other)

Parameters

other PendingUpdate

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(PendingUpdate)

Merges the given message into this one.

public void MergeFrom(PendingUpdate other)

Parameters

other PendingUpdate

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.