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
| ValidatorSet | constructor(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
| Name | Summary |
|---|---|
| inactivePoolsId | var inactivePoolsId: ObjectId? Object ID of the Table storing the inactive staking pools. |
| inactivePoolsSize | var inactivePoolsSize: Int? Size of the inactive pools Table. |
| pendingActiveValidatorsId | var pendingActiveValidatorsId: ObjectId? Object ID of the wrapped object TableVec storing the pending active validators. |
| pendingActiveValidatorsSize | var pendingActiveValidatorsSize: Int? Size of the pending active validators table. |
| pendingRemovals | var pendingRemovals: List<Int>? Validators that are pending removal from the active validator set, expressed as indices in to activeValidators. |
| stakingPoolMappingsId | var 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. |
| stakingPoolMappingsSize | var stakingPoolMappingsSize: Int? Size of the stake pool mappings Table. |
| totalStake | var totalStake: String? Total amount of stake for all active validators at the beginning of the epoch. |
| validatorCandidatesId | var validatorCandidatesId: ObjectId? Object ID of the Table storing the validator candidates. |
| validatorCandidatesSize | var validatorCandidatesSize: Int? Size of the validator candidates Table. |
Functions
| Name | Summary |
|---|---|
| destroy | open override fun destroy() |