summaryrefslogtreecommitdiff
path: root/src/lib/test_merchant.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/test_merchant.conf')
-rw-r--r--src/lib/test_merchant.conf71
1 files changed, 67 insertions, 4 deletions
diff --git a/src/lib/test_merchant.conf b/src/lib/test_merchant.conf
index bf2335d8..e33f6197 100644
--- a/src/lib/test_merchant.conf
+++ b/src/lib/test_merchant.conf
@@ -1,4 +1,9 @@
-# Sample configuration file for a merchant.
+# This file is in the public domain.
+#
+[PATHS]
+# Persistant data storage for the testcase
+TALER_TEST_HOME = test_exchange_api_home/
+
[merchant]
# Which port do we run the backend on? (HTTP server)
@@ -13,9 +18,6 @@ KEYFILE = test_merchant.priv
# What currency does this backend accept?
CURRENCY = EUR
-# FIXME: to be revised
-TRUSTED_EXCHANGES = taler
-
# How quickly do we want the exchange to send us our money?
# Used only if the frontend does not specify a value.
# FIXME: EDATE is a bit short, 'execution_delay'?
@@ -53,3 +55,64 @@ NAME = GNUNET E.V
BIC = GENODEF1SRL
SALT = 17919252168512238964
ADDRESS = "Garching"
+
+
+[exchange]
+# How to access our database
+DB = postgres
+# HTTP port the exchange listens to
+PORT = 8081
+# Wire format supported by the exchange
+WIREFORMAT = test
+
+
+
+[exchangedb-postgres]
+DB_CONN_STR = "postgres:///talercheck"
+
+[exchange-wire-incoming-test]
+# This is the response we give out for the /wire request. It provides
+# wallets with the bank information for transfers to the exchange.
+TEST_RESPONSE_FILE = ${TALER_CONFIG_HOME}/test.json
+
+[exchange-wire-outgoing-test]
+# What is the main website of the bank?
+BANK_URI = "http://localhost:8082/"
+# Into which account at the 'bank' should (incoming) wire transfers be made?
+BANK_ACCOUNT_NUMBER = 2
+
+[coin_eur_ct_1]
+value = EUR:0.01
+duration_overlap = 5 minutes
+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
+
+[coin_eur_ct_10]
+value = EUR:0.10
+duration_overlap = 5 minutes
+duration_withdraw = 7 days
+duration_spend = 2 years
+duration_legal = 3 years
+fee_withdraw = EUR:0.01
+fee_deposit = EUR:0.01
+fee_refresh = EUR:0.03
+fee_refund = EUR:0.01
+rsa_keysize = 1024
+
+[coin_eur_1]
+value = EUR:1
+duration_overlap = 5 minutes
+duration_withdraw = 7 days
+duration_spend = 2 years
+duration_legal = 3 years
+fee_withdraw = EUR:0.01
+fee_deposit = EUR:0.01
+fee_refresh = EUR:0.03
+fee_refund = EUR:0.01
+rsa_keysize = 1024