Commit Graph

33 Commits

Author SHA1 Message Date
Julien CLEMENT 335d8ba22c feat(ci): add CI
Some checks failed
continuous-integration/drone/push Build is failing
Signed-off-by: Julien CLEMENT <julien.clement@epita.fr>
2021-11-06 02:42:38 +01:00
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 df518d4f8a Better logging 2020-05-07 13:46:02 +02:00
Julien Clement 6757f2df8f Fix initiating ballot after HigherBallot when HigherBallot is in fact no higher 2020-05-07 13:36:02 +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 f4ce89216f Better logging 2020-05-06 19:51:35 +02:00
Julien Clement 879b82fb7e Better logging 2020-05-06 19:28:37 +02:00
Julien Clement bd6ce7db3b Can only BeginBallot once 2020-05-06 19:24:43 +02:00
Julien Clement 53d36d8569 Self if now also in legislators map 2020-05-06 19:07:37 +02:00
Julien Clement 5288ed69f4 New config 2020-05-06 19:00:09 +02:00
Julien Clement 312eaab0be Fix obsolete comment 2020-05-06 18:51:50 +02:00
Julien Clement 2c6ccd7e40 Better logging 2020-05-06 00:46:42 +02:00
Julien Clement 36ebbcb00f Fix segfault and working first implem 2020-05-06 00:33:09 +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 8f66b98ce3 Calling receive_next_ballot after message treatment 2020-05-05 21:20:27 +02:00
Julien Clement 6795dd7127 Message receiving 2020-05-05 21:04:03 +02:00
Julien Clement 0354ce0bea Message sending 2020-05-05 20:50:55 +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 b6c825a877 Able to accept connection 2020-05-05 15:59:10 +02:00
Julien Clement f512de7313 Add event handler 2020-05-05 15:39:59 +02:00
Julien Clement b42378c261 Add socket creation 2020-05-05 15:11:41 +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
Julien Clement 229ea933cd Initial commit 2020-05-05 13:11:48 +02:00