aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-03-03 19:23:26 +0100
committerChristian Grothoff <christian@grothoff.org>2017-03-03 19:24:45 +0100
commit7e1981f355f0ef3d3068f0e011c1973f10e0fd45 (patch)
tree6032e45d57980d304eb7b1a5922a1db886a8f80b
parent71c177321d3a526d6481fec00a67d4ef2f90646e (diff)
changing wire plugin specification from [exchange]WIREFORMAT to [exchange-wire-PLUGIN]enable=YES/NO
-rw-r--r--src/lib/test_merchant_api.conf10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/test_merchant_api.conf b/src/lib/test_merchant_api.conf
index c05530f0..9f8049b3 100644
--- a/src/lib/test_merchant_api.conf
+++ b/src/lib/test_merchant_api.conf
@@ -30,7 +30,7 @@ EDATE = 3 week
# Which plugin (backend) do we use for the DB.
DB = postgres
-# Which wireformat do we use?
+# Wire format supported by the merchant.
WIREFORMAT = test
# This option is a list of instances which are to be used
@@ -39,6 +39,10 @@ WIREFORMAT = test
# section like X-wireformat and merchant-instance-X
INSTANCES = tor default
+[exchange-wire-test]
+# Enable 'test' for testing of the actual coin operations.
+ENABLE = YES
+
[merchant-exchange-test]
URI = http://localhost:8081/
MASTER_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
@@ -89,10 +93,10 @@ 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
+
# Our public key
MASTER_PUBLIC_KEY = T1VVFQZZARQ1CMF4BN58EE7SKTW5AV2BS18S87ZEGYS4S29J6DNG