-
Notifications
You must be signed in to change notification settings - Fork 0
Implement validator list. #8
Copy link
Copy link
Open
Description
- Admin controls the list of validators. Can add and remove validators.
- On staking, random validator is selected from the list and the delegation is made to him.
- When admin removes the validator from the list, then tokens are delegated equally to all validators on the list.
- introduce a new method:
redistributeto handle undelegated tokens after 7 eras.
- introduce a new method:
- Handle case where validator stop being validator and tokens get back to staking purse.
- Edgecase: there might be zero validators on the list. When last validator is removed, then sCSPR holders should still be able to withdraw their CSPR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels