7
7
| ** NOMINATION_EXPIRATION** | 24 ** TERM** s |
8
8
| ** CUSTODY_PERIOD** | 24 ** TERM** s |
9
9
| ** RELEASE_PERIOD** | 240 ** TERM** s |
10
- | ** WITHDRAW_DELAY** | 1 ** TERM** |
11
10
| ** MAX_NUM_OF_VALIDATORS** | 30 |
12
11
| ** MIN_NUM_OF_VALIDATORS** | 4 |
13
12
| ** DELEGATION_THRESHOLD** | 100,000 |
@@ -105,7 +104,7 @@ The block is valid only if the sum of voting power is more than 2/3 of the total
105
104
106
105
## Validator Reward
107
106
The block proposer gets the express fee of the blocks at the end of a term.
108
- Validators get the reward after ** WITHDRAW_DELAY ** terms ; however, the proposers cannot get all the reward if they are not loyal to their duty.
107
+ Validators get the reward after 1 term ; however, the proposers cannot get all the reward if they are not loyal to their duty.
109
108
The reward is decreased according to the rate of the blocks the validator misses to sign.
110
109
111
110
The reward is decreased when a validator doesn't sign blocks proposed by others.
@@ -142,7 +141,7 @@ for validators in total_validators {
142
141
The remaining rewards as a result of the additional reward algorithm are burned.
143
142
At the worst case, ** MAX_NUM_OF_VALIDATORS** CCC can be burned every term.
144
143
145
- The rewards the validators earn are paid after ** WITHDRAW_DELAY ** .
144
+ The rewards the validators earn are paid after 1 term .
146
145
147
146
## Punishment for Validators
148
147
### Downtime
@@ -202,8 +201,8 @@ The transaction fails when the delegator revokes more than it delegates.
202
201
* sig2
203
202
204
203
This is a transaction that reports malicious validator.
205
- The ** REPORT_DOUBLE_VOTE** should be reported during ** WITHDRAW_DELAY ** .
206
- The transaction that reports a double vote have occurred before ** WITHDRAW_DELAY ** fails.
204
+ The ** REPORT_DOUBLE_VOTE** should be reported before 1 term passes .
205
+ The transaction that reports a double vote have occurred before 1 term passes fails.
207
206
208
207
The criminal loses all his deposit and rewards and is banned immediately; it is the only case where a validator set is changed during the term.
209
208
@@ -221,7 +220,6 @@ stakeholders = [ address+ ], address asc
221
220
balance(address) = quantity
222
221
delegation(delegator) = [ [delegatee, quantity]+ ], delegatee asc
223
222
candidates = [ [pubkey, deposits, nominate_end_at]+ ], pubkey asc
224
- pending_rewards = [ [withdraw_at, address, quantity]+ ], [withdraw_at, address] asc
225
223
banned = [ address+ ], address asc
226
224
jailed = [ [address, deposits, custody_until, released_at]+ ], address asc
227
225
term_id = [ the last block number of the previous term, the current term id ]
@@ -232,5 +230,4 @@ intermediate_rewards = [ [ address, rewards ]+ address asc, [ address, rewards ]
232
230
1 . Update ` term_id ` to the current block number and the next term id
233
231
3 . Remove the expired candidates and give back the deposits
234
232
3 . Remove the jailed accounts if the current term is greater than ` released_at ` and give back the deposits
235
- 4 . Pay the pending rewards
236
- 5 . Calculate rewards and update ` pending_rewards `
233
+ 4 . Calculate rewards of the previous block and update ` intermediate_rewards `
0 commit comments