diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-09-15 22:20:07 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-09-15 22:20:07 +0200 |
commit | 528faeab81ba240329140eb1587ccc542736c1dc (patch) | |
tree | 639283b45f05dcd7ad9e2e5c89a28cf3f9dbefd8 /src/exchange/taler-exchange-httpd_keystate.c | |
parent | 46e4ea696cdba772ad5d6f8d79cf2e6586ef9979 (diff) | |
download | exchange-528faeab81ba240329140eb1587ccc542736c1dc.tar.gz exchange-528faeab81ba240329140eb1587ccc542736c1dc.tar.bz2 exchange-528faeab81ba240329140eb1587ccc542736c1dc.zip |
fix #5315, including more testing
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keystate.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keystate.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/exchange/taler-exchange-httpd_keystate.c b/src/exchange/taler-exchange-httpd_keystate.c index 4d1f8888f..ce2eafa71 100644 --- a/src/exchange/taler-exchange-httpd_keystate.c +++ b/src/exchange/taler-exchange-httpd_keystate.c @@ -1192,6 +1192,10 @@ build_keys_response (const struct ResponseFactoryContext *rfc, krd->cherry_pick_date = cherry_pick_date; + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Creating /keys for cherry pick date %s\n", + GNUNET_STRINGS_absolute_time_to_string (cherry_pick_date)); + /* Initialize `rbc` */ memset (&rbc, 0, @@ -2062,6 +2066,11 @@ TEH_KS_handler_keys (struct TEH_RequestHandler *rh, sizeof (struct KeysResponseData), &krd_search_comparator); + GNUNET_log (GNUNET_ERROR_TYPE_WARNING, + "Filtering /keys by cherry pick date %s found entry %u/%u\n", + GNUNET_STRINGS_absolute_time_to_string (last_issue_date), + (unsigned int) (krd - key_state->krd_array), + key_state->krd_array_length); if ( (NULL == krd) && (key_state->krd_array_length > 0) ) { |