From 7aa23a39bd844e5fab4f82c66741fa584e2f6074 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 12 Sep 2017 15:34:38 +0200 Subject: add support for #4840 (/keys cherry picking) to libtalerexchange --- src/exchangedb/plugin_exchangedb_postgres.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/exchangedb/plugin_exchangedb_postgres.c') 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); -- cgit v1.2.3