diff options
Diffstat (limited to 'src/benchmark/benchmark-common.conf')
-rw-r--r-- | src/benchmark/benchmark-common.conf | 73 |
1 files changed, 51 insertions, 22 deletions
diff --git a/src/benchmark/benchmark-common.conf b/src/benchmark/benchmark-common.conf index 5ac4a3974..e47115a2b 100644 --- a/src/benchmark/benchmark-common.conf +++ b/src/benchmark/benchmark-common.conf @@ -13,9 +13,17 @@ PORT=8081 MASTER_PUBLIC_KEY=98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG DB=postgres BASE_URL="http://localhost:8081/" -AGGREGATOR_SHARD_SIZE=67108864 +# Only set this option if you are actually running +# multiple aggregators! +# AGGREGATOR_SHARD_SIZE=67108864 WIREWATCH_IDLE_SLEEP_INTERVAL=5 ms +[exchangedb-postgres] +CONFIG="postgres:///talercheck" + +[exchange-offline] +MASTER_PRIV_FILE=${TALER_TEST_HOME}/.local/share/taler/exchange/offline-keys/master.priv + [taler-exchange-secmod-rsa] LOOKAHEAD_SIGN="1 d" @@ -26,6 +34,39 @@ 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/exchange?receiver-name=exchange" +ENABLE_DEBIT = YES +ENABLE_CREDIT = YES + +[exchange-accountcredentials-1] +WIRE_GATEWAY_AUTH_METHOD = none +WIRE_GATEWAY_URL = "http://localhost:8080/accounts/exchange/taler-wire-gateway/" + +[admin-accountcredentials-1] +WIRE_GATEWAY_AUTH_METHOD = none +WIRE_GATEWAY_URL = "http://localhost:8080/accounts/exchange/taler-wire-gateway/" + +# account-2 is suitable for libeufin +[exchange-account-2] +ENABLE_DEBIT = YES +ENABLE_CREDIT = YES +PAYTO_URI = payto://iban/SANDBOXX/DE033310?receiver-name=Exchange+Company + +[exchange-accountcredentials-2] +WIRE_GATEWAY_AUTH_METHOD = basic +USERNAME = exchange +PASSWORD = x +WIRE_GATEWAY_URL = "http://localhost:8080/accounts/exchange/taler-wire-gateway/" + +[admin-accountcredentials-2] +WIRE_GATEWAY_AUTH_METHOD = basic +USERNAME = admin +PASSWORD = secret +WIRE_GATEWAY_URL = "http://localhost:8080/accounts/exchange/taler-wire-gateway/" + + # Trust local exchange for "EUR" currency [merchant-exchange-benchmark] EXCHANGE_BASE_URL = http://localhost:8081/ @@ -35,9 +76,6 @@ MASTER_KEY=98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG CURRENCY = EUR -[exchangedb-postgres] -CONFIG="postgres:///talercheck" - [merchantdb-postgres] CONFIG="postgres:///talercheck" @@ -47,31 +85,22 @@ CONFIG="postgres:///talercheck" [syncdb-postgres] CONFIG="postgres:///talercheck" -[exchange-offline] -MASTER_PRIV_FILE=${TALER_DATA_HOME}/exchange/offline-keys/master.priv +[exchange] +WIREWATCH_IDLE_SLEEP_INTERVAL = 5000 ms [bank] -HTTP_PORT=8082 +HTTP_PORT=8080 SERVE=http -MAX_DEBT=EUR:100000000000.0 -MAX_DEBT_BANK=EUR:1000000000000000.0 -DATABASE=bank-db.sqlite3 +RAM_LIMIT=10000000 + +[libeufin-bank] +CURRENCY = EUR [libeufin-nexus] -#DB_CONNECTION="jdbc:postgresql://localhost/talercheck?socketFactory=org.newsclub.net.unix." -DB_CONNECTION="jdbc:sqlite:libeufin-nexus.sqlite3" +DB_CONNECTION="postgresql:///talercheck" [libeufin-sandbox] -#DB_CONNECTION="jdbc:postgresql://localhost/talercheck?socketFactory=org.newsclub.net.unix." -DB_CONNECTION="jdbc:sqlite:libeufin-sandbox.sqlite3" +DB_CONNECTION="postgresql:///talercheck" [auditor] BASE_URL="http://localhost:8083/" - -[benchmark-remote-exchange] -HOST=localhost -# Adjust $HOME to match remote target! -DIR=$HOME/repos/taler/exchange/src/benchmark - -[benchmark] -USER_PAYTO_URI="payto://x-taler-bank/localhost:8082/42?receiver-name=user42" |