GrpcEpochInfo
data class GrpcEpochInfo(var epoch: ULong?, var committee: ValidatorCommittee?, var systemStateBcs: ByteArray?, var firstCheckpoint: ULong?, var lastCheckpoint: ULong?, var startMs: ULong?, var endMs: ULong?, var referenceGasPrice: ULong?, var protocolConfig: GrpcProtocolConfig?) : Disposable
Information about an epoch.
Constructors
| GrpcEpochInfo | constructor(epoch: ULong?, committee: ValidatorCommittee?, systemStateBcs: ByteArray?, firstCheckpoint: ULong?, lastCheckpoint: ULong?, startMs: ULong?, endMs: ULong?, referenceGasPrice: ULong?, protocolConfig: GrpcProtocolConfig?) |
Properties
| Name | Summary |
|---|---|
| committee | var committee: ValidatorCommittee? The committee governing the epoch. |
| endMs | var endMs: ULong? Unix timestamp in milliseconds of the end of the epoch. |
| epoch | var epoch: ULong? The epoch id. |
| firstCheckpoint | var firstCheckpoint: ULong? The first checkpoint sequence number of the epoch. |
| lastCheckpoint | var lastCheckpoint: ULong? The last checkpoint sequence number of the epoch. |
| protocolConfig | var protocolConfig: GrpcProtocolConfig? The protocol config of the epoch. |
| referenceGasPrice | var referenceGasPrice: ULong? Reference gas price denominated in NANOS. |
| startMs | var startMs: ULong? Unix timestamp in milliseconds of the beginning of the epoch. |
| systemStateBcs | var systemStateBcs: ByteArray? Snapshot of IOTA's SystemState as BCS, at the beginning of the epoch for past epochs, or the current state for the current epoch. |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |