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>IBufferMessageIMessage
- 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
AddIdentityProviderFieldNumber
Field number for the "add_identity_provider" field.
public const int AddIdentityProviderFieldNumber = 18
Field Value
BlockEnergyLimitFieldNumber
Field number for the "block_energy_limit" field.
public const int BlockEnergyLimitFieldNumber = 24
Field Value
CooldownParametersFieldNumber
Field number for the "cooldown_parameters" field.
public const int CooldownParametersFieldNumber = 19
Field Value
EffectiveTimeFieldNumber
Field number for the "effective_time" field.
public const int EffectiveTimeFieldNumber = 1
Field Value
ElectionDifficultyFieldNumber
Field number for the "election_difficulty" field.
public const int ElectionDifficultyFieldNumber = 7
Field Value
EuroPerEnergyFieldNumber
Field number for the "euro_per_energy" field.
public const int EuroPerEnergyFieldNumber = 8
Field Value
FinalizationCommitteeParametersFieldNumber
Field number for the "finalization_committee_parameters" field.
public const int FinalizationCommitteeParametersFieldNumber = 25
Field Value
FoundationAccountFieldNumber
Field number for the "foundation_account" field.
public const int FoundationAccountFieldNumber = 10
Field Value
GasRewardsCpv2FieldNumber
Field number for the "gas_rewards_cpv_2" field.
public const int GasRewardsCpv2FieldNumber = 21
Field Value
GasRewardsFieldNumber
Field number for the "gas_rewards" field.
public const int GasRewardsFieldNumber = 14
Field Value
Level1KeysFieldNumber
Field number for the "level1_keys" field.
public const int Level1KeysFieldNumber = 3
Field Value
Level2KeysCpv0FieldNumber
Field number for the "level2_keys_cpv_0" field.
public const int Level2KeysCpv0FieldNumber = 4
Field Value
Level2KeysCpv1FieldNumber
Field number for the "level2_keys_cpv_1" field.
public const int Level2KeysCpv1FieldNumber = 5
Field Value
MicroCcdPerEuroFieldNumber
Field number for the "micro_ccd_per_euro" field.
public const int MicroCcdPerEuroFieldNumber = 9
Field Value
MinBlockTimeFieldNumber
Field number for the "min_block_time" field.
public const int MinBlockTimeFieldNumber = 23
Field Value
MintDistributionCpv0FieldNumber
Field number for the "mint_distribution_cpv_0" field.
public const int MintDistributionCpv0FieldNumber = 11
Field Value
MintDistributionCpv1FieldNumber
Field number for the "mint_distribution_cpv_1" field.
public const int MintDistributionCpv1FieldNumber = 12
Field Value
PoolParametersCpv0FieldNumber
Field number for the "pool_parameters_cpv_0" field.
public const int PoolParametersCpv0FieldNumber = 15
Field Value
PoolParametersCpv1FieldNumber
Field number for the "pool_parameters_cpv_1" field.
public const int PoolParametersCpv1FieldNumber = 16
Field Value
ProtocolFieldNumber
Field number for the "protocol" field.
public const int ProtocolFieldNumber = 6
Field Value
RootKeysFieldNumber
Field number for the "root_keys" field.
public const int RootKeysFieldNumber = 2
Field Value
TimeParametersFieldNumber
Field number for the "time_parameters" field.
public const int TimeParametersFieldNumber = 20
Field Value
TimeoutParametersFieldNumber
Field number for the "timeout_parameters" field.
public const int TimeoutParametersFieldNumber = 22
Field Value
TransactionFeeDistributionFieldNumber
Field number for the "transaction_fee_distribution" field.
public const int TransactionFeeDistributionFieldNumber = 13
Field Value
Properties
AddAnonymityRevoker
Adds a new anonymity revoker.
public ArInfo AddAnonymityRevoker { get; set; }
Property Value
AddIdentityProvider
Adds a new identity provider.
public IpInfo AddIdentityProvider { get; set; }
Property Value
BlockEnergyLimit
Updates to the block energy limit for chain parameters version 2.
public Energy BlockEnergyLimit { get; set; }
Property Value
CooldownParameters
Updates to cooldown parameters for chain parameters version 1 introduced in protocol version 4.
public CooldownParametersCpv1 CooldownParameters { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
EffectCase
public PendingUpdate.EffectOneofCase EffectCase { get; }
Property Value
EffectiveTime
The effective time of the update.
public TransactionTime EffectiveTime { get; set; }
Property Value
ElectionDifficulty
Updates to the election difficulty parameter.
public ElectionDifficulty ElectionDifficulty { get; set; }
Property Value
EuroPerEnergy
Updates to the euro:energy exchange rate.
public ExchangeRate EuroPerEnergy { get; set; }
Property Value
FinalizationCommitteeParameters
Updates to the finalization committee for for chain parameters version 2.
public FinalizationCommitteeParameters FinalizationCommitteeParameters { get; set; }
Property Value
FoundationAccount
Updates to the foundation account.
public AccountAddress FoundationAccount { get; set; }
Property Value
GasRewards
Updates to the GAS rewards.
public GasRewards GasRewards { get; set; }
Property Value
GasRewardsCpv2
Updates to the GAS rewards effective from protocol version 6 (chain parameters version 2).
public GasRewardsCpv2 GasRewardsCpv2 { get; set; }
Property Value
Level1Keys
Updates to the level 1 keys.
public HigherLevelKeys Level1Keys { get; set; }
Property Value
Level2KeysCpv0
Updates to the level 2 keys.
public AuthorizationsV0 Level2KeysCpv0 { get; set; }
Property Value
Level2KeysCpv1
Updates to the level 2 keys.
public AuthorizationsV1 Level2KeysCpv1 { get; set; }
Property Value
MicroCcdPerEuro
Updates to the CCD:EUR exchange rate.
public ExchangeRate MicroCcdPerEuro { get; set; }
Property Value
MinBlockTime
Updates to the the minimum time between blocks for chain parameters version 2.
public Duration MinBlockTime { get; set; }
Property Value
MintDistributionCpv0
Updates to the mint distribution. Is only relevant prior to protocol version 4.
public MintDistributionCpv0 MintDistributionCpv0 { get; set; }
Property Value
MintDistributionCpv1
The mint distribution was updated. Introduced in protocol version 4.
public MintDistributionCpv1 MintDistributionCpv1 { get; set; }
Property Value
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
PoolParametersCpv1
Updates pool parameters. Introduced in protocol version 4.
public PoolParametersCpv1 PoolParametersCpv1 { get; set; }
Property Value
Protocol
Protocol updates.
public ProtocolUpdate Protocol { get; set; }
Property Value
RootKeys
Updates to the root keys.
public HigherLevelKeys RootKeys { get; set; }
Property Value
TimeParameters
Updates to time parameters for chain parameters version 1 introduced in protocol version 4.
public TimeParametersCpv1 TimeParameters { get; set; }
Property Value
TimeoutParameters
Updates to the consensus timeouts for chain parameters version 2.
public TimeoutParameters TimeoutParameters { get; set; }
Property Value
TransactionFeeDistribution
Updates to the transaction fee distribution.
public TransactionFeeDistribution TransactionFeeDistribution { get; set; }
Property Value
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
PendingUpdateAn object to compare with this object.
Returns
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object other)
Parameters
other
object
Returns
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
CodedOutputStreamCoded output stream to write the data to. Must not be null.