Skip to content

Commit

Permalink
Implement initial vote weight via coin age (paritytech#87)
Browse files Browse the repository at this point in the history
* Use struct instead of map as much as possible

* Unchecked initial version

* All intentions except these validators are candidates

* Add harsh test

* Put candidates into stats

* Rename unstake to deactive

* Revert StakeWeight

* Remove useless code

* Remove MAX_INTENTIONS
  • Loading branch information
liuchengxu authored and gguoss committed Nov 16, 2018
1 parent 4b1fcaf commit 8afe74b
Show file tree
Hide file tree
Showing 4 changed files with 614 additions and 377 deletions.
Loading

0 comments on commit 8afe74b

Please sign in to comment.