summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2016-03-02 21:07:27 +0100
committerChristian Grothoff <christian@grothoff.org>2016-03-02 21:07:27 +0100
commit17ff4f5e97b981f0b3eebd6e3923fe60dc75edd5 (patch)
tree585b6cbe92aec91b2e186206c1bfe746a0cd85e6 /contrib
parent531272a92a5aa08559436138ff5106a6bff1b361 (diff)
parent201b2b3d1af2a4d44fe32c8b0312d935845cf129 (diff)
downloadexchange-17ff4f5e97b981f0b3eebd6e3923fe60dc75edd5.tar.gz
exchange-17ff4f5e97b981f0b3eebd6e3923fe60dc75edd5.tar.bz2
exchange-17ff4f5e97b981f0b3eebd6e3923fe60dc75edd5.zip
fixing #4230 in bank-lib
Diffstat (limited to 'contrib')
-rw-r--r--[-rwxr-xr-x]contrib/coverage.sh2
-rw-r--r--contrib/exchange-template/README1
-rw-r--r--contrib/exchange-template/config/exchange-common.conf (renamed from contrib/mint-template/config/mint-common.conf)20
-rw-r--r--contrib/exchange-template/config/exchange-keyup.conf (renamed from contrib/mint-template/config/mint-keyup.conf)2
-rw-r--r--contrib/mint-template/README1
5 files changed, 14 insertions, 12 deletions
diff --git a/contrib/coverage.sh b/contrib/coverage.sh
index 15318967..cce62228 100755..100644
--- a/contrib/coverage.sh
+++ b/contrib/coverage.sh
@@ -1,5 +1,5 @@
#!/bin/sh
-# Run from 'taler-mint/' top-level directory to generate
+# Run from 'taler-exchange/' top-level directory to generate
# code coverage data.
TOP=`pwd`
mkdir -p doc/coverage/
diff --git a/contrib/exchange-template/README b/contrib/exchange-template/README
new file mode 100644
index 00000000..dbbd5c30
--- /dev/null
+++ b/contrib/exchange-template/README
@@ -0,0 +1 @@
+This directory is a template for the exchange directory.
diff --git a/contrib/mint-template/config/mint-common.conf b/contrib/exchange-template/config/exchange-common.conf
index 78a3310a..d1df222f 100644
--- a/contrib/mint-template/config/mint-common.conf
+++ b/contrib/exchange-template/config/exchange-common.conf
@@ -1,28 +1,30 @@
-[mint]
-# Currency supported by the mint (can only be one)
+[exchange]
+# Currency supported by the exchange (can only be one)
CURRENCY = EUR
-# Wire format supported by the mint, case-insensitive.
+# Wire format supported by the exchange, case-insensitive.
# Examples for formats include 'test' for testing and 'sepa' (for EU IBAN).
WIREFORMAT = SEPA
-# HTTP port the mint listens to
+# HTTP port the exchange listens to
PORT = 4241
-# Master public key used to sign the mint's various keys
+# Master public key used to sign the exchange's various keys
MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80
# How to access our database
DB = postgres
+# Is this for testing, or for real?
TESTRUN = YES
-[mintdb-postgres]
-
+[exchangedb-postgres]
DB_CONN_STR = "postgres:///talercheck"
-[mint-wire-sepa]
+[wire-sepa]
SEPA_RESPONSE_FILE = "sepa.json"
-[mint-wire-test]
+[wire-test]
REDIRECT_URL = "http://test/"
+BANK_URI = "http://bank/"
+BANK_ACCOUNT_NO = 2
diff --git a/contrib/mint-template/config/mint-keyup.conf b/contrib/exchange-template/config/exchange-keyup.conf
index d8bbc9d2..7eebfe97 100644
--- a/contrib/mint-template/config/mint-keyup.conf
+++ b/contrib/exchange-template/config/exchange-keyup.conf
@@ -1,4 +1,4 @@
-[mint_keys]
+[exchange_keys]
# how long is one signkey valid?
signkey_duration = 4 weeks
diff --git a/contrib/mint-template/README b/contrib/mint-template/README
deleted file mode 100644
index fce5e018..00000000
--- a/contrib/mint-template/README
+++ /dev/null
@@ -1 +0,0 @@
-This directory is a template for the mint directory.