Documentation
¶
Overview ¶
nolint
nolint
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RestLogger tmLog.Logger
RestLogger for slashing module logger
Functions ¶
func RegisterRoutes ¶
func RegisterRoutes(cliCtx context.CLIContext, r *mux.Router)
RegisterRoutes registers slashing-related REST handlers to a router
func SlashingTxStatusHandlerFn ¶
func SlashingTxStatusHandlerFn(cliCtx context.CLIContext) http.HandlerFunc
swagger:route GET /slashing/isoldtx slashing slashingIsOldTx It returns whether the transaction is old responses:
200: slashingIsOldTxResponse
Returns slashing tx status information
Types ¶
type TickAckReq ¶
type UnjailReq ¶
type UnjailReq struct { BaseReq rest.BaseReq `json:"base_req"` ID uint64 `json:"ID"` TxHash string `json:"tx_hash"` LogIndex uint64 `json:"log_index"` BlockNumber uint64 `json:"block_number" yaml:"block_number"` }
Unjail TX body
type ValidatorSlashingInfo ¶
Click to show internal directories.
Click to hide internal directories.