exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit ff3a55f1a9ed3ec84d24bfcb76f29e85b874641e
parent e74fd3d2882bb608c1f6c2c71ddce220bdd72454
Author: Christian Grothoff <grothoff@gnunet.org>
Date:   Sat, 11 Jul 2026 20:46:35 +0200

fix copy-paste issue

Diffstat:
Msrc/auditor/taler-helper-auditor-coins.c | 11+++++++----
Msrc/benchmark/taler-aggregator-benchmark.c | 4++++
2 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/auditor/taler-helper-auditor-coins.c b/src/auditor/taler-helper-auditor-coins.c @@ -2677,7 +2677,9 @@ analyze_coins (void *cls) { GNUNET_log ( GNUNET_ERROR_TYPE_INFO, - "Resuming coin audit at %llu/%llu/%llu/%llu/%llu/%llu/%llu\n", + "Resuming coin audit at %llu/%llu/%llu/%llu/%llu/%llu/%llu/%llu\n", + (unsigned long long) TALER_ARL_USE_PP ( + coins_withdraw_serial_id), (unsigned long long) TALER_ARL_USE_PP ( coins_deposit_serial_id), (unsigned long long) TALER_ARL_USE_PP ( @@ -2685,7 +2687,7 @@ analyze_coins (void *cls) (unsigned long long) TALER_ARL_USE_PP ( coins_refund_serial_id), (unsigned long long) TALER_ARL_USE_PP ( - coins_withdraw_serial_id), + coins_recoup_serial_id), (unsigned long long) TALER_ARL_USE_PP ( coins_recoup_refresh_serial_id), (unsigned long long) TALER_ARL_USE_PP ( @@ -2952,11 +2954,12 @@ analyze_coins (void *cls) } GNUNET_log (GNUNET_ERROR_TYPE_INFO, - "Concluded coin audit step at %llu/%llu/%llu/%llu/%llu/%llu/%llu\n", + "Concluded coin audit step at %llu/%llu/%llu/%llu/%llu/%llu/%llu/%llu\n", + (unsigned long long) TALER_ARL_USE_PP (coins_withdraw_serial_id), (unsigned long long) TALER_ARL_USE_PP (coins_deposit_serial_id), (unsigned long long) TALER_ARL_USE_PP (coins_melt_serial_id), (unsigned long long) TALER_ARL_USE_PP (coins_refund_serial_id), - (unsigned long long) TALER_ARL_USE_PP (coins_withdraw_serial_id), + (unsigned long long) TALER_ARL_USE_PP (coins_recoup_serial_id), (unsigned long long) TALER_ARL_USE_PP ( coins_recoup_refresh_serial_id), (unsigned long long) TALER_ARL_USE_PP ( diff --git a/src/benchmark/taler-aggregator-benchmark.c b/src/benchmark/taler-aggregator-benchmark.c @@ -114,6 +114,8 @@ eval_probability (float probability) uint64_t random; float random_01; + if (probability <= 0.0) + return GNUNET_NO; random = GNUNET_CRYPTO_random_u64 (UINT64_MAX); random_01 = (double) random / (double) UINT64_MAX; return (random_01 <= probability) ? GNUNET_OK : GNUNET_NO; @@ -416,6 +418,8 @@ work (void *cls) } else { + /* Note: on persistent failures, this could + re-try forever; OK because this is a benchmark */ GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "Failed to commit, will try again\n"); }