diff options
Diffstat (limited to 'src/include/gnunet_revocation_service.h')
-rw-r--r-- | src/include/gnunet_revocation_service.h | 6 |
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 | */ |
182 | int | 183 | int |
183 | GNUNET_REVOCATION_check_pow (const struct GNUNET_REVOCATION_Pow *pow, | 184 | GNUNET_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 | ||