Value_UpdateProposal class

Inheritance
  • Object
  • GeneratedMessage
  • Value_UpdateProposal

Constructors

Value_UpdateProposal({String? label, Ratio? fEffective, UInt32Value? vrfLddCutoff, UInt32Value? vrfPrecision, Ratio? vrfBaselineDifficulty, Ratio? vrfAmplitude, UInt64Value? chainSelectionKLookback, Duration? slotDuration, UInt64Value? forwardBiasedSlotWindow, UInt64Value? operationalPeriodsPerEpoch, UInt32Value? kesKeyHours, UInt32Value? kesKeyMinutes})
factory
Value_UpdateProposal.fromBuffer(List<int> i, [ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
factory
Value_UpdateProposal.fromJson(String i, [ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY])
factory

Properties

chainSelectionKLookback UInt64Value
chainSelectionKLookback
getter/setter pair
eventPlugin → EventPlugin?
Subclasses can override this getter to be notified of changes to protobuf fields.
no setterinherited
fEffective Ratio
fEffective
getter/setter pair
forwardBiasedSlotWindow UInt64Value
forwardBiasedSlotWindow
getter/setter pair
hashCode int
Calculates a hash code based on the contents of the protobuf.
no setterinherited
info_ → BuilderInfo
no setteroverride
isFrozen bool
Returns true if this message is marked read-only. Otherwise false.
no setterinherited
kesKeyHours UInt32Value
kesKeyHours Key-Evolving Signature: mechanism for securing chain selection process in Ouroboros proof-of-stake
getter/setter pair
kesKeyMinutes UInt32Value
kesKeyMinutes Key-Evolving Signature: mechanism for securing chain selection process in Ouroboros proof-of-stake
getter/setter pair
label String
Update proposal label for humans (do not confuse with the actual update proposal identifier)
getter/setter pair
operationalPeriodsPerEpoch UInt64Value
operationalPeriodsPerEpoch, Epoch: Long time scale in Ouroboros, epochs are composed of many slots
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
slotDuration Duration
slotDuration, Slot: Atomic time unit in Ouroboros, smallest piece of time (~1 second for Topl, 2 for Cardano)
getter/setter pair
unknownFields → UnknownFieldSet
no setterinherited
vrfAmplitude Ratio
vrfAmplitude
getter/setter pair
vrfBaselineDifficulty Ratio
vrfBaselineDifficulty
getter/setter pair
vrfLddCutoff UInt32Value
vrfLddCutoff Verifiable Random Function: mechanism for leader election in Ouroboros proof-of-stake Local dynamic difficulty, Short timescale variation of the block production eligibility threshold.
getter/setter pair
vrfPrecision UInt32Value
vrfPrecision
getter/setter pair

Methods

addExtension(Extension extension, Object? value) → void
Adds an extension field value to a repeated field.
inherited
check() → void
inherited
clear() → void
Clears all data that was set in this message.
inherited
clearChainSelectionKLookback() → void
clearExtension(Extension extension) → void
Clears an extension field and also removes the extension.
inherited
clearFEffective() → void
clearField(int tagNumber) → void
Clears the contents of a given field.
inherited
clearForwardBiasedSlotWindow() → void
clearKesKeyHours() → void
clearKesKeyMinutes() → void
clearLabel() → void
clearOperationalPeriodsPerEpoch() → void
clearSlotDuration() → void
clearVrfAmplitude() → void
clearVrfBaselineDifficulty() → void
clearVrfLddCutoff() → void
clearVrfPrecision() → void
clone() Value_UpdateProposal
Creates a deep copy of the fields in this message. (The generated code uses mergeFromMessage.)
override
copyWith(void updates(Value_UpdateProposal)) Value_UpdateProposal
Apply updates to a copy of this message.
override
createEmptyInstance() Value_UpdateProposal
Creates an empty instance of the same message type as this.
override
createMapField<K, V>(int tagNumber, MapFieldInfo<K, V> fi) Map<K, V>
Creates a Map representing a map field.
inherited
createRepeatedField<T>(int tagNumber, FieldInfo<T> fi) List<T>
Creates List implementing a mutable repeated field.
inherited
ensureChainSelectionKLookback() UInt64Value
ensureFEffective() Ratio
ensureForwardBiasedSlotWindow() UInt64Value
ensureKesKeyHours() UInt32Value
ensureKesKeyMinutes() UInt32Value
ensureOperationalPeriodsPerEpoch() UInt64Value
ensureSlotDuration() Duration
ensureVrfAmplitude() Ratio
ensureVrfBaselineDifficulty() Ratio
ensureVrfLddCutoff() UInt32Value
ensureVrfPrecision() UInt32Value
extensionsAreInitialized() bool
inherited
freeze() → GeneratedMessage
Make this message read-only.
inherited
getDefaultForField(int tagNumber) → dynamic
Returns the default value for the given field.
inherited
getExtension(Extension extension) → dynamic
Returns the value of extension.
inherited
getField(int tagNumber) → dynamic
Returns the value of the field associated with tagNumber, or the default value if it is not set.
inherited
getFieldOrNull(int tagNumber) → dynamic
Returns the value of a field, ignoring any defaults.
inherited
getTagNumber(String fieldName) int?
inherited
hasChainSelectionKLookback() bool
hasExtension(Extension extension) bool
Returns true if a value of extension is present.
inherited
hasFEffective() bool
hasField(int tagNumber) bool
Whether this message has a field associated with tagNumber.
inherited
hasForwardBiasedSlotWindow() bool
hasKesKeyHours() bool
hasKesKeyMinutes() bool
hasLabel() bool
hasOperationalPeriodsPerEpoch() bool
hasRequiredFields() bool
Whether the message has required fields.
inherited
hasSlotDuration() bool
hasVrfAmplitude() bool
hasVrfBaselineDifficulty() bool
hasVrfLddCutoff() bool
hasVrfPrecision() bool
isInitialized() bool
Whether all required fields in the message and embedded messages are set.
inherited
mergeFromBuffer(List<int> input, [ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY]) → void
Merges serialized protocol buffer data into this message.
inherited
mergeFromCodedBufferReader(CodedBufferReader input, [ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY]) → void
inherited
mergeFromJson(String data, [ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY]) → void
Merges field values from data, a JSON object, encoded as described by GeneratedMessage.writeToJson.
inherited
mergeFromJsonMap(Map<String, dynamic> json, [ExtensionRegistry extensionRegistry = ExtensionRegistry.EMPTY]) → void
Merges field values from a JSON object represented as a Dart map.
inherited
mergeFromMessage(GeneratedMessage other) → void
Merges the contents of the other into this message.
inherited
mergeFromProto3Json(Object? json, {TypeRegistry typeRegistry = const TypeRegistry.empty(), bool ignoreUnknownFields = false, bool supportNamesWithUnderscores = true, bool permissiveEnums = false}) → void
Merges field values from json, a JSON object using proto3 encoding.
inherited
mergeUnknownFields(UnknownFieldSet unknownFieldSet) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setExtension(Extension extension, Object value) → void
Sets the value of a non-repeated extension field to value.
inherited
setField(int tagNumber, Object value) → void
Sets the value of a field by its tagNumber.
inherited
toBuilder() → GeneratedMessage
Creates a writable, shallow copy of this message.
inherited
toDebugString() String
Returns a String representation of this message.
inherited
toProto3Json({TypeRegistry typeRegistry = const TypeRegistry.empty()}) Object?
Returns an Object representing Proto3 JSON serialization of this.
inherited
toString() String
Returns a String representation of this message.
inherited
writeToBuffer() Uint8List
inherited
writeToCodedBufferWriter(CodedBufferWriter output) → void
inherited
writeToJson() String
Returns a JSON string that encodes this message.
inherited
writeToJsonMap() Map<String, dynamic>
Returns the JSON encoding of this message as a Dart Map.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited