diff options
author | Marco Boss <bossm8@bfh.ch> | 2022-03-14 20:06:07 +0100 |
---|---|---|
committer | Marco Boss <bossm8@bfh.ch> | 2022-03-14 20:06:07 +0100 |
commit | 7529939a0f7af04c9435cd985a3d4729935634e1 (patch) | |
tree | 5a5dccb30ad8be058ab0910d163994fefc73e842 /src/exchange/taler-exchange-httpd_deposits_get.c | |
parent | 687f0cab82869216289c62ac42acd9c8a6bbf59f (diff) | |
download | exchange-7529939a0f7af04c9435cd985a3d4729935634e1.tar.gz exchange-7529939a0f7af04c9435cd985a3d4729935634e1.tar.bz2 exchange-7529939a0f7af04c9435cd985a3d4729935634e1.zip |
add metrics for number of crypto operations
Diffstat (limited to 'src/exchange/taler-exchange-httpd_deposits_get.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_deposits_get.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/exchange/taler-exchange-httpd_deposits_get.c b/src/exchange/taler-exchange-httpd_deposits_get.c index fa1b530b2..1e99608c3 100644 --- a/src/exchange/taler-exchange-httpd_deposits_get.c +++ b/src/exchange/taler-exchange-httpd_deposits_get.c @@ -247,7 +247,7 @@ handle_track_transaction_request ( if (GNUNET_OK != TEH_DB_run_transaction (connection, "handle deposits GET", - TEH_MT_OTHER, + TEH_MT_REQUEST_OTHER, &mhd_ret, &deposits_get_transaction, &ctx)) @@ -344,6 +344,7 @@ TEH_handler_deposits_get (struct TEH_RequestContext *rc, return MHD_NO; /* internal error */ if (GNUNET_NO == res) return MHD_YES; /* parse error */ + TEH_METRICS_num_verifications[TEH_MT_EDDSA]++; if (GNUNET_OK != GNUNET_CRYPTO_eddsa_verify (TALER_SIGNATURE_MERCHANT_TRACK_TRANSACTION, &tps, |