org.plasmalabs.consensus.models
Members list
Type members
Classlikes
An active, registered participate in the consensus protocol, for a particular epoch.
An active, registered participate in the consensus protocol, for a particular epoch.
Value parameters
- quantity
-
the quantity of staked tokens for the epoch
- registration
-
the staker's registration
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[ActiveStaker]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[ActiveStaker]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
ActiveStaker.type
Attributes
- Supertypes
- Self type
Captures a block producer's consensus-commitment to a new block
Captures a block producer's consensus-commitment to a new block
Value parameters
- address
-
The operator's staking address
- bloomFilter
-
A fuzzy search for addresses associated with this block length = 256
- eligibilityCertificate
-
A certificate indicating that the block producer was eligible to make this block
- headerId
-
The ID of this block header. This value is optional and its contents are not included in the signable or identifiable data. Clients which can verify this value should verify this value, but some clients may not be able to or need to, in which case this field acts as a convenience.
- height
-
The 1-based index of this block in the blockchain
- metadata
-
Optional metadata stamped by the operator. Must be latin-1 encoded, and must be at most 32 bytes in length. optional
- operationalCertificate
-
A certificate indicating the operator's commitment to this block
- parentHeaderId
-
The parent block's ID. Each header builds from a single parent.
- parentSlot
-
The slot of the parent block
- slot
-
The time-slot in which the block producer created the block
- timestamp
-
The UTC UNIX timestamp (ms) when the block was created
- txRoot
-
The commitment/accumulator of the block body length = 32
- version
-
Protocol Version
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[BlockHeader]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[BlockHeader]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
BlockHeader.type
Attributes
- Supertypes
-
class GeneratedFileObjectclass Objecttrait Matchableclass Any
- Self type
-
BlockHeaderProto.type
Attributes
- Supertypes
- Self type
-
BlockHeaderValidator.type
Attributes
- Supertypes
-
class GeneratedFileObjectclass Objecttrait Matchableclass Any
- Self type
-
BlockIdProto.type
Attributes
- Supertypes
- Self type
-
BlockIdValidator.type
A certificate proving the operator's election
A certificate proving the operator's election
Value parameters
- eta
-
The epoch's randomness length = 32
- thresholdEvidence
-
Hash of the operator's
thresholdroutine = blake2b256 length = 32 - vrfSig
-
Signs
eta ++ slotusing thevrfSK - vrfVK
-
The VRF VK
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[EligibilityCertificate]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[EligibilityCertificate]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
-
class GeneratedFileObjectclass Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
- Self type
A certificate which commits an operator to a linear key, which is then used to sign the block
A certificate which commits an operator to a linear key, which is then used to sign the block
Value parameters
- childSignature
-
The signature of the block
- childVK
-
The linear VK
- parentSignature
-
Signs the
childVKusing theparentSK - parentVK
-
The KES VK of the parent key (forward-secure) (hour+minute hands)
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[OperationalCertificate]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[OperationalCertificate]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
-
class GeneratedFileObjectclass Objecttrait Matchableclass Any
- Self type
Attributes
- Supertypes
- Self type
Protocol Version Specification
Protocol Version Specification
Value parameters
- versionId
-
versionIdCurrent version id of the chain - votedProposalId
-
votedProposalIdFor which proposal block producer is vote, so proposal could be recognized as version. 0 is no vote - votedVersionId
-
votedVersionIdFor which version block producer is vote. 0 is no vote
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[ProtocolVersion]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[ProtocolVersion]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
ProtocolVersion.type
Attributes
- Supertypes
-
class GeneratedFileObjectclass Objecttrait Matchableclass Any
- Self type
-
ProtocolVersionProto.type
Attributes
- Supertypes
- Self type
Value parameters
- subRoot
-
length = 32
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[SignatureKesProduct]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[SignatureKesProduct]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
SignatureKesProduct.type
Attributes
- Supertypes
- Self type
Value parameters
- witness
-
item length = 32
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[SignatureKesSum]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[SignatureKesSum]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
SignatureKesSum.type
Attributes
- Supertypes
- Self type
Represents a "mini" block header, containing just a subset of its data needed to quickly inspect consensus characteristics of a block
Represents a "mini" block header, containing just a subset of its data needed to quickly inspect consensus characteristics of a block
Value parameters
- eta
-
The "eta" corresponding to "this" block length = 32
- height
-
The height of "this" block
- parentSlotId
-
The slot ID corresponding to "this" block's parent
- rho
-
The "rho" corresponding to "this" block length = 64
- slotId
-
The slot ID corresponding to "this" block
Attributes
Attributes
- Supertypes
-
class GeneratedFileObjectclass Objecttrait Matchableclass Any
- Self type
-
SlotDataProto.type
Attributes
- Supertypes
- Self type
-
SlotDataValidator.type
A glorified tuple
Attributes
- Supertypes
- Self type
-
SlotIdValidator.type
A reference to a unique staker
A reference to a unique staker
Value parameters
- value
-
The address bytes of the staker, usually an ed25519 VK
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[StakingAddress]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[StakingAddress]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
StakingAddress.type
Attributes
- Supertypes
- Self type
Attributes
- Supertypes
-
class GeneratedFileObjectclass Objecttrait Matchableclass Any
- Self type
-
StakingProto.type
A proof-of-stake registration
A proof-of-stake registration
Value parameters
- address
-
the staker's address
- signature
-
the staker's commitment to a VRF VK and StakingAddress, signed using KES SK at timestep=0
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[StakingRegistration]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[StakingRegistration]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
-
StakingRegistration.type
Attributes
- Supertypes
- Self type
Value parameters
- value
-
length = 32
Attributes
- Companion
- object
- Supertypes
-
trait Updatable[VerificationKeyKesProduct]trait GeneratedMessagetrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrortrait GeneratedMessageCompanion[VerificationKeyKesProduct]trait Serializableclass Objecttrait Matchableclass AnyShow all
- Self type
Attributes
- Supertypes
-
trait Validator[VerificationKeyKesProduct]trait Serializableclass Objecttrait Matchableclass Any
- Self type