Documentation ¶
Index ¶
- func AddCommands(cmd *cobra.Command)
- func BlockRequestHandler(w http.ResponseWriter, r *http.Request)
- func GetChainHeight() (int64, error)
- func GetValidators(height *int64) ([]byte, error)
- func LatestBlockRequestHandler(w http.ResponseWriter, r *http.Request)
- func LatestValidatorsetRequestHandler(w http.ResponseWriter, r *http.Request)
- func NodeInfoRequestHandler(w http.ResponseWriter, r *http.Request)
- func NodeSyncingRequestHandler(w http.ResponseWriter, r *http.Request)
- func RegisterRoutes(r *mux.Router)
- func ValidatorsetRequestHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddCommands ¶ added in v0.2.0
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 GetValidators ¶
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 ValidatorsetRequestHandler ¶ added in v0.2.0
func ValidatorsetRequestHandler(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.