summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
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.conf43
-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
-rw-r--r--contrib/mint-template/config/mint-common.conf28
6 files changed, 46 insertions, 31 deletions
diff --git a/contrib/coverage.sh b/contrib/coverage.sh
index 15318967c..cce622283 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 000000000..dbbd5c304
--- /dev/null
+++ b/contrib/exchange-template/README
@@ -0,0 +1 @@
+This directory is a template for the exchange directory.
diff --git a/contrib/exchange-template/config/exchange-common.conf b/contrib/exchange-template/config/exchange-common.conf
new file mode 100644
index 000000000..eddde3c32
--- /dev/null
+++ b/contrib/exchange-template/config/exchange-common.conf
@@ -0,0 +1,43 @@
+[exchange]
+# Currency supported by the exchange (can only be one)
+CURRENCY = EUR
+
+# 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 exchange listens to
+PORT = 4241
+
+# 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
+
+[exchangedb-postgres]
+DB_CONN_STR = "postgres:///talercheck"
+
+[wire-incoming-sepa]
+SEPA_RESPONSE_FILE = "sepa.json"
+
+[wire-outgoing-sepa]
+SEPA_RESPONSE_FILE = "sepa.json"
+
+
+[wire-incoming-test]
+# What is the main website of the bank?
+BANK_URI = "https://bank/"
+# Into which account at the 'bank' should incoming
+# wire transfers be made?
+BANK_ACCOUNT_NUMBER = 2
+
+[wire-outgoing-test]
+# What is the main website of the bank?
+BANK_URI = "https://bank/"
+# From which account at the 'bank' should outgoing
+# wire transfers be made?
+BANK_ACCOUNT_NUMBER = 2
diff --git a/contrib/mint-template/config/mint-keyup.conf b/contrib/exchange-template/config/exchange-keyup.conf
index d8bbc9d20..7eebfe975 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 fce5e0180..000000000
--- a/contrib/mint-template/README
+++ /dev/null
@@ -1 +0,0 @@
-This directory is a template for the mint directory.
diff --git a/contrib/mint-template/config/mint-common.conf b/contrib/mint-template/config/mint-common.conf
deleted file mode 100644
index 78a3310a1..000000000
--- a/contrib/mint-template/config/mint-common.conf
+++ /dev/null
@@ -1,28 +0,0 @@
-[mint]
-# Currency supported by the mint (can only be one)
-CURRENCY = EUR
-
-# Wire format supported by the mint, case-insensitive.
-# Examples for formats include 'test' for testing and 'sepa' (for EU IBAN).
-WIREFORMAT = SEPA
-
-# HTTP port the mint listens to
-PORT = 4241
-
-# Master public key used to sign the mint's various keys
-MASTER_PUBLIC_KEY = NEGTF62MNGVPZNW19V7S3CRS9D7K04MAHDGX3N6WY2NXREN26J80
-
-# How to access our database
-DB = postgres
-
-TESTRUN = YES
-
-[mintdb-postgres]
-
-DB_CONN_STR = "postgres:///talercheck"
-
-[mint-wire-sepa]
-SEPA_RESPONSE_FILE = "sepa.json"
-
-[mint-wire-test]
-REDIRECT_URL = "http://test/"