Skip to main content

SystemParametersV1

open class SystemParametersV1 : Disposable, AutoCloseable, SystemParametersV1Interface

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

Functions

NameSummary
close@Synchronized
open override fun close()
destroyopen override fun destroy()
epochDurationMsopen override fun epochDurationMs(): ULong
The duration of an epoch, in milliseconds.
maxValidatorCountopen override fun maxValidatorCount(): ULong
Maximum number of active validators at any moment.
minValidatorCountopen override fun minValidatorCount(): ULong
Minimum number of active validators at any moment.
minValidatorJoiningStakeopen override fun minValidatorJoiningStake(): ULong
Lower bound on the amount of stake required to become a validator, in nanos.
toStringopen override fun toString(): String
validatorLowStakeGracePeriodopen override fun validatorLowStakeGracePeriod(): ULong
A validator can have stake below validator_low_stake_threshold for this many epochs before being removed.
validatorLowStakeThresholdopen override fun validatorLowStakeThreshold(): ULong
Validators with stake below this threshold (in nanos) are considered to have low stake and may be removed from the validator set.
validatorVeryLowStakeThresholdopen override fun validatorVeryLowStakeThreshold(): ULong
Validators with stake below this threshold (in nanos) are removed immediately at epoch change with no grace period.