diff options
author | Florian Dold <florian.dold@gmail.com> | 2015-10-11 19:16:15 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2015-10-11 19:16:15 +0000 |
commit | 97413eeadde62d7646b192348512abc4f4c36c2d (patch) | |
tree | 976e75557edd1ef9c2cd110fee45c476be9e7960 /src/consensus/gnunet-service-consensus.c | |
parent | 15f13cc7f9b59269a8b5ee8c750b5729b2c359ae (diff) | |
download | gnunet-97413eeadde62d7646b192348512abc4f4c36c2d.tar.gz gnunet-97413eeadde62d7646b192348512abc4f4c36c2d.zip |
consensus
Diffstat (limited to 'src/consensus/gnunet-service-consensus.c')
-rw-r--r-- | src/consensus/gnunet-service-consensus.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/consensus/gnunet-service-consensus.c b/src/consensus/gnunet-service-consensus.c index 296095f41..da18f816d 100644 --- a/src/consensus/gnunet-service-consensus.c +++ b/src/consensus/gnunet-service-consensus.c | |||
@@ -33,7 +33,6 @@ | |||
33 | #include "consensus_protocol.h" | 33 | #include "consensus_protocol.h" |
34 | #include "consensus.h" | 34 | #include "consensus.h" |
35 | 35 | ||
36 | #define GNUNET_CONSENSUS_ELEMENT_TYPE_USER_MAX 1 // FIXME | ||
37 | #define ELEMENT_TYPE_CONTESTED_MARKER (GNUNET_CONSENSUS_ELEMENT_TYPE_USER_MAX + 1) | 36 | #define ELEMENT_TYPE_CONTESTED_MARKER (GNUNET_CONSENSUS_ELEMENT_TYPE_USER_MAX + 1) |
38 | 37 | ||
39 | 38 | ||
@@ -808,6 +807,7 @@ rfn_noncontested (struct ReferendumEntry *rfn) | |||
808 | return ret; | 807 | return ret; |
809 | } | 808 | } |
810 | 809 | ||
810 | |||
811 | static void | 811 | static void |
812 | rfn_vote (struct ReferendumEntry *rfn, | 812 | rfn_vote (struct ReferendumEntry *rfn, |
813 | uint16_t voting_peer, | 813 | uint16_t voting_peer, |
@@ -2259,6 +2259,8 @@ install_step_timeouts (struct ConsensusSession *session) | |||
2259 | /* Given the fully constructed task graph | 2259 | /* Given the fully constructed task graph |
2260 | with rounds for tasks, we can give the tasks timeouts. */ | 2260 | with rounds for tasks, we can give the tasks timeouts. */ |
2261 | 2261 | ||
2262 | // unsigned int max_round; | ||
2263 | |||
2262 | /* XXX: implement! */ | 2264 | /* XXX: implement! */ |
2263 | } | 2265 | } |
2264 | 2266 | ||