This commit is contained in:
Christian Grothoff 2020-12-15 19:36:05 +01:00
parent 20c0c01d02
commit 97cbf8bd53
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -1448,6 +1448,9 @@ create_krd (struct TEH_KeyStateHandle *ksh,
struct TALER_ExchangeSignatureP exchange_sig;
json_t *keys;
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Creating /keys at cherry pick date %s\n",
GNUNET_STRINGS_absolute_time_to_string (last_cpd));
/* Sign hash over denomination keys */
{
struct TALER_ExchangeKeySetPS ks = {
@ -1721,6 +1724,10 @@ TEH_get_key_state (void)
}
if (old_ksh->key_generation < key_generation)
{
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Rebuilding /keys, generation upgrade from %llu to %llu\n",
(unsigned long long) old_ksh->key_generation,
(unsigned long long) key_generation);
ksh = build_key_state (&old_ksh->helpers);
if (0 != pthread_setspecific (key_state,
ksh))