diff options
| author | Christian Grothoff <christian@grothoff.org> | 2017-09-12 15:34:38 +0200 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2017-09-12 15:34:38 +0200 | 
| commit | 7aa23a39bd844e5fab4f82c66741fa584e2f6074 (patch) | |
| tree | 00e5d999d71fd2e15a0d3eb8847d7f78abe349c6 /src/exchangedb | |
| parent | 7d21331d5ffff65659a766149812ce654bbe5fd0 (diff) | |
add support for #4840 (/keys cherry picking) to libtalerexchange
Diffstat (limited to 'src/exchangedb')
| -rw-r--r-- | src/exchangedb/plugin_exchangedb_postgres.c | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/src/exchangedb/plugin_exchangedb_postgres.c b/src/exchangedb/plugin_exchangedb_postgres.c index 016ba26c..b4d51038 100644 --- a/src/exchangedb/plugin_exchangedb_postgres.c +++ b/src/exchangedb/plugin_exchangedb_postgres.c @@ -2704,6 +2704,11 @@ postgres_get_ready_deposit (void *cls,    };    enum GNUNET_DB_QueryStatus qs; +  GNUNET_log (GNUNET_ERROR_TYPE_INFO, +	      "Finding ready deposits by deadline %s (%llu)\n", +	      GNUNET_STRINGS_absolute_time_to_string (now), +	      (unsigned long long) now.abs_value_us); +    qs = GNUNET_PQ_eval_prepared_singleton_select (session->conn,  						 "deposits_get_ready",  						 params, @@ -3027,6 +3032,11 @@ postgres_insert_deposit (void *cls,  				   session,  				   &deposit->coin)))      return qs; +  GNUNET_log (GNUNET_ERROR_TYPE_INFO, +	      "Inserting deposit to be executed at %s (%llu/%llu)\n", +	      GNUNET_STRINGS_absolute_time_to_string (deposit->wire_deadline), +	      (unsigned long long) deposit->wire_deadline.abs_value_us, +	      (unsigned long long) deposit->refund_deadline.abs_value_us);    return GNUNET_PQ_eval_prepared_non_select (session->conn,  					     "insert_deposit",  					     params); | 
