Params represents the parameters used for by the slashing module.
Field | Type | Label | Description |
---|---|---|---|
signed_blocks_window |
int64 | ||
min_signed_per_window |
bytes | ||
downtime_jail_duration |
google.protobuf.Duration | ||
slash_fraction_double_sign |
bytes | ||
slash_fraction_downtime |
bytes |
ValidatorSigningInfo defines a validator's signing info for monitoring their liveness activity.
Field | Type | Label | Description |
---|---|---|---|
address |
string | ||
start_height |
int64 | height at which validator was first a candidate OR was unjailed | |
index_offset |
int64 | index offset into signed block bit array | |
jailed_until |
google.protobuf.Timestamp | timestamp validator cannot be unjailed until | |
tombstoned |
bool | whether or not a validator has been tombstoned (killed out of validator set) | |
missed_blocks_counter |
int64 | missed blocks counter (to avoid scanning the array every time) |
GenesisState defines the slashing module's genesis state.
Field | Type | Label | Description |
---|---|---|---|
params |
Params | params defines all the paramaters of related to deposit. | |
signing_infos |
SigningInfo | repeated | signing_infos represents a map between validator addresses and their signing infos. |
missed_blocks |
ValidatorMissedBlocks | repeated | signing_infos represents a map between validator addresses and their missed blocks. |
MissedBlock contains height and missed status as boolean.
Field | Type | Label | Description |
---|---|---|---|
index |
int64 | index is the height at which the block was missed. | |
missed |
bool | missed is the missed status. |
SigningInfo stores validator signing info of corresponding address.
Field | Type | Label | Description |
---|---|---|---|
address |
string | address is the validator address. | |
validator_signing_info |
ValidatorSigningInfo | validator_signing_info represents the signing info of this validator. |
ValidatorMissedBlocks contains array of missed blocks of corresponding address.
Field | Type | Label | Description |
---|---|---|---|
address |
string | address is the validator address. | |
missed_blocks |
MissedBlock | repeated | missed_blocks is an array of missed blocks by the validator. |
QueryParamsRequest is the request type for the Query/Params RPC method
QueryParamsResponse is the response type for the Query/Params RPC method
Field | Type | Label | Description |
---|---|---|---|
params |
Params |
QuerySigningInfoRequest is the request type for the Query/SigningInfo RPC method
Field | Type | Label | Description |
---|---|---|---|
cons_address |
string | cons_address is the address to query signing info of |
QuerySigningInfoResponse is the response type for the Query/SigningInfo RPC method
Field | Type | Label | Description |
---|---|---|---|
val_signing_info |
ValidatorSigningInfo | val_signing_info is the signing info of requested val cons address |
QuerySigningInfosRequest is the request type for the Query/SigningInfos RPC method
Field | Type | Label | Description |
---|---|---|---|
pagination |
cosmos.base.query.v1beta1.PageRequest |
QuerySigningInfosResponse is the response type for the Query/SigningInfos RPC method
Field | Type | Label | Description |
---|---|---|---|
info |
ValidatorSigningInfo | repeated | info is the signing info of all validators |
pagination |
cosmos.base.query.v1beta1.PageResponse |
Query provides defines the gRPC querier service
Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
---|---|---|---|---|---|
Params |
QueryParamsRequest | QueryParamsResponse | Params queries the parameters of slashing module | GET | /cosmos/slashing/v1beta1/params |
SigningInfo |
QuerySigningInfoRequest | QuerySigningInfoResponse | SigningInfo queries the signing info of given cons address | GET | /cosmos/slashing/v1beta1/signing_infos/{cons_address} |
SigningInfos |
QuerySigningInfosRequest | QuerySigningInfosResponse | SigningInfos queries signing info of all validators | GET | /cosmos/slashing/v1beta1/signing_infos |
MsgUnjail defines the Msg/Unjail request type
Field | Type | Label | Description |
---|---|---|---|
validator_addr |
string |
MsgUnjailResponse defines the Msg/Unjail response type
Msg defines the slashing Msg service.
Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
---|---|---|---|---|---|
Unjail |
MsgUnjail | MsgUnjailResponse | Unjail defines a method for unjailing a jailed validator, thus returning them into the bonded validator set, so they can begin receiving provisions and rewards again. |