validators

package
v3.1.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 1, 2024 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateValidatorsPerformanceCommand

func CreateValidatorsPerformanceCommand() *cobra.Command

func ExportToCSVValidators

func ExportToCSVValidators(filename string, data []ValsData) error

Export array of structs to CSV file of validators (validator,chain,amount-of-times-jailed,downtime-percentage,vote-power)

Types

type RetInfo

type RetInfo struct {
	// contains filtered or unexported fields
}

type ValsData

type ValsData struct {
	Validator string
	Jailed    int64
	Downtime  math.LegacyDec
	VotePower math.LegacyDec
}

func (ValsData) String

func (pd ValsData) String() []string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL