Start update of state-machine.md

This commit is contained in:
Christopher Goes 2018-08-13 15:55:30 +02:00
parent ff01cbb093
commit 53fa4a28dc
1 changed files with 18 additions and 3 deletions

View File

@ -1,8 +1,10 @@
## Transaction Overview
## Transaction & State Machine Interaction Overview
### Transactions
In this section we describe the processing of transactions for the `slashing` module.
### TxUnjail
#### TxUnjail
If a validator was automatically unbonded due to downtime and wishes to come back online &
possibly rejoin the bonded set, it must send `TxUnjail`:
@ -35,6 +37,19 @@ handleMsgUnjail(tx TxUnjail)
return
```
If the validotor has enough stake to be in the top hundred, they will be automatically rebonded,
If the validater has enough stake to be in the top hundred, they will be automatically rebonded,
and all delegators still delegated to the validator will be rebonded and begin to again collect
provisions and rewards.
### Interactions
#### Validator Bonded
#### Validator Slashed
#### Validator Unjailed
#### Slashing Period Cleanup
Once no evidence for a given slashing period can possibly be valid (the end time plus the unbonding period is less than the current time),
old slashing periods should be cleaned up.