aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-04-20 19:08:23 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-04-20 19:08:23 +0200
commitc20768b8b09fabaa3c2330cde381e894b1f90efb (patch)
tree62bca41b94c3280a09abbf9db8b50da5f354b691 /src/include
parent424cd50ecd0144b264a547fe149839cf2866c21f (diff)
downloadgnunet-c20768b8b09fabaa3c2330cde381e894b1f90efb.tar.gz
gnunet-c20768b8b09fabaa3c2330cde381e894b1f90efb.zip
include buffer of 10& of epoch
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_revocation_service.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/gnunet_revocation_service.h b/src/include/gnunet_revocation_service.h
index 5c2ce91de..6bd2e88d3 100644
--- a/src/include/gnunet_revocation_service.h
+++ b/src/include/gnunet_revocation_service.h
@@ -177,11 +177,13 @@ GNUNET_REVOCATION_revoke_cancel (struct GNUNET_REVOCATION_Handle *h);
177 * 177 *
178 * @param pow proof of work 178 * @param pow proof of work
179 * @param matching_bits how many bits must match (configuration) 179 * @param matching_bits how many bits must match (configuration)
180 * @return number of epochs valid if the @a pow is acceptable, -1 if not 180 * @param epoch_length length of single epoch in configuration
181 * @return GNUNET_YES if the @a pow is acceptable, GNUNET_NO if not
181 */ 182 */
182int 183int
183GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_Pow *pow, 184GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_Pow *pow,
184 unsigned int matching_bits); 185 unsigned int matching_bits,
186 struct GNUNET_TIME_Relative epoch_length);
185 187
186 188
187 189