Documentation
¶
Index ¶
- func CreateNewValidatorKey(cliCtx context.Context) http.HandlerFunc
- func CreateValidatorRequest(cliCtx context.Context, writer http.ResponseWriter, request *http.Request)
- func DelegateTX(cliCtx context.Context, writer http.ResponseWriter, request *http.Request)
- func EditValidatorTX(cliCtx context.Context, writer http.ResponseWriter, request *http.Request)
- func GetNodeInfo(cliCtx context.Context) http.HandlerFunc
- func RedelegateTX(cliCtx context.Context, writer http.ResponseWriter, request *http.Request)
- func RegisterQueryRoutes(cliCtx context.Context, r *mux.Router)
- func RegisterRestNodeRoutes(cliCtx context.Context, r *mux.Router)
- func RegisterRestTxRoutes(cliCtx context.Context, r *mux.Router)
- func RegisterRoutes(cliCtx context.Context, r *mux.Router)
- func UndelegateTX(cliCtx context.Context, writer http.ResponseWriter, request *http.Request)
- type KeyValue
- type NodeInfo
- type PrivKeyInfo
- type PubKeyInfo
- type Validator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateNewValidatorKey ¶
func CreateNewValidatorKey(cliCtx context.Context) http.HandlerFunc
func CreateValidatorRequest ¶
func DelegateTX ¶
func EditValidatorTX ¶
func GetNodeInfo ¶ added in v1.5.23
func GetNodeInfo(cliCtx context.Context) http.HandlerFunc
func RedelegateTX ¶
func UndelegateTX ¶
Types ¶
type NodeInfo ¶ added in v1.5.23
type NodeInfo struct {
Address string `json:"address"`
PubKey PubKeyInfo `json:"pub_key"`
PriKey PrivKeyInfo `json:"pri_key"`
}
type PrivKeyInfo ¶ added in v1.5.23
type PrivKeyInfo struct {
Type string `json:"type"`
Value crypto.PrivateKey `json:"value"`
}
type PubKeyInfo ¶ added in v1.5.23
Click to show internal directories.
Click to hide internal directories.