-more logging

This commit is contained in:
Christian Grothoff 2015-06-19 11:24:34 +02:00
parent 6d222b2d6c
commit d39e4a11cb
2 changed files with 5 additions and 2 deletions

View File

@ -169,8 +169,8 @@ static int
mint_denomkeys_check () mint_denomkeys_check ()
{ {
if (0 > TALER_MINTDB_denomination_keys_iterate (mint_directory, if (0 > TALER_MINTDB_denomination_keys_iterate (mint_directory,
&denomkeys_iter, &denomkeys_iter,
NULL)) NULL))
return GNUNET_NO; return GNUNET_NO;
return GNUNET_OK; return GNUNET_OK;
} }

View File

@ -494,6 +494,9 @@ TMH_KS_acquire (void)
key_state->denomkey_map = GNUNET_CONTAINER_multihashmap_create (32, key_state->denomkey_map = GNUNET_CONTAINER_multihashmap_create (32,
GNUNET_NO); GNUNET_NO);
key_state->reload_time = GNUNET_TIME_absolute_get (); key_state->reload_time = GNUNET_TIME_absolute_get ();
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Loading keys from `%s'\n",
TMH_mint_directory);
TALER_MINTDB_denomination_keys_iterate (TMH_mint_directory, TALER_MINTDB_denomination_keys_iterate (TMH_mint_directory,
&reload_keys_denom_iter, &reload_keys_denom_iter,
key_state); key_state);