package
Version:
v0.2.0-mainnet-1d8aca37
Opens a new window with list of versions in this module.
Published: Jun 23, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
RestLogger for slashing module logger
RegisterRoutes registers slashing-related REST handlers to a router
Returns slashing tx status information
type TickAckReq struct {
BaseReq rest.BaseReq `json:"base_req"`
ID uint64 `json:"ID"`
Amount uint64 `json:"amount"`
TxHash string `json:"tx_hash"`
LogIndex uint64 `json:"log_index"`
BlockNumber uint64 `json:"block_number" yaml:"block_number"`
}
type TickReq struct {
BaseReq rest.BaseReq `json:"base_req"`
ID uint64 `json:"ID"`
Proposer string `json:"proposer"`
SlashingInfoBytes string `json:"slashing_info_bytes"`
}
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
Source Files
¶
Click to show internal directories.
Click to hide internal directories.