clean up /keys cherry picking logic, including changing the last_issue_date value to be in seconds

This commit is contained in:
Christian Grothoff 2017-09-17 16:53:14 +02:00
parent 1c3e787243
commit e328b44172
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
4 changed files with 1049 additions and 625 deletions

View File

@ -1,3 +1,6 @@
Sun Sep 17 16:46:13 CEST 2017
Implement /keys cherry picking (#4840). -CG
Wed Sep 13 14:06:44 CEST 2017
Add argument to TALER_EXCHANGE_check_keys_current()
to force download even if /keys are still considered

View File

@ -1140,7 +1140,7 @@ request_keys (struct TALER_EXCHANGE_Handle *exchange)
GNUNET_asprintf (&arg,
"/keys?last_issue_date=%llu",
(unsigned long long) exchange->key_data.last_denom_issue_date.abs_value_us);
(unsigned long long) exchange->key_data.last_denom_issue_date.abs_value_us / 1000000LLU);
kr->url = MAH_path_to_url (exchange,
arg);
GNUNET_free (arg);

File diff suppressed because it is too large Load Diff

View File

@ -280,4 +280,4 @@ TALER_EXCHANGEDB_auditor_write (const char *filename,
}
/* end of exchangedb_keyio.c */
/* end of exchangedb_auditorkeys.c */