Documentation
¶
Index ¶
- Variables
- func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
- func StakingTxStatusHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- func VerifyAccountProofHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
- type AddValidatorReq
- type RemoveValidatorReq
- type UpdateSignerReq
- type UpdateValidatorStakeReq
Constants ¶
This section is empty.
Variables ¶
View Source
var RestLogger tmLog.Logger
RestLogger for staking module logger
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes registers checkpoint-related REST handlers to a router
func StakingTxStatusHandlerFn ¶ added in v0.1.5
func StakingTxStatusHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
Returns staking tx status information
func VerifyAccountProofHandlerFn ¶
func VerifyAccountProofHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
VerifyAccountProofHandlerFn - Returns true if given Merkle path for dividendAccountID is valid
Types ¶
type AddValidatorReq ¶
type AddValidatorReq struct {
BaseReq rest.BaseReq `json:"base_req"`
ID uint64 `json:"ID"`
SignerPubKey hmTypes.PubKey `json:"pubKey"`
TxHash string `json:"tx_hash"`
LogIndex uint64 `json:"log_index"`
}
AddValidatorReq add validator request object
type RemoveValidatorReq ¶
type RemoveValidatorReq struct {
BaseReq rest.BaseReq `json:"base_req"`
ID uint64 `json:"ID"`
TxHash string `json:"tx_hash"`
LogIndex uint64 `json:"log_index"`
}
RemoveValidatorReq remove validator request object
Click to show internal directories.
Click to hide internal directories.