aboutsummaryrefslogtreecommitdiff
path: root/src/exchange/taler-exchange-httpd_auditors.c
diff options
context:
space:
mode:
authorMarco Boss <bossm8@bfh.ch>2022-03-14 20:06:07 +0100
committerMarco Boss <bossm8@bfh.ch>2022-03-14 20:06:07 +0100
commit7529939a0f7af04c9435cd985a3d4729935634e1 (patch)
tree5a5dccb30ad8be058ab0910d163994fefc73e842 /src/exchange/taler-exchange-httpd_auditors.c
parent687f0cab82869216289c62ac42acd9c8a6bbf59f (diff)
add metrics for number of crypto operations
Diffstat (limited to 'src/exchange/taler-exchange-httpd_auditors.c')
-rw-r--r--src/exchange/taler-exchange-httpd_auditors.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_auditors.c b/src/exchange/taler-exchange-httpd_auditors.c
index b32feff7..ed86bace 100644
--- a/src/exchange/taler-exchange-httpd_auditors.c
+++ b/src/exchange/taler-exchange-httpd_auditors.c
@@ -140,6 +140,7 @@ add_auditor_denom_sig (void *cls,
TALER_B2S (awc->auditor_pub));
return GNUNET_DB_STATUS_HARD_ERROR;
}
+ TEH_METRICS_num_verifications[TEH_MT_EDDSA]++;
if (GNUNET_OK !=
TALER_auditor_denom_validity_verify (
auditor_url,
@@ -213,7 +214,7 @@ TEH_handler_auditors (
return MHD_YES; /* failure */
ret = TEH_DB_run_transaction (connection,
"add auditor denom sig",
- TEH_MT_OTHER,
+ TEH_MT_REQUEST_OTHER,
&res,
&add_auditor_denom_sig,
&awc);