Commit Graph

25 Commits

Author SHA1 Message Date
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
4f2ad1051b
change 'f' to 'contribution' in /deposit 2018-01-01 22:28:49 +01:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash 2017-10-06 20:02:28 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879) 2017-05-29 01:15:41 +02:00
Christian Grothoff
5dff30e20b
nicer logging 2017-05-12 22:41:29 +02:00
Christian Grothoff
f6f4b07bab
clean up debug logic 2017-05-11 11:43:50 +02:00
Christian Grothoff
0e73c0d451
check json_pack return value, just to be nice 2017-05-07 14:07:48 +02:00
Florian Dold
92246c3e88
remove transaction_id, only one payment per proposal allowed 2017-02-07 15:09:10 +01:00
Florian Dold
8c820b6916
contract terminology renaming (#4877) 2017-02-06 15:43:06 +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
166352e87e add exchange_pub to callbacks 2016-06-07 15:14:44 +02:00
Christian Grothoff
3f468773e7 change edate to wire_transfer_deadline/delay (#4521) 2016-05-26 15:23:46 +02:00
Christian Grothoff
079ef7cb6f fixing #4520: be more aggressive at asserting when API is violated 2016-05-24 20:37:23 +02:00
Christian Grothoff
9160245167 make use of GNUNET_JSON_from_data_auto where possible 2016-05-21 18:36:12 +02:00
Christian Grothoff
43cfa77248 enforce wire deadline >= refund_deadline in API 2016-05-20 15:36:08 +02:00
Christian Grothoff
6b1f4904ef export transaction history check function 2016-05-05 14:43:13 +02:00
Christian Grothoff
ad6a40aaa5 fix fmt string issues 2016-05-04 13:21:22 +02:00
Christian Grothoff
9f0245ca99 modify test to trigger aggregation properly and check resulting fakebank transfers 2016-05-04 05:16:32 +02:00
Christian Grothoff
1ed567a14b replace exchange_api_context with libgnunetcurl 2016-04-17 17:45:15 +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
b5cba32510 renaming mint->exchange 2016-03-01 15:35:04 +01:00