Documentation
¶
Index ¶
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 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.