4 Commits

Author SHA1 Message Date
Vanshdeep Singh
c6d7667a80 Problem: No tests for invalid proposer or multiple inputs
Solution: Add tests which raise InvalidPropser exception if the public key not a
part of the validator set and raises MultipleInputsError if more than 1
validators `owners_before` in the election.
2018-07-26 13:37:44 +02:00
Vanshdeep Singh
bd88aca347 Problem: Inconsitant error handling
Solution: All errors should generate exceptions extended from ValidationError class
2018-07-26 11:54:11 +02:00
Vanshdeep Singh
6a00c0823f Problem: Power for proposed validator not validated
Solution: Election which allocate power more 1/3 of current total power should
be considered invalid
2018-07-24 14:47:04 +02:00
Vanshdeep Singh
a8e5da31aa Problem: (BEP-21) no way to propose validator election
Solution: Integrate the new election spec specifed in BEP-21
2018-07-18 15:20:32 +02:00