rpc

package
v1.2.7-0...-4cd777e Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetChainIDFn

func GetChainIDFn(cliCtx context.CLIContext) http.HandlerFunc

func GetEVMValidators

func GetEVMValidators(cliCtx context.CLIContext) http.HandlerFunc

func GetGenesisHandlerFn

func GetGenesisHandlerFn(cliCtx context.CLIContext) http.HandlerFunc

func RegisterRoutes

func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)

Types

type ValidatorMinimal

type ValidatorMinimal struct {
	Address     string `json:"address"`
	VotingPower int64  `json:"voting_power"`
}

type ValidatorsMinimal

type ValidatorsMinimal struct {
	BlockHeight int64              `json:"block_height"`
	Validators  []ValidatorMinimal `json:"validators"`
}

Jump to

Keyboard shortcuts

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