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 ¶
AddCommands adds a number of rpc-related subcommands
func BlockRequestHandler ¶
func BlockRequestHandler(w http.ResponseWriter, r *http.Request)
func GetChainHeight ¶
func GetValidators ¶
func LatestBlockRequestHandler ¶
func LatestBlockRequestHandler(w http.ResponseWriter, r *http.Request)
func LatestValidatorsetRequestHandler ¶
func LatestValidatorsetRequestHandler(w http.ResponseWriter, r *http.Request)
func NodeInfoRequestHandler ¶
func NodeInfoRequestHandler(w http.ResponseWriter, r *http.Request)
func NodeSyncingRequestHandler ¶
func NodeSyncingRequestHandler(w http.ResponseWriter, r *http.Request)
func RegisterRoutes ¶
func ValidatorsetRequestHandler ¶
func ValidatorsetRequestHandler(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.