rpc

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2018 License: Apache-2.0 Imports: 11 Imported by: 1,872

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCommands added in v0.2.0

func AddCommands(cmd *cobra.Command)

AddCommands adds a number of rpc-related subcommands

func BlockRequestHandler added in v0.2.0

func BlockRequestHandler(w http.ResponseWriter, r *http.Request)

func GetChainHeight

func GetChainHeight() (int64, error)

func GetValidators

func GetValidators(height *int64) ([]byte, error)

func LatestBlockRequestHandler added in v0.2.0

func LatestBlockRequestHandler(w http.ResponseWriter, r *http.Request)

func LatestValidatorsetRequestHandler added in v0.2.0

func LatestValidatorsetRequestHandler(w http.ResponseWriter, r *http.Request)

func NodeInfoRequestHandler added in v0.2.0

func NodeInfoRequestHandler(w http.ResponseWriter, r *http.Request)

func NodeSyncingRequestHandler added in v0.2.0

func NodeSyncingRequestHandler(w http.ResponseWriter, r *http.Request)

func RegisterRoutes added in v0.2.0

func RegisterRoutes(r *mux.Router)

func ValidatorsetRequestHandler added in v0.2.0

func ValidatorsetRequestHandler(w http.ResponseWriter, r *http.Request)

Types

This section is empty.

Jump to

Keyboard shortcuts

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