summaryrefslogtreecommitdiff
path: root/src/exchange
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-12-15 19:36:05 +0100
committerChristian Grothoff <christian@grothoff.org>2020-12-15 19:36:05 +0100
commit97cbf8bd532a07a9263954f1c9685f4a608caf8d (patch)
tree073ba4392ad3b0281b8e5e0ce10f5b6a40360ec4 /src/exchange
parent20c0c01d02f6b388af3ef26db0b7c4953e7a9213 (diff)
downloadexchange-97cbf8bd532a07a9263954f1c9685f4a608caf8d.tar.gz
exchange-97cbf8bd532a07a9263954f1c9685f4a608caf8d.tar.bz2
exchange-97cbf8bd532a07a9263954f1c9685f4a608caf8d.zip
log
Diffstat (limited to 'src/exchange')
-rw-r--r--src/exchange/taler-exchange-httpd_keys.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
index d51e8b3d..fe7a024c 100644
--- a/src/exchange/taler-exchange-httpd_keys.c
+++ b/src/exchange/taler-exchange-httpd_keys.c
@@ -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))