Skip to main content

EndOfEpochData

EndOfEpochData

struct EndOfEpochData

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

init(nextEpochCommittee:nextEpochProtocolVersion:epochCommitments:epochSupplyChange:)

init(nextEpochCommittee: [ValidatorCommitteeMember], nextEpochProtocolVersion: UInt64, epochCommitments: [CheckpointCommitment], epochSupplyChange: Int64)

epochCommitments

var epochCommitments: [CheckpointCommitment]

epochSupplyChange

var epochSupplyChange: Int64

nextEpochCommittee

var nextEpochCommittee: [ValidatorCommitteeMember]

nextEpochProtocolVersion

var nextEpochProtocolVersion: UInt64