EpochData

org.plasmalabs.proto.node.EpochData
See theEpochData companion object
final case class EpochData(epoch: Long, eon: Long, era: Long, isComplete: Boolean, startHeight: Long, endHeight: Long, startSlot: Long, endSlot: Long, startTimestamp: Long, endTimestamp: Long, transactionCount: Long, totalTransactionReward: Int128, activeStake: Int128, inactiveStake: Int128, dataBytes: Long, unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[EpochData]

Epoch data Contains, The "current" epoch is updated as node blocks are adopted over time

Value parameters

activeStake

The sum of all stake that is registered for the epoch

dataBytes

The sum total number of bytes of headers and transactions for the epoch

endHeight

The height of the last/latest block in the epoch

endSlot

The final slot of the epoch

endTimestamp

The timestamp of the epoch end

eon

eon

epoch

epoch

era

era

inactiveStake

The sum of all stake that is not registered for the epoch

isComplete

Flag indicating if the epoch has been completed

startHeight

The height of the first block in the epoch

startSlot

The first slot of the epoch

startTimestamp

The timestamp of the epoch start

totalTransactionReward

The sum of all transaction rewards in the epoch

transactionCount

The total number of transactions in this epoch

Attributes

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

Members list

Value members

Concrete methods

def companion: EpochData.type
def getField(`__field`: FieldDescriptor): PValue
def getFieldByNumber(`__fieldNumber`: Int): Any
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 withDataBytes(`__v`: Long): EpochData
def withEndHeight(`__v`: Long): EpochData
def withEndSlot(`__v`: Long): EpochData
def withEndTimestamp(`__v`: Long): EpochData
def withEon(`__v`: Long): EpochData
def withEpoch(`__v`: Long): EpochData
def withEra(`__v`: Long): EpochData
def withIsComplete(`__v`: Boolean): EpochData
def withStartHeight(`__v`: Long): EpochData
def withStartSlot(`__v`: Long): EpochData
def withStartTimestamp(`__v`: Long): EpochData
def withTransactionCount(`__v`: Long): EpochData
def withUnknownFields(`__v`: UnknownFieldSet): EpochData
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
def update(ms: (Lens[EpochData, EpochData]) => () => EpochData*): EpochData

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