diff options
author | Florian Dold <florian.dold@gmail.com> | 2014-01-07 00:14:11 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2014-01-07 00:14:11 +0000 |
commit | 6a86f1fc448e219364d547d167d0a655eff2b531 (patch) | |
tree | 681e2a680f33f40da4d2235089946a9e4aa0089a /src/include/gnunet_consensus_service.h | |
parent | 4d1b8809fe1df0f2524abc0e65f2f770c88adbdf (diff) | |
download | gnunet-6a86f1fc448e219364d547d167d0a655eff2b531.tar.gz gnunet-6a86f1fc448e219364d547d167d0a655eff2b531.zip |
- profiler actually added to svn
- test for signature segfault with secretsharing
- rudimentary implementation of cooperative decryption
- consensus uses absolute time instead of relative
- working DKG without zero knowledge proofs
Diffstat (limited to 'src/include/gnunet_consensus_service.h')
-rw-r--r-- | src/include/gnunet_consensus_service.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_consensus_service.h b/src/include/gnunet_consensus_service.h index 6d8d23a17..3b08b2dee 100644 --- a/src/include/gnunet_consensus_service.h +++ b/src/include/gnunet_consensus_service.h | |||
@@ -73,7 +73,7 @@ struct GNUNET_CONSENSUS_Handle; | |||
73 | * @param session_id session identifier | 73 | * @param session_id session identifier |
74 | * Allows a group of peers to have more than consensus session. | 74 | * Allows a group of peers to have more than consensus session. |
75 | * @param new_element_cb callback, called when a new element is added to the set by | 75 | * @param new_element_cb callback, called when a new element is added to the set by |
76 | * another peer | 76 | * another peer. Also called when an error occurs. |
77 | * @param new_element_cls closure for new_element | 77 | * @param new_element_cls closure for new_element |
78 | * @return handle to use, NULL on error | 78 | * @return handle to use, NULL on error |
79 | */ | 79 | */ |
@@ -135,14 +135,14 @@ typedef void (*GNUNET_CONSENSUS_ConcludeCallback) (void *cls); | |||
135 | * try to conclude the consensus within a given time window. | 135 | * try to conclude the consensus within a given time window. |
136 | * | 136 | * |
137 | * @param consensus consensus session | 137 | * @param consensus consensus session |
138 | * @param timeout timeout after which the conculde callback | 138 | * @param deadline deadline after which the conculde callback |
139 | * must be called | 139 | * whill be called |
140 | * @param conclude called when the conclusion was successful | 140 | * @param conclude called when the conclusion was successful |
141 | * @param conclude_cls closure for the conclude callback | 141 | * @param conclude_cls closure for the conclude callback |
142 | */ | 142 | */ |
143 | void | 143 | void |
144 | GNUNET_CONSENSUS_conclude (struct GNUNET_CONSENSUS_Handle *consensus, | 144 | GNUNET_CONSENSUS_conclude (struct GNUNET_CONSENSUS_Handle *consensus, |
145 | struct GNUNET_TIME_Relative timeout, | 145 | struct GNUNET_TIME_Absolute deadline, |
146 | GNUNET_CONSENSUS_ConcludeCallback conclude, | 146 | GNUNET_CONSENSUS_ConcludeCallback conclude, |
147 | void *conclude_cls); | 147 | void *conclude_cls); |
148 | 148 | ||