Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestValidatorsList ¶
func GetLatestValidatorsList() *types.ValidatorsList
GetLatestValidatorsList queries the latest validators list, stores it inside yaml file, and returns an array of validators
func ParseValidatorsList ¶
func ParseValidatorsList(validatorsList *types.ValidatorsList, height int64) ([]types.Validator, []types.ValidatorCommission, []types.ValidatorDescription, []types.ValidatorStatus, []types.ValidatorVotingPower)
ParseValidatorsList parses the validators list and returns arrays of validators, validators description, validators commission and validators status
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.