UpdateProposal

org.plasmalabs.sdk.models.box.Value.UpdateProposal
See theUpdateProposal companion object
final case class UpdateProposal(label: String, fEffective: Option[Ratio], vrfLddCutoff: Option[Int], vrfPrecision: Option[Int], vrfBaselineDifficulty: Option[Ratio], vrfAmplitude: Option[Ratio], chainSelectionKLookback: Option[Long], slotDuration: Option[Duration], forwardBiasedSlotWindow: Option[Long], operationalPeriodsPerEpoch: Option[Long], kesKeyHours: Option[Int], kesKeyMinutes: Option[Int], slotGapLeaderElection: Option[Long], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[UpdateProposal]

Value parameters

chainSelectionKLookback

chainSelectionKLookback

fEffective

fEffective

forwardBiasedSlotWindow

forwardBiasedSlotWindow

kesKeyHours

kesKeyHours Key-Evolving Signature: mechanism for securing chain selection process in Ouroboros proof-of-stake

kesKeyMinutes

kesKeyMinutes Key-Evolving Signature: mechanism for securing chain selection process in Ouroboros proof-of-stake

label

Update proposal label for humans (do not confuse with the actual update proposal identifier)

operationalPeriodsPerEpoch

operationalPeriodsPerEpoch, Epoch: Long time scale in Ouroboros, epochs are composed of many slots

slotDuration

slotDuration, Slot: Atomic time unit in Ouroboros, smallest piece of time (~1 second for Topl, 2 for Cardano)

slotGapLeaderElection

gap of non-eligibility after a block is minted

vrfAmplitude

vrfAmplitude

vrfBaselineDifficulty

vrfBaselineDifficulty

vrfLddCutoff

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.

vrfPrecision

vrfPrecision

Attributes

Companion
object
Graph
Supertypes
trait Updatable[UpdateProposal]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
def getKesKeyHours: Int
def getKesKeyMinutes: Int
def getSlotDuration: Duration
def getVrfLddCutoff: Int
def getVrfPrecision: Int
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
def toProtoString: String

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

def withKesKeyHours(`__v`: Int): UpdateProposal
def withLabel(`__v`: String): UpdateProposal
def withSlotDuration(`__v`: Duration): UpdateProposal
def withUnknownFields(`__v`: UnknownFieldSet): UpdateProposal
def withVrfLddCutoff(`__v`: Int): UpdateProposal
def withVrfPrecision(`__v`: Int): UpdateProposal
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage

Attributes

Inherited from:
Updatable
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage