api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetYodaStatus

func GetYodaStatus(
	c *common.Exporter,
	CommonYodaQueryPath string,
	CommonYodaParser func([]byte) (float64, error),
	CommonYodaParamsPath string,
	CommonYodaParamsParser func([]byte) (slashWindow float64, err error),
	CommonYodaRequestCountsPath string,
	CommonYodaRequestCountsParser func([]byte) (requestCount float64, err error),
	CommonYodaRequestPath string,
	CommonYodaRequestParser func([]byte) (requestBlock int64, validatorsFailedToRespond []string, status string, err error),
) (types.CommonYodaStatus, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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