Skip to main content

SystemParametersV1

Namespace: IotaSdk

A typed view of the 0x3::iota_system_state_inner::SystemParametersV1 embedded in the system state.

public class SystemParametersV1 : ISystemParametersV1, System.IDisposable

Inheritance Object → SystemParametersV1
Implements ISystemParametersV1, IDisposable

Constructors​

SystemParametersV1(UInt64)​

public SystemParametersV1(ulong pointer)

Parameters​

pointer UInt64

Methods​

Destroy()​

public void Destroy()

Dispose()​

public void Dispose()

EpochDurationMs()​

The duration of an epoch, in milliseconds.

public ulong EpochDurationMs()

Returns​

UInt64

MaxValidatorCount()​

Maximum number of active validators at any moment.

public ulong MaxValidatorCount()

Returns​

UInt64

MinValidatorCount()​

Minimum number of active validators at any moment.

public ulong MinValidatorCount()

Returns​

UInt64

MinValidatorJoiningStake()​

Lower bound on the amount of stake required to become a validator, in nanos.

public ulong MinValidatorJoiningStake()

Returns​

UInt64

ValidatorLowStakeGracePeriod()​

A validator can have stake below validator_low_stake_threshold for this many epochs before being removed.

public ulong ValidatorLowStakeGracePeriod()

Returns​

UInt64

ValidatorLowStakeThreshold()​

Validators with stake below this threshold (in nanos) are considered to have low stake and may be removed from the validator set.

public ulong ValidatorLowStakeThreshold()

Returns​

UInt64

ValidatorVeryLowStakeThreshold()​

Validators with stake below this threshold (in nanos) are removed immediately at epoch change with no grace period.

public ulong ValidatorVeryLowStakeThreshold()

Returns​

UInt64