Commit Graph

16 Commits

Author SHA1 Message Date
Julien Clement 28584759b8 Move send in message because this is where it is supposed to be 2020-05-07 21:27:14 +02:00
Julien Clement 09f005406a Add HigherBallot message to automatize presidency change 2020-05-07 13:29:27 +02:00
Julien Clement c68c0a8a07 Now searchs the next ballot to initiate by looking ballots initiated by others 2020-05-07 11:40:49 +02:00
Julien Clement 5c27b7df2f Partition ballot numbers between all legislators 2020-05-07 11:11:41 +02:00
Julien Clement b33d2f17ab Fix a possible case when president receive a last vote after receiving a voted from someone else for the same ballot 2020-05-06 21:03:24 +02:00
Julien Clement ea40db0fea Add receive success and Ledger::set_decree 2020-05-06 00:28:58 +02:00
Julien Clement af6f434a78 Add receive voted and send success 2020-05-06 00:23:23 +02:00
Julien Clement 3cb93361f2 Add send_voted 2020-05-05 23:57:16 +02:00
Julien Clement 8b1aaa5d36 Add receive_begin_ballot 2020-05-05 23:53:01 +02:00
Julien Clement 63797e0631 Add receive_last_vote and begin receive_enough_last_vote 2020-05-05 23:25:20 +02:00
Julien Clement 01000023b6 Send LastVote 2020-05-05 21:37:14 +02:00
Julien Clement 6795dd7127 Message receiving 2020-05-05 21:04:03 +02:00
Julien Clement 6b80cc68ce Message parsing and serialization, connection to other legislators 2020-05-05 20:43:35 +02:00
Julien Clement fd4de7091c Working on legislator interfaces 2020-05-05 19:29:14 +02:00
Julien Clement 1f2cf940ce Add legislator factory 2020-05-05 14:47:12 +02:00
Julien Clement d7b740b86e Add config parsing 2020-05-05 14:11:54 +02:00