Skip to main content

ValidatorSet

Namespace: IotaSdk

public record class ValidatorSet : System.IDisposable, System.IEquatable`1[[IotaSdk.ValidatorSet, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectValidatorSet
Implements IDisposable, IEquatable<ValidatorSet>
Attributes NullableContextAttribute, NullableAttribute

Properties

InactivePoolsId

Object ID of the Table storing the inactive staking pools.

public ObjectId? InactivePoolsId { get; init; }

Property Value

ObjectId

InactivePoolsSize

Size of the inactive pools Table.

public int? InactivePoolsSize { get; init; }

Property Value

Int32?

PendingActiveValidatorsId

Object ID of the wrapped object TableVec storing the pending active validators.

public ObjectId? PendingActiveValidatorsId { get; init; }

Property Value

ObjectId

PendingActiveValidatorsSize

Size of the pending active validators table.

public int? PendingActiveValidatorsSize { get; init; }

Property Value

Int32?

PendingRemovals

Validators that are pending removal from the active validator set, expressed as indices in to activeValidators.

public Int32[]? PendingRemovals { get; init; }

Property Value

Int32[]

StakingPoolMappingsId

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.

public ObjectId? StakingPoolMappingsId { get; init; }

Property Value

ObjectId

StakingPoolMappingsSize

Size of the stake pool mappings Table.

public int? StakingPoolMappingsSize { get; init; }

Property Value

Int32?

TotalStake

Total amount of stake for all active validators at the beginning of the epoch.

public string? TotalStake { get; init; }

Property Value

String

ValidatorCandidatesSize

Size of the validator candidates Table.

public int? ValidatorCandidatesSize { get; init; }

Property Value

Int32?

ValidatorCandidatesId

Object ID of the Table storing the validator candidates.

public ObjectId? ValidatorCandidatesId { get; init; }

Property Value

ObjectId

Constructors

ValidatorSet(ObjectId, Int32?, ObjectId, Int32?, Int32[], ObjectId, Int32?, String, Int32?, ObjectId)

public ValidatorSet(ObjectId? InactivePoolsId = null, int? InactivePoolsSize = null, ObjectId? PendingActiveValidatorsId = null, int? PendingActiveValidatorsSize = null, Int32[]? PendingRemovals = null, ObjectId? StakingPoolMappingsId = null, int? StakingPoolMappingsSize = null, string? TotalStake = null, int? ValidatorCandidatesSize = null, ObjectId? ValidatorCandidatesId = null)

Parameters

InactivePoolsId ObjectId?
Object ID of the Table storing the inactive staking pools.

InactivePoolsSize Int32?
Size of the inactive pools Table.

PendingActiveValidatorsId ObjectId?
Object ID of the wrapped object TableVec storing the pending active validators.

PendingActiveValidatorsSize Int32?
Size of the pending active validators table.

PendingRemovals Int32[]?
Validators that are pending removal from the active validator set, expressed as indices in to activeValidators.

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 Int32?
Size of the stake pool mappings Table.

TotalStake String?
Total amount of stake for all active validators at the beginning of the epoch.

ValidatorCandidatesSize Int32?
Size of the validator candidates Table.

ValidatorCandidatesId ObjectId?
Object ID of the Table storing the validator candidates.

Methods

Dispose()

public void Dispose()