summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-18 16:23:01 +0200
committerChristian Grothoff <christian@grothoff.org>2015-06-18 16:23:01 +0200
commit8f656ba0fc3973ca517cbec902cc8ce2d7b15e92 (patch)
tree51d81d73e90542d0133e019f48aeac28531d6efa
parent5e87b47c487ccf29ac907d922bef39bc74867af7 (diff)
downloadexchange-8f656ba0fc3973ca517cbec902cc8ce2d7b15e92.tar.gz
exchange-8f656ba0fc3973ca517cbec902cc8ce2d7b15e92.tar.bz2
exchange-8f656ba0fc3973ca517cbec902cc8ce2d7b15e92.zip
add config files
-rw-r--r--src/mint-lib/test-mint-home/config/mint-common.conf20
-rw-r--r--src/mint-lib/test-mint-home/config/mint-keyup.conf64
2 files changed, 84 insertions, 0 deletions
diff --git a/src/mint-lib/test-mint-home/config/mint-common.conf b/src/mint-lib/test-mint-home/config/mint-common.conf
new file mode 100644
index 00000000..7bcb77ec
--- /dev/null
+++ b/src/mint-lib/test-mint-home/config/mint-common.conf
@@ -0,0 +1,20 @@
+[mint]
+# Currency supported by the mint (can only be one)
+CURRENCY = EUR
+
+# Wire format supproted by the mint (currently only SEPA is implemented)
+WIREFORMAT = SEPA
+
+# HTTP port the mint listens to
+PORT = 8081
+
+# Master public key used to sign the mint's various keys
+MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
+
+# How to access our database
+DB = postgres
+
+
+[mintdb-postgres]
+
+DB_CONN_STR = "postgres:///taler"
diff --git a/src/mint-lib/test-mint-home/config/mint-keyup.conf b/src/mint-lib/test-mint-home/config/mint-keyup.conf
new file mode 100644
index 00000000..d8bbc9d2
--- /dev/null
+++ b/src/mint-lib/test-mint-home/config/mint-keyup.conf
@@ -0,0 +1,64 @@
+[mint_keys]
+
+# how long is one signkey valid?
+signkey_duration = 4 weeks
+
+# how long are the signatures with the signkey valid?
+legal_duration = 2 years
+
+# how long do we generate denomination and signing keys
+# ahead of time?
+lookahead_sign = 32 weeks 1 day
+
+# how long do we provide to clients denomination and signing keys
+# ahead of time?
+lookahead_provide = 4 weeks 1 day
+
+
+# Coin definitions are detected because the section
+# name begins with "coin_". The rest of the
+# name is free, but of course following the convention
+# of "coin_$CURRENCY[_$SUBUNIT]_$VALUE" make sense.
+[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.01
+rsa_keysize = 1024
+
+[coin_eur_5]
+value = EUR:5
+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.01
+rsa_keysize = 1024
+
+[coin_eur_10]
+value = EUR: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.01
+rsa_keysize = 1024
+
+[coin_eur_1000]
+value = EUR:1000
+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.01
+rsa_keysize = 2048