5 Commits

Author SHA1 Message Date
Vanshdeep Singh
d2e71eaebc Problem: ValidatorElection.conclude not dependent on height
Solution: Height is an important factor when concluding an election during
replay i.e. fetching the current validator set should be dependent on height
2018-08-15 11:05:08 +02:00
Vanshdeep Singh
b2839668d6 Problem: Election conclusion logic is spread accross multiple files
Solution: Aggregate the logic in ValidatorElection class
2018-08-14 16:44:32 +02:00
Vanshdeep Singh
b12856a9df Problem: Cannot conclude validator election
Solution: Gather votes and conclude election when supermajority is achieved
2018-08-07 16:49:50 +02:00
Vanshdeep Singh
1a74afa9cd Problem: Node operator cannot vote on a ValidatorElection (#2428)
* Problem: Node operator cannot vote on a ValidatorElection

Solution: Implement validator election voting spec

* Problem: Incorrent code comments

Solution: Update comments with correct context

* Problem: Delegated vote not casted back to election

Solution: Update test to cast votes back to election id and assert their validity
2018-08-02 11:49:59 +02:00
Vanshdeep Singh
7dcdefc58b Problem: There is no way to add new validators (BEP-21) (#2392).
Solution: Start by integrating the new election spec specifed in BEP-21.
2018-07-27 17:38:24 +02:00