diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-04-21 15:45:12 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-04-21 15:45:12 +0200 |
commit | e64ec174f28812a18fd35f5d671a03e335380d93 (patch) | |
tree | 41163115e277b0f33abcdeee758960753ccb1d81 /src/revocation/gnunet-service-revocation.c | |
parent | 19b772329cb8968e5e96e33d5238f172f5553dc4 (diff) | |
download | gnunet-e64ec174f28812a18fd35f5d671a03e335380d93.tar.gz gnunet-e64ec174f28812a18fd35f5d671a03e335380d93.zip |
rename, fix
Diffstat (limited to 'src/revocation/gnunet-service-revocation.c')
-rw-r--r-- | src/revocation/gnunet-service-revocation.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/revocation/gnunet-service-revocation.c b/src/revocation/gnunet-service-revocation.c index a9fbd57a7..3c08e8452 100644 --- a/src/revocation/gnunet-service-revocation.c +++ b/src/revocation/gnunet-service-revocation.c | |||
@@ -131,7 +131,7 @@ static unsigned long long revocation_work_required; | |||
131 | /** | 131 | /** |
132 | * Length of an expiration expoch | 132 | * Length of an expiration expoch |
133 | */ | 133 | */ |
134 | static struct GNUNET_TIME_Relative epoch_length; | 134 | static struct GNUNET_TIME_Relative epoch_duration; |
135 | 135 | ||
136 | /** | 136 | /** |
137 | * Our application ID for set union operations. Must be the | 137 | * Our application ID for set union operations. Must be the |
@@ -174,7 +174,7 @@ verify_revoke_message (const struct RevokeMessage *rm) | |||
174 | { | 174 | { |
175 | if (GNUNET_YES != GNUNET_REVOCATION_check_pow (&rm->proof_of_work, | 175 | if (GNUNET_YES != GNUNET_REVOCATION_check_pow (&rm->proof_of_work, |
176 | (unsigned int) revocation_work_required, | 176 | (unsigned int) revocation_work_required, |
177 | epoch_length)) | 177 | epoch_duration)) |
178 | { | 178 | { |
179 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 179 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
180 | "Proof of work invalid!\n"); | 180 | "Proof of work invalid!\n"); |
@@ -846,12 +846,12 @@ run (void *cls, | |||
846 | if (GNUNET_OK != | 846 | if (GNUNET_OK != |
847 | GNUNET_CONFIGURATION_get_value_time (cfg, | 847 | GNUNET_CONFIGURATION_get_value_time (cfg, |
848 | "REVOCATION", | 848 | "REVOCATION", |
849 | "EPOCH_LENGTH", | 849 | "EPOCH_DURATION", |
850 | &epoch_length)) | 850 | &epoch_duration)) |
851 | { | 851 | { |
852 | GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, | 852 | GNUNET_log_config_missing (GNUNET_ERROR_TYPE_ERROR, |
853 | "REVOCATION", | 853 | "REVOCATION", |
854 | "EPOCH_LENGTH"); | 854 | "EPOCH_DURATION"); |
855 | GNUNET_SCHEDULER_shutdown (); | 855 | GNUNET_SCHEDULER_shutdown (); |
856 | GNUNET_free (fn); | 856 | GNUNET_free (fn); |
857 | return; | 857 | return; |