2017-03-02 06:26:12 +01:00
|
|
|
[PATHS]
|
2020-03-31 20:57:11 +02:00
|
|
|
# Persistent data storage for the testcase
|
2017-03-02 06:26:12 +01:00
|
|
|
TALER_TEST_HOME = test_taler_exchange_httpd_home/
|
2021-04-28 15:42:36 +02:00
|
|
|
TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/taler-system-runtime/
|
2017-03-02 06:26:12 +01:00
|
|
|
|
2021-01-17 20:07:55 +01:00
|
|
|
[taler-exchange-secmod-rsa]
|
2021-01-16 23:55:11 +01:00
|
|
|
# Reduce from 1 year to speed up test
|
|
|
|
LOOKAHEAD_SIGN = 24 days
|
|
|
|
|
2021-01-17 20:07:55 +01:00
|
|
|
[taler-exchange-secmod-eddsa]
|
2021-01-16 23:55:11 +01:00
|
|
|
# Reduce from 1 year to speed up test
|
|
|
|
LOOKAHEAD_SIGN = 24 days
|
|
|
|
# Reduce from 12 weeks to ensure we have multiple
|
|
|
|
DURATION = 14 days
|
|
|
|
|
2017-03-02 06:26:12 +01:00
|
|
|
[taler]
|
|
|
|
# Currency supported by the exchange (can only be one)
|
|
|
|
CURRENCY = EUR
|
2020-01-19 20:57:32 +01:00
|
|
|
CURRENCY_ROUND_UNIT = EUR:0.01
|
2017-03-02 06:26:12 +01:00
|
|
|
|
2016-03-30 22:56:17 +02:00
|
|
|
[exchange]
|
2017-03-02 06:26:12 +01:00
|
|
|
# The DB plugin to use
|
2016-03-30 22:56:17 +02:00
|
|
|
DB = postgres
|
|
|
|
|
2017-03-02 06:26:12 +01:00
|
|
|
# HTTP port the exchange listens to
|
|
|
|
PORT = 8081
|
|
|
|
|
|
|
|
# Master public key used to sign the exchange's various keys
|
|
|
|
MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
|
|
|
|
|
2018-04-02 14:24:45 +02:00
|
|
|
# Expected base URL of the exchange. Used in wire transfers for
|
|
|
|
# the tracking API.
|
2020-12-16 19:58:42 +01:00
|
|
|
BASE_URL = "http://localhost:8081/"
|
2017-03-02 06:26:12 +01:00
|
|
|
|
2020-01-16 14:40:28 +01:00
|
|
|
[auditor]
|
|
|
|
BASE_URL = "http://auditor.example.com/"
|
|
|
|
|
|
|
|
[auditordb-postgres]
|
|
|
|
CONFIG = "postgres:///talercheck"
|
|
|
|
|
2017-04-20 21:38:02 +02:00
|
|
|
[exchangedb]
|
|
|
|
# After how long do we close idle reserves? The exchange
|
|
|
|
# and the auditor must agree on this value. We currently
|
|
|
|
# expect it to be globally defined for the whole system,
|
|
|
|
# as there is no way for wallets to query this value. Thus,
|
|
|
|
# it is only configurable for testing, and should be treated
|
|
|
|
# as constant in production.
|
|
|
|
IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
|
|
|
|
|
2016-03-30 22:56:17 +02:00
|
|
|
[exchangedb-postgres]
|
|
|
|
|
|
|
|
#The connection string the plugin has to use for connecting to the database
|
2018-04-02 14:24:45 +02:00
|
|
|
CONFIG = postgres:///talercheck
|
2017-03-02 06:26:12 +01:00
|
|
|
|
2019-09-05 10:59:03 +02:00
|
|
|
[exchangedb]
|
|
|
|
|
|
|
|
# After how long do we close idle reserves? The exchange
|
|
|
|
# and the auditor must agree on this value. We currently
|
|
|
|
# expect it to be globally defined for the whole system,
|
|
|
|
# as there is no way for wallets to query this value. Thus,
|
|
|
|
# it is only configurable for testing, and should be treated
|
|
|
|
# as constant in production.
|
|
|
|
IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
|
|
|
|
|
|
|
|
# After how long do we forget about reserves? Should be above
|
|
|
|
# the legal expiration timeframe of withdrawn coins.
|
|
|
|
LEGAL_RESERVE_EXPIRATION_TIME = 7 years
|
|
|
|
|
2020-01-19 18:48:14 +01:00
|
|
|
[exchange-account-1]
|
2018-04-02 14:24:45 +02:00
|
|
|
|
|
|
|
# What is the account URL?
|
2020-01-19 17:03:19 +01:00
|
|
|
PAYTO_URI = "payto://x-taler-bank/localhost/2"
|
2021-08-03 21:58:36 +02:00
|
|
|
ENABLE_DEBIT = YES
|
|
|
|
ENABLE_CREDIT = YES
|
|
|
|
|
|
|
|
[exchange-accountcredentials-1]
|
2020-01-17 03:39:15 +01:00
|
|
|
WIRE_GATEWAY_URL = "http://localhost:8082/2/"
|
|
|
|
WIRE_GATEWAY_AUTH_METHOD = basic
|
|
|
|
USERNAME = Exchange
|
|
|
|
PASSWORD = x
|
2021-08-03 21:58:36 +02:00
|
|
|
|
2018-04-02 14:24:45 +02:00
|
|
|
|
2020-01-17 03:39:15 +01:00
|
|
|
[bank]
|
|
|
|
HTTP_PORT = 8082
|
|
|
|
|
2020-12-16 19:58:42 +01:00
|
|
|
[coin_eur_ct_1]
|
|
|
|
value = EUR:0.01
|
|
|
|
duration_withdraw = 7 days
|
|
|
|
duration_spend = 2 years
|
|
|
|
duration_legal = 3 years
|
|
|
|
fee_withdraw = EUR:0.00
|
|
|
|
fee_deposit = EUR:0.00
|
|
|
|
fee_refresh = EUR:0.01
|
|
|
|
fee_refund = EUR:0.01
|
|
|
|
rsa_keysize = 1024
|