Commit Graph

22 Commits

Author SHA1 Message Date
Marcello Stanisci
b0d00823eb
Fix compiler warnings. 2018-10-22 12:29:34 +02:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies) 2018-10-06 15:05:06 +02:00
Florian Dold
4e0c95f0c2
put curl default options on one place 2018-09-22 01:21:55 +02:00
Florian Dold
9e60296f92
use deflate in exchange-api 2018-09-21 20:07:07 +02:00
Florian Dold
f3fe72ab24
use gnunet_curl_lib.h instead of including gnurl/curl directly 2018-08-17 13:14:57 +02:00
Christian Grothoff
8ebb4cda07
fix NULL termination of fee list 2018-04-02 16:35:14 +02:00
Christian Grothoff
cb55c1a3af
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.
2018-04-02 14:29:44 +02:00
Christian Grothoff
164c125528
introducing closing fee 2017-04-17 14:01:55 +02:00
Christian Grothoff
7ba2ee0966
test more of /wire, fix off-by-one 2017-03-06 17:36:10 +01:00
Christian Grothoff
0e15a99504
implement #4937: allow extraction of fees 2017-03-04 18:45:25 +01:00
Christian Grothoff
7d6b8d53d5
addressing #4803: nicer error messages for invalid wire formats 2016-11-18 18:29:18 +01:00
Christian Grothoff
19f4c50dab
rename and move TALER_EXCHANGE_json_get_error_code to TALER_JSON_get_error_code 2016-10-20 21:19:01 +02:00
Christian Grothoff
63c5706b64
remove redundant exchange_api_common.h header 2016-10-20 21:11:20 +02:00
Christian Grothoff
7341b21fa3
return taler-specific error codes from C API as well
(#4497/4705)
2016-10-20 21:00:40 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
ad6a40aaa5 fix fmt string issues 2016-05-04 13:21:22 +02:00
Christian Grothoff
1ed567a14b replace exchange_api_context with libgnunetcurl 2016-04-17 17:45:15 +02:00
Christian Grothoff
de3e26303e implementing #4356, tests still failing, but main logic should now be updated 2016-04-01 16:15:35 +02:00
Christian Grothoff
ae726ea31b remove duplicated JSON parsing code from exchange-lib (#4150) 2016-03-19 15:54:21 +01:00
Christian Grothoff
0d1eced630 first refactoring of JSON logic to address #4150 and #4237 2016-03-19 15:23:11 +01:00
Christian Grothoff
aba92c5bfa modify /wire/test to provide bank URI and bank account numbers 2016-03-04 11:57:57 +01:00
Christian Grothoff
b5cba32510 renaming mint->exchange 2016-03-01 15:35:04 +01:00