Commit Graph

34 Commits

Author SHA1 Message Date
09f005406a Add HigherBallot message to automatize presidency change 2020-05-07 13:29:27 +02:00
c68c0a8a07 Now searchs the next ballot to initiate by looking ballots initiated by others 2020-05-07 11:40:49 +02:00
5c27b7df2f Partition ballot numbers between all legislators 2020-05-07 11:11:41 +02:00
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
21dbc3e444 Start article 2020-05-06 20:17:42 +02:00
bdd28f129a Cleaner Makefile.am 2020-05-06 20:00:01 +02:00
f4ce89216f Better logging 2020-05-06 19:51:35 +02:00
879b82fb7e Better logging 2020-05-06 19:28:37 +02:00
bd6ce7db3b Can only BeginBallot once 2020-05-06 19:24:43 +02:00
60772b4db1 Update README 2020-05-06 19:13:00 +02:00
53d36d8569 Self if now also in legislators map 2020-05-06 19:07:37 +02:00
5288ed69f4 New config 2020-05-06 19:00:09 +02:00
312eaab0be Fix obsolete comment 2020-05-06 18:51:50 +02:00
bc3c57330c Add readme 2020-05-06 18:46:29 +02:00
2c6ccd7e40 Better logging 2020-05-06 00:46:42 +02:00
6de03b2a7b remove legislators files 2020-05-06 00:34:44 +02:00
36ebbcb00f Fix segfault and working first implem 2020-05-06 00:33:09 +02:00
ea40db0fea Add receive success and Ledger::set_decree 2020-05-06 00:28:58 +02:00
af6f434a78 Add receive voted and send success 2020-05-06 00:23:23 +02:00
3cb93361f2 Add send_voted 2020-05-05 23:57:16 +02:00
8b1aaa5d36 Add receive_begin_ballot 2020-05-05 23:53:01 +02:00
63797e0631 Add receive_last_vote and begin receive_enough_last_vote 2020-05-05 23:25:20 +02:00
01000023b6 Send LastVote 2020-05-05 21:37:14 +02:00
8f66b98ce3 Calling receive_next_ballot after message treatment 2020-05-05 21:20:27 +02:00
6795dd7127 Message receiving 2020-05-05 21:04:03 +02:00
0354ce0bea Message sending 2020-05-05 20:50:55 +02:00
6b80cc68ce Message parsing and serialization, connection to other legislators 2020-05-05 20:43:35 +02:00
fd4de7091c Working on legislator interfaces 2020-05-05 19:29:14 +02:00
b6c825a877 Able to accept connection 2020-05-05 15:59:10 +02:00
f512de7313 Add event handler 2020-05-05 15:39:59 +02:00
b42378c261 Add socket creation 2020-05-05 15:11:41 +02:00
1f2cf940ce Add legislator factory 2020-05-05 14:47:12 +02:00
d7b740b86e Add config parsing 2020-05-05 14:11:54 +02:00
229ea933cd Initial commit 2020-05-05 13:11:48 +02:00