[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: more logging
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: more logging |
Date: |
Thu, 28 Jan 2021 21:46:23 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 4dd87e11 more logging
4dd87e11 is described below
commit 4dd87e111852f25dc5e55c33ee2fb2a3fa475a83
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Thu Jan 28 21:46:21 2021 +0100
more logging
---
src/util/taler-exchange-secmod-eddsa.c | 16 ++++++++++++----
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/src/util/taler-exchange-secmod-eddsa.c
b/src/util/taler-exchange-secmod-eddsa.c
index 8f458f5e..1280459f 100644
--- a/src/util/taler-exchange-secmod-eddsa.c
+++ b/src/util/taler-exchange-secmod-eddsa.c
@@ -355,6 +355,9 @@ sign_worker (void *cls)
wi);
work_counter--;
GNUNET_assert (0 == pthread_mutex_unlock (&work_lock));
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Processing sign request %p\n",
+ wi);
{
if (GNUNET_OK !=
GNUNET_CRYPTO_eddsa_sign_ (&wi->key->exchange_priv.eddsa_priv,
@@ -525,7 +528,8 @@ handle_done (void *cls)
};
GNUNET_log (GNUNET_ERROR_TYPE_WARNING,
- "Signing request failed, worker failed to produce
signature\n");
+ "Signing request %p failed, worker failed to produce
signature\n",
+ wi);
(void) transmit (&wi->addr,
wi->addr_size,
&sf.header);
@@ -539,6 +543,9 @@ handle_done (void *cls)
.exchange_sig = wi->signature
};
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Transmitting signature for request %p\n",
+ wi);
(void) transmit (&wi->addr,
wi->addr_size,
&sr.header);
@@ -593,9 +600,6 @@ handle_sign_request (const struct sockaddr_un *addr,
&sf.header);
return;
}
- GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Received request to sign over %u bytes\n",
- (unsigned int) purpose_size);
{
struct GNUNET_TIME_Absolute now;
@@ -624,6 +628,10 @@ handle_sign_request (const struct sockaddr_un *addr,
keys_head->rc++;
wi->purpose = GNUNET_memdup (purpose,
purpose_size);
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Received request to sign over %u bytes, queueing as %p\n",
+ (unsigned int) purpose_size,
+ wi);
GNUNET_assert (0 == pthread_mutex_lock (&work_lock));
work_counter++;
GNUNET_CONTAINER_DLL_insert (work_head,
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: more logging,
gnunet <=