Skip to content

Commit 243c762

Browse files
authored
Addition of slashing parameters to give a better explanation of what validators should expect if they get slashed (#542)
1 parent c9d30f5 commit 243c762

File tree

1 file changed

+27
-6
lines changed

1 file changed

+27
-6
lines changed

content/4.validators/2.becoming-a-validator/1.overview.md

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,38 @@ Validators participate in the consensus protocol by broadcasting votes which con
1616

1717
## Slashing
1818

19-
Slashing is the mechanism that penalizes validators, and as a result, their delegators, for violating certain rules.
19+
Slashing is the mechanism that penalizes validators, and as a result, their delegators, for violating certain rules. Validators need to be careful in adopting the necessary measures to prevent being slashed, as the funds of both the validator and its delegators are subjected to slashing penalties.
2020

21-
Validators need to be careful in adopting the necessary measures to prevent being slashed, as the funds of both the validator and its delegators are subjected to slashing penalties.
21+
Here’s an example of the slashing parameters on Archway. Please note that these values might not reflect the current settings on either `mainnet` or `testnet`; they are only provided to illustrate possible values:
22+
23+
```json
24+
{
25+
"params": {
26+
"signed_blocks_window": "10000",
27+
"min_signed_per_window": "0.500000000000000000",
28+
"downtime_jail_duration": "600s",
29+
"slash_fraction_double_sign": "0.050000000000000000",
30+
"slash_fraction_downtime": "0.000100000000000000"
31+
}
32+
}
33+
```
34+
35+
To confirm the latest slashing parameters, you can check the following URLs:
36+
37+
- **Mainnet Parameters:** [Archway Mainnet Slashing Params](https://api.mainnet.archway.io/cosmos/slashing/v1beta1/params)
38+
- **Testnet Parameters:** [Archway Testnet Slashing Params](https://api.constantine.archway.io/cosmos/slashing/v1beta1/params)
2239

2340
Misbehaviors subjected to slashing include:
2441

25-
- **Downtime** (soft slashing):
26-
When a validator is offline and does not participate in block signing for a certain amount of time, it gets slashed. Slashing leads to a small loss of staked tokens, on top of not earning new rewards for the duration of the downtime.
42+
- **Downtime** (soft slashing):
43+
If a validator goes offline and fails to participate in block signing within a specified window, it incurs a slashing penalty. This results in a reduction in staked tokens, along with forfeited rewards during the offline period. On Archway:
44+
- **Downtime Penalty**: Validators and their delegators lose a portion of their total stake, for instance, *0.01%* based on the example above.
45+
- **Jail Duration**: According to the example, validators would be jailed for *600 seconds* before being allowed to rejoin the network.
2746

28-
- **Double signing** (hard slashing):
29-
This occurs when a validator signs two different blocks at the same height in the network. The penalty is considerably higher, as it involves a higher loss of staked tokens, permanent jail time as the validator is disqualified from participating in the network.
47+
- **Double Signing** (hard slashing):
48+
Double signing occurs when a validator signs two conflicting blocks at the same block height, posing a serious risk to network security. The penalty for this is much higher:
49+
- **Double Signing Penalty**: In the example above, validators and delegators would lose *5%* of their total staked tokens.
50+
- **Jail Duration**: Double-signing typically results in permanent jail time, disqualifying the validator from further participation in the network.
3051

3152

3253
## Considerations

0 commit comments

Comments
 (0)