Skip to main content

GrpcEpochInfo

type GrpcEpochInfo​

Information about an epoch.

type GrpcEpochInfo struct {
// The epoch id.
Epoch *uint64
// The committee governing the epoch.
Committee **ValidatorCommittee
// Snapshot of IOTA's `SystemState` as BCS, at the beginning of the epoch for past epochs, or
// the current state for the current epoch.
SystemStateBcs *[]byte
// The first checkpoint sequence number of the epoch.
FirstCheckpoint *uint64
// The last checkpoint sequence number of the epoch.
LastCheckpoint *uint64
// Unix timestamp in milliseconds of the beginning of the epoch.
StartMs *uint64
// Unix timestamp in milliseconds of the end of the epoch.
EndMs *uint64
// Reference gas price denominated in NANOS.
ReferenceGasPrice *uint64
// The protocol config of the epoch.
ProtocolConfig *GrpcProtocolConfig
}

func (*GrpcEpochInfo) Destroy​

func (r *GrpcEpochInfo) Destroy()