From cd45ba408a791c7a95ad2d28eca222522d326268 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sat, 15 Jul 2023 19:29:13 +0200 Subject: -fix up config --- src/benchmark/benchmark-common.conf | 41 ++++++++++++++-------- .../share/taler/exchange/offline-keys/master.priv | 1 - 2 files changed, 27 insertions(+), 15 deletions(-) delete mode 100644 src/benchmark/exchange_benchmark_home/.local/share/taler/exchange/offline-keys/master.priv (limited to 'src/benchmark') diff --git a/src/benchmark/benchmark-common.conf b/src/benchmark/benchmark-common.conf index 094b76411..6ff5a727a 100644 --- a/src/benchmark/benchmark-common.conf +++ b/src/benchmark/benchmark-common.conf @@ -16,6 +16,12 @@ BASE_URL="http://localhost:8081/" AGGREGATOR_SHARD_SIZE=67108864 WIREWATCH_IDLE_SLEEP_INTERVAL=5 ms +[exchangedb-postgres] +CONFIG="postgres:///talercheck" + +[exchange-offline] +MASTER_PRIV_FILE=${TALER_DATA_HOME}/exchange/offline-keys/master.priv + [taler-exchange-secmod-rsa] LOOKAHEAD_SIGN="1 d" @@ -26,6 +32,27 @@ LOOKAHEAD_SIGN="1 d" DURATION="2 d" LOOKAHEAD_SIGN="1 d" +# account-2 is suitable for fakebank +[exchange-account-1] +PAYTO_URI = "payto://x-taler-bank/localhost/42?receiver-name=42" +ENABLE_DEBIT = YES +ENABLE_CREDIT = YES + +[exchange-accountcredentials-1] +WIRE_GATEWAY_URL = "http://localhost:8082/42/" + +# account-2 is suitable for libeufin +[exchange-account-2] +ENABLE_DEBIT = YES +ENABLE_CREDIT = YES + +[exchange-accountcredentials-2] +WIRE_GATEWAY_AUTH_METHOD = basic +USERNAME = Exchange +PASSWORD = x +WIRE_GATEWAY_URL = "http://localhost:8082/2/" + + # Trust local exchange for "EUR" currency [merchant-exchange-benchmark] EXCHANGE_BASE_URL = http://localhost:8081/ @@ -35,9 +62,6 @@ MASTER_KEY=98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG CURRENCY = EUR -[exchangedb-postgres] -CONFIG="postgres:///talercheck" - [merchantdb-postgres] CONFIG="postgres:///talercheck" @@ -47,26 +71,15 @@ CONFIG="postgres:///talercheck" [syncdb-postgres] CONFIG="postgres:///talercheck" -[exchange-offline] -MASTER_PRIV_FILE=${TALER_DATA_HOME}/exchange/offline-keys/master.priv - [bank] HTTP_PORT=8082 SERVE=http -MAX_DEBT=EUR:100000000000.0 -MAX_DEBT_BANK=EUR:1000000000000000.0 -DATABASE=bank-db.sqlite3 [libeufin-nexus] DB_CONNECTION="jdbc:postgresql://localhost/talercheck?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432" -#DB_CONNECTION="jdbc:sqlite:libeufin-nexus.sqlite3" [libeufin-sandbox] DB_CONNECTION="jdbc:postgresql://localhost/talercheck?socketFactory=org.newsclub.net.unix.AFUNIXSocketFactory$FactoryArg&socketFactoryArg=/var/run/postgresql/.s.PGSQL.5432" -#DB_CONNECTION="jdbc:sqlite:libeufin-sandbox.sqlite3" [auditor] BASE_URL="http://localhost:8083/" - -[benchmark] -USER_PAYTO_URI="payto://x-taler-bank/localhost:8082/42?receiver-name=user42" diff --git a/src/benchmark/exchange_benchmark_home/.local/share/taler/exchange/offline-keys/master.priv b/src/benchmark/exchange_benchmark_home/.local/share/taler/exchange/offline-keys/master.priv deleted file mode 100644 index 394926938..000000000 --- a/src/benchmark/exchange_benchmark_home/.local/share/taler/exchange/offline-keys/master.priv +++ /dev/null @@ -1 +0,0 @@ -p^-33XX!\0qmU_ \ No newline at end of file -- cgit v1.2.3