From 87f5d8211e5c086bf33a0e974fc131a94625af00 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Sep 2021 23:09:34 +0200 Subject: -misc bugfixes --- src/benchmark/benchmark.conf | 20 ++++++-------------- src/benchmark/taler-aggregator-benchmark.c | 4 ++-- 2 files changed, 8 insertions(+), 16 deletions(-) (limited to 'src/benchmark') diff --git a/src/benchmark/benchmark.conf b/src/benchmark/benchmark.conf index c38981dd6..5199ee872 100644 --- a/src/benchmark/benchmark.conf +++ b/src/benchmark/benchmark.conf @@ -54,28 +54,20 @@ MAX_DEBT_BANK = EUR:1000000000000000.0 [benchmark] USER_PAYTO_URI = payto://x-taler-bank/localhost:8082/42 -[exchange-account-2] -# What is the payto://-URL of the exchange (to generate wire response) -PAYTO_URI = "payto://x-taler-bank/localhost:8082/Exchange" +[exchange-account-test] +# What is the bank account (with the "Taler Bank" demo system)? Must end with "/". +PAYTO_URI = "payto://x-taler-bank/localhost/Exchange" +# Authentication information for basic authentication ENABLE_DEBIT = YES ENABLE_CREDIT = YES -[exchange-accountcredentials-2] -# What is the bank account (with the "Taler Bank" demo system)? Must end with "/". -WIRE_GATEWAY_URL = http://localhost:8082/taler-wire-gateway/Exchange/ -# Authentication information for basic authentication +[exchange-accountcredentials-test] +WIRE_GATEWAY_URL = http://localhost:8082/Exchange/ WIRE_GATEWAY_AUTH_METHOD = "basic" USERNAME = Exchange PASSWORD = x -[exchange-account-aggregator] -# What is the payto://-URL of the exchange (to generate wire response) -PAYTO_URI = "payto://aggregator-benchmark/exchangeacc" -ENABLE_DEBIT = YES - - - # Sections starting with "coin_" specify which denominations # the exchange should support (and their respective fee structure) [coin_eur_ct_1] diff --git a/src/benchmark/taler-aggregator-benchmark.c b/src/benchmark/taler-aggregator-benchmark.c index 283ee23ba..e432d8f57 100644 --- a/src/benchmark/taler-aggregator-benchmark.c +++ b/src/benchmark/taler-aggregator-benchmark.c @@ -370,7 +370,7 @@ work (void *cls) rnd2 = GNUNET_CRYPTO_random_u64 (GNUNET_CRYPTO_QUALITY_NONCE, UINT64_MAX); GNUNET_asprintf (&acc, - "payto://aggregator-benchmark/account-%llX-%llX", + "payto://x-taler-bank/localhost:8082/account-%llX-%llX", (unsigned long long) rnd1, (unsigned long long) rnd2); json_wire = GNUNET_JSON_PACK ( @@ -548,7 +548,7 @@ run (void *cls, sizeof (master_sig)); if (0 > plugin->insert_wire_fee (plugin->cls, - "aggregator-benchmark", + "x-taler-bank", ws, we, &wire_fee, -- cgit v1.2.3