# Slashing

# Signing Info

Terra.slashing.signing_info_by_address(address=None)

Gets signing information by Validator consensus address. If no address is supplied, all signing infos are returned.

# Parameters

ValConsAddress
address
optional

Validator's consensus (Tendermint) address.


# Returns

JiguBox[ValConsAddress, SigningInfo], where SigningInfo has the following keys/attributes:

ValConsAddress
address

Validator's consensus address.

int
start_height

Number of blocks over which missed blocks are tallied for downtime.

Dec
index_offset

If a validator misses more than this number, they will be penalized and jailed for downtime.

Timestamp
jailed_until

If the current validator is jailed, this value represents when they can submit a MsgUnjail to unjail themselves.

bool
tombstoned

Whether or not the validator is "tombstoned", meaning they are forever barred from joining the validator process.

int
missed_blocks_counter

Number of blocks the validator has missed for the current signed blocks window.

# Module Params

Terra.slashing.params()

Get the Slashing module's current parameters.

# Parameters

str
key
optional

One of "max_evidence_age", "signed_blocks_window", "min_signed_per_window", "downtime_jail_duration", "slash_fraction_double_sign", "slash_fraction_downtime".


# Returns

JiguBox with the following keys:

int
max_evidence_age

Amount of time in seconds that evidence for validator misbehavior remains valid and can be submitted.

int
signed_blocks_window

Number of blocks over which missed blocks are tallied for downtime.

Dec
min_signed_per_window

If a validator misses more than this number, they will be penalized and jailed for downtime.

int
downtime_jail_duration

Amount of time in seconds after which a jailed validator can be unjailed.

Dec
slash_fraction_double_sign

Ratio of funds slashed for a double-sign infraction.

Dec
slash_fraction_downtime

Ratio of funds slashed for a downtime infraction.

Updated on: 2/28/2020, 2:46:57 PM