Skip to main content

EndOfEpochData

data class EndOfEpochData(var nextEpochCommittee: List<ValidatorCommitteeMember>, var nextEpochProtocolVersion: ULong, var epochCommitments: List<CheckpointCommitment>, var epochSupplyChange: Long) : Disposable

Data which, when included in a CheckpointSummary, signals the end of an Epoch.

BCS

The BCS serialized form for this type is defined by the following ABNF:

end-of-epoch-data = (vector validator-committee-member) ; next_epoch_committee
u64 ; next_epoch_protocol_version
(vector checkpoint-commitment) ; epoch_commitments
i64 ; epoch_supply_change

Constructors

EndOfEpochDataconstructor(nextEpochCommittee: List<ValidatorCommitteeMember>, nextEpochProtocolVersion: ULong, epochCommitments: List<CheckpointCommitment>, epochSupplyChange: Long)

Properties

NameSummary
epochCommitmentsvar epochCommitments: List<CheckpointCommitment>
epochSupplyChangevar epochSupplyChange: Long
nextEpochCommitteevar nextEpochCommittee: List<ValidatorCommitteeMember>
nextEpochProtocolVersionvar nextEpochProtocolVersion: ULong

Functions

NameSummary
destroyopen override fun destroy()