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>IBufferMessageIMessage
- 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
AddIdentityProviderUpdateFieldNumber
Field number for the "add_identity_provider_update" field.
public const int AddIdentityProviderUpdateFieldNumber = 13
Field Value
BakerStakeThresholdUpdateFieldNumber
Field number for the "baker_stake_threshold_update" field.
public const int BakerStakeThresholdUpdateFieldNumber = 9
Field Value
BlockEnergyLimitUpdateFieldNumber
Field number for the "block_energy_limit_update" field.
public const int BlockEnergyLimitUpdateFieldNumber = 21
Field Value
CooldownParametersCpv1UpdateFieldNumber
Field number for the "cooldown_parameters_cpv_1_update" field.
public const int CooldownParametersCpv1UpdateFieldNumber = 14
Field Value
ElectionDifficultyUpdateFieldNumber
Field number for the "election_difficulty_update" field.
public const int ElectionDifficultyUpdateFieldNumber = 2
Field Value
EuroPerEnergyUpdateFieldNumber
Field number for the "euro_per_energy_update" field.
public const int EuroPerEnergyUpdateFieldNumber = 3
Field Value
FinalizationCommitteeParametersUpdateFieldNumber
Field number for the "finalization_committee_parameters_update" field.
public const int FinalizationCommitteeParametersUpdateFieldNumber = 22
Field Value
FoundationAccountUpdateFieldNumber
Field number for the "foundation_account_update" field.
public const int FoundationAccountUpdateFieldNumber = 5
Field Value
GasRewardsCpv2UpdateFieldNumber
Field number for the "gas_rewards_cpv_2_update" field.
public const int GasRewardsCpv2UpdateFieldNumber = 18
Field Value
GasRewardsUpdateFieldNumber
Field number for the "gas_rewards_update" field.
public const int GasRewardsUpdateFieldNumber = 8
Field Value
Level1UpdateFieldNumber
Field number for the "level_1_update" field.
public const int Level1UpdateFieldNumber = 11
Field Value
MicroCcdPerEuroUpdateFieldNumber
Field number for the "micro_ccd_per_euro_update" field.
public const int MicroCcdPerEuroUpdateFieldNumber = 4
Field Value
MinBlockTimeUpdateFieldNumber
Field number for the "min_block_time_update" field.
public const int MinBlockTimeUpdateFieldNumber = 20
Field Value
MintDistributionCpv1UpdateFieldNumber
Field number for the "mint_distribution_cpv_1_update" field.
public const int MintDistributionCpv1UpdateFieldNumber = 17
Field Value
MintDistributionUpdateFieldNumber
Field number for the "mint_distribution_update" field.
public const int MintDistributionUpdateFieldNumber = 6
Field Value
PoolParametersCpv1UpdateFieldNumber
Field number for the "pool_parameters_cpv_1_update" field.
public const int PoolParametersCpv1UpdateFieldNumber = 15
Field Value
ProtocolUpdateFieldNumber
Field number for the "protocol_update" field.
public const int ProtocolUpdateFieldNumber = 1
Field Value
RootUpdateFieldNumber
Field number for the "root_update" field.
public const int RootUpdateFieldNumber = 10
Field Value
TimeParametersCpv1UpdateFieldNumber
Field number for the "time_parameters_cpv_1_update" field.
public const int TimeParametersCpv1UpdateFieldNumber = 16
Field Value
TimeoutParametersUpdateFieldNumber
Field number for the "timeout_parameters_update" field.
public const int TimeoutParametersUpdateFieldNumber = 19
Field Value
TransactionFeeDistributionUpdateFieldNumber
Field number for the "transaction_fee_distribution_update" field.
public const int TransactionFeeDistributionUpdateFieldNumber = 7
Field Value
Properties
AddAnonymityRevokerUpdate
An anonymity revoker was added.
public ArInfo AddAnonymityRevokerUpdate { get; set; }
Property Value
AddIdentityProviderUpdate
An identity provider was added.
public IpInfo AddIdentityProviderUpdate { get; set; }
Property Value
BakerStakeThresholdUpdate
The minimum amount of CCD needed to be come a baker was updated.
public BakerStakeThreshold BakerStakeThresholdUpdate { get; set; }
Property Value
BlockEnergyLimitUpdate
The block energy limit was updated (chain parameters version 2).
public Energy BlockEnergyLimitUpdate { get; set; }
Property Value
CooldownParametersCpv1Update
The cooldown parameters were updated.
public CooldownParametersCpv1 CooldownParametersCpv1Update { get; set; }
Property Value
Descriptor
public static MessageDescriptor Descriptor { get; }
Property Value
- MessageDescriptor
ElectionDifficultyUpdate
The election difficulty was updated.
public ElectionDifficulty ElectionDifficultyUpdate { get; set; }
Property Value
EuroPerEnergyUpdate
The euro per energy exchange rate was updated.
public ExchangeRate EuroPerEnergyUpdate { get; set; }
Property Value
FinalizationCommitteeParametersUpdate
Finalization committee parameters (chain parameters version 2).
public FinalizationCommitteeParameters FinalizationCommitteeParametersUpdate { get; set; }
Property Value
FoundationAccountUpdate
The foundation account address was updated.
public AccountAddress FoundationAccountUpdate { get; set; }
Property Value
GasRewardsCpv2Update
The gas rewards were updated (chain parameters version 2).
public GasRewardsCpv2 GasRewardsCpv2Update { get; set; }
Property Value
GasRewardsUpdate
The gas rewards were updated.
public GasRewards GasRewardsUpdate { get; set; }
Property Value
Level1Update
The level 1 keys were updated.
public Level1Update Level1Update { get; set; }
Property Value
MicroCcdPerEuroUpdate
The microCCD per euro exchange rate was updated.
public ExchangeRate MicroCcdPerEuroUpdate { get; set; }
Property Value
MinBlockTimeUpdate
The minimum time between blocks was updated (chain parameters version 2).
public Duration MinBlockTimeUpdate { get; set; }
Property Value
MintDistributionCpv1Update
The mint distribution was updated.
public MintDistributionCpv1 MintDistributionCpv1Update { get; set; }
Property Value
MintDistributionUpdate
The mint distribution was updated.
public MintDistributionCpv0 MintDistributionUpdate { get; set; }
Property Value
Parser
public static MessageParser<UpdatePayload> Parser { get; }
Property Value
- MessageParser<UpdatePayload>
PayloadCase
public UpdatePayload.PayloadOneofCase PayloadCase { get; }
Property Value
PoolParametersCpv1Update
The pool parameters were updated.
public PoolParametersCpv1 PoolParametersCpv1Update { get; set; }
Property Value
ProtocolUpdate
The protocol version was updated.
public ProtocolUpdate ProtocolUpdate { get; set; }
Property Value
RootUpdate
The root keys were updated.
public RootUpdate RootUpdate { get; set; }
Property Value
TimeParametersCpv1Update
The time parameters were updated.
public TimeParametersCpv1 TimeParametersCpv1Update { get; set; }
Property Value
TimeoutParametersUpdate
The consensus timeouts were updated (chain parameters version 2).
public TimeoutParameters TimeoutParametersUpdate { get; set; }
Property Value
TransactionFeeDistributionUpdate
The transaction fee distribtuion was updated.
public TransactionFeeDistribution TransactionFeeDistributionUpdate { 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.
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
UpdatePayloadAn 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(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
CodedOutputStreamCoded output stream to write the data to. Must not be null.