exchange/src/benchmark/taler-exchange-benchmark.conf
Christian Grothoff cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00

107 lines
2.4 KiB
Plaintext

[benchmark]
BANK_DETAILS = bank_details.json
MERCHANT_DETAILS = merchant_details.json
[PATHS]
# Persistant data storage for the testcase
TALER_TEST_HOME = test_benchmark_home/
[taler]
CURRENCY = KUDOS
[exchange]
# HTTP port the exchange listens to
PORT = 8081
# How to access our database
DB = postgres
# Master public key used to sign the exchange's various keys
MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
[exchangedb-postgres]
CONFIG = "postgres:///talercheck"
[account-exchange]
# What is the main website of the bank?
# (Not used unless the aggregator is run.)
URL = "payto://x-taler-bank/localhost:8082/2"
# This is the response we give out for the /wire request. It provides
# wallets with the bank information for transfers to the exchange.
WIRE_RESPONSE = ${TALER_CONFIG_HOME}/account.json
[fees-x-taler-bank]
WIRE-FEE-2017 = KUDOS:0.01
WIRE-FEE-2018 = KUDOS:0.01
WIRE-FEE-2019 = KUDOS:0.01
WIRE-FEE-2020 = KUDOS:0.01
WIRE-FEE-2021 = KUDOS:0.01
WIRE-FEE-2022 = KUDOS:0.01
WIRE-FEE-2023 = KUDOS:0.01
WIRE-FEE-2024 = KUDOS:0.01
WIRE-FEE-2025 = KUDOS:0.01
WIRE-FEE-2026 = KUDOS:0.01
CLOSING-FEE-2017 = KUDOS:0.01
CLOSING-FEE-2018 = KUDOS:0.01
CLOSING-FEE-2019 = KUDOS:0.01
CLOSING-FEE-2020 = KUDOS:0.01
CLOSING-FEE-2021 = KUDOS:0.01
CLOSING-FEE-2022 = KUDOS:0.01
CLOSING-FEE-2023 = KUDOS:0.01
CLOSING-FEE-2024 = KUDOS:0.01
CLOSING-FEE-2025 = KUDOS:0.01
CLOSING-FEE-2026 = KUDOS:0.01
[coin_kudos_1]
value = KUDOS:1
duration_overlap = 5 minutes
duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = KUDOS:0.00
fee_deposit = KUDOS:0.00
fee_refresh = KUDOS:0.00
fee_refund = KUDOS:0.00
rsa_keysize = 1024
[coin_kudos_2]
value = KUDOS:2
duration_overlap = 5 minutes
duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = KUDOS:0.00
fee_deposit = KUDOS:0.00
fee_refresh = KUDOS:0.00
fee_refund = KUDOS:0.00
rsa_keysize = 1024
[coin_kudos_4]
value = KUDOS:4
duration_overlap = 5 minutes
duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = KUDOS:0.00
fee_deposit = KUDOS:0.00
fee_refresh = KUDOS:0.00
fee_refund = KUDOS:0.00
rsa_keysize = 1024
[coin_kudos_8]
value = KUDOS:8
duration_overlap = 5 minutes
duration_withdraw = 7 days
duration_spend = 2 years
duration_legal = 3 years
fee_withdraw = KUDOS:0.00
fee_deposit = KUDOS:0.00
fee_refresh = KUDOS:0.00
fee_refund = KUDOS:0.00
rsa_keysize = 1024