Skip to main content

SystemParametersV1Protocol

SystemParametersV1Protocol Objects

class SystemParametersV1Protocol(typing.Protocol)

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

epoch_duration_ms

def epoch_duration_ms() -> int

The duration of an epoch, in milliseconds.

max_validator_count

def max_validator_count() -> int

Maximum number of active validators at any moment.

min_validator_count

def min_validator_count() -> int

Minimum number of active validators at any moment.

min_validator_joining_stake

def min_validator_joining_stake() -> int

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

validator_low_stake_grace_period

def validator_low_stake_grace_period() -> int

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

validator_low_stake_threshold

def validator_low_stake_threshold() -> int

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

validator_very_low_stake_threshold

def validator_very_low_stake_threshold() -> int

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