rpc

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2020 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEVMValidators

func GetEVMValidators(cliCtx context.CLIContext) http.HandlerFunc

func GetGenesisHandlerFn added in v1.1.0

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