Skip to main content

ValidatorSet

data class ValidatorSet(var inactivePoolsId: ObjectId? = null, var inactivePoolsSize: Int? = null, var pendingActiveValidatorsId: ObjectId? = null, var pendingActiveValidatorsSize: Int? = null, var pendingRemovals: List<Int>? = null, var stakingPoolMappingsId: ObjectId? = null, var stakingPoolMappingsSize: Int? = null, var totalStake: String? = null, var validatorCandidatesSize: Int? = null, var validatorCandidatesId: ObjectId? = null) : Disposable

Constructors

ValidatorSetconstructor(inactivePoolsId: ObjectId? = null, inactivePoolsSize: Int? = null, pendingActiveValidatorsId: ObjectId? = null, pendingActiveValidatorsSize: Int? = null, pendingRemovals: List<Int>? = null, stakingPoolMappingsId: ObjectId? = null, stakingPoolMappingsSize: Int? = null, totalStake: String? = null, validatorCandidatesSize: Int? = null, validatorCandidatesId: ObjectId? = null)

Properties

NameSummary
inactivePoolsIdvar inactivePoolsId: ObjectId?
Object ID of the Table storing the inactive staking pools.
inactivePoolsSizevar inactivePoolsSize: Int?
Size of the inactive pools Table.
pendingActiveValidatorsIdvar pendingActiveValidatorsId: ObjectId?
Object ID of the wrapped object TableVec storing the pending active validators.
pendingActiveValidatorsSizevar pendingActiveValidatorsSize: Int?
Size of the pending active validators table.
pendingRemovalsvar pendingRemovals: List<Int>?
Validators that are pending removal from the active validator set, expressed as indices in to activeValidators.
stakingPoolMappingsIdvar stakingPoolMappingsId: ObjectId?
Object ID of the Table storing the mapping from staking pool ids to the addresses of the corresponding validators. This is needed because a validator's address can potentially change but the object ID of its pool will not.
stakingPoolMappingsSizevar stakingPoolMappingsSize: Int?
Size of the stake pool mappings Table.
totalStakevar totalStake: String?
Total amount of stake for all active validators at the beginning of the epoch.
validatorCandidatesIdvar validatorCandidatesId: ObjectId?
Object ID of the Table storing the validator candidates.
validatorCandidatesSizevar validatorCandidatesSize: Int?
Size of the validator candidates Table.

Functions

NameSummary
destroyopen override fun destroy()