|author||Christian Grothoff <email@example.com>||2018-04-02 14:24:45 +0200|
|committer||Christian Grothoff <firstname.lastname@example.org>||2018-04-02 14:29:44 +0200|
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time. Also, we now distinguish between the wire plugin (i.e. EBICS or taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that the wire plugin is implementing. The "taler-bank" wire method was renamed from "test" to "x-taler-bank". This also changes the format of the /wire response of the exchange, as we now need to return multiple accounts. Note that wire fees are specified per wire method, not per wire account. taler-exchange-keyup now automatically signs all of the /wire responses in the location specified by the configuration. Account identification in wire plugins was changed to use payto://-URLs instead of method-specific JSON fields. Signing and validation of /wire responses was moved from each wire plugin to a generic validation method in libtalerutil (crypto) or libtalerjson (for JSON-formatted inputs). Convenience methods were added to generate JSON for wire accounts (salting, signing). Various section and option names were adjusted to streamline the configuration and make it more consistent overall. Documentation was updated as well.
Diffstat (limited to 'src/bank-lib/bank.conf')
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bank-lib/bank.conf b/src/bank-lib/bank.conf
index f6e4e7fe..9befeba9 100644
@@ -1,8 +1,11 @@
currency = KUDOS
+URL = payto://x-taler-bank/localhost:8081/1
-http_port = 8081
+HTTP_PORT = 8081
bank_url = http://localhost:8081/