Christian Grothoff
9e3f4bdd79
getting revocation/payback test with refreshed coins to pass
2019-07-24 11:57:03 +02:00
Christian Grothoff
e8a892c29a
modify /payback API and test usage of that API to pass/return additional information required when dealing with payback of refreshed coins
2019-07-23 21:56:21 +02:00
Christian Grothoff
ad34305942
expose blinding key in refresh-reveal API in preparation for #5777
2019-07-21 12:20:45 +02:00
Christian Grothoff
4785bcb4bb
towards #5777 , adding todos/notes
2019-07-15 22:01:06 +02:00
Marcello Stanisci
6e6ce685ea
Provide API to fake now when requesting /keys.
2019-04-03 18:02:16 +02:00
Marcello Stanisci
148b546435
/keys API.
...
Adding method to override the last_denom value for a key set.
2019-01-17 16:37:16 +01:00
Marcello Stanisci
448a57d81e
Extend tests.
...
Give a way to force redownload (= no cherry picking) all /keys.
2019-01-16 19:44:44 +01:00
Christian Grothoff
91566ddee2
more code towards fixing #5447
2019-01-13 16:22:16 +01:00
Christian Grothoff
12123a7aed
towards fixing #5447
2019-01-10 16:20:15 +01:00
Marcello Stanisci
81d1b39343
Extend exchange-lib.
...
Adding simple function that returns the exchange's base URL.
2018-12-06 18:14:09 +01:00
Christian Grothoff
cf1ce47863
more work towards testing deposit confirmations
2018-11-17 16:11:47 +01:00
Christian Grothoff
4d058c4eb7
work towards testing auditor deposit-confirmation API
2018-11-17 15:15:51 +01:00
Christian Grothoff
16b0c65470
keep a most sigs around when serializing
2018-10-13 19:45:50 +02:00
Christian Grothoff
504017bc65
intermediate patch towards implementing #5136
2018-10-13 19:14:11 +02:00
Christian Grothoff
c09c900922
implement deserialization logic for #5136
2018-10-13 08:15:02 +02:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies)
2018-10-06 15:05:06 +02:00
Christian Grothoff
528faeab81
fix #5315 , including more testing
2018-09-15 22:20:07 +02:00
Marcello Stanisci
5019bd6914
Ask to withdraw on a expired reserve.
2018-05-18 16:54:36 +02:00
Christian Grothoff
202827ebda
merging Florian's changes with my wire changes
2018-04-15 12:20:00 +02:00
Florian Dold
1b3bf1a001
disable /keys cherrypicking until #5315 is addressed
2018-04-06 00:58:15 +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
5c3d25eb29
implement #5254
2018-01-18 16:55:16 +01:00
Christian Grothoff
b31d803c16
add timestamp for /reserve/status deposit events
2018-01-15 15:19:31 +01:00
Christian Grothoff
ff0d4bb6eb
add TALER_EXCHANGE_refund2, make sure fee test initializes all amounts; update ChangeLog
2018-01-01 23:28:19 +01:00
Christian Grothoff
c182b960f8
remove _admin APIs from libtalerexchange
2017-12-14 13:42:07 +01:00
Christian Grothoff
499247a480
fixing #5178
2017-11-29 20:23:08 +01:00
Christian Grothoff
beeece1d6a
add TALER_EXCHANGE_reserve_withdraw2 function for easy withdrawal of tips
2017-10-31 14:45:15 +01:00
Christian Grothoff
2f2930f1ba
major API refactoring, adding planchet generation and coin extraction APIs to the Taler crypto library, thereby simplifying code in withdraw, refresh, tipping, payback and testcases; slight API incompatibilities to previous versions are introduced
2017-10-31 14:02:54 +01:00
Christian Grothoff
b46735fbaf
add argument to TALER_EXCHANGE_check_keys_current() to allow forcing the download
2017-09-13 14:08:11 +02:00
Christian Grothoff
6d7645a99b
theoretically finished implementation of #4840 (/keys cherry picking), but by far not done testing
2017-09-13 01:14:31 +02:00
Christian Grothoff
7aa23a39bd
add support for #4840 (/keys cherry picking) to libtalerexchange
2017-09-12 15:34:38 +02:00
Christian Grothoff
d77c4160ec
implement logic to check protocol version compatibility ( #5035 )
2017-07-01 14:15:26 +02:00
Christian Grothoff
f048de9782
preparations for #4840
2017-06-29 20:46:52 +02:00
Christian Grothoff
4694810d9d
free auditor data on shutdown ( #5050 )
2017-06-04 12:13:30 +02:00
Christian Grothoff
1e30d60a25
fixing misc doxygen issues
2017-06-04 11:30:43 +02:00
Christian Grothoff
b217058821
add version to keydata returned by libtalerexchange ( #5035 )
2017-06-01 23:00:06 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879 )
2017-05-29 01:15:41 +02:00
Christian Grothoff
20aad54c3e
remove dead transfer details field from reserves_in (API, exchangedb, etc.)
2017-05-08 13:18:36 +02:00
Christian Grothoff
27c921c7c4
finished implementing #4956 in principle, but not yet tested
2017-04-20 21:38:02 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues
2017-04-20 07:49:56 +02:00
Christian Grothoff
c15ff78f0c
implementing #4956-support in libtalerexchange
2017-04-19 14:15:48 +02:00
Christian Grothoff
164c125528
introducing closing fee
2017-04-17 14:01:55 +02:00
Christian Grothoff
4d4ac495a4
test case of /payback done twice, handle 403-case in /payback handler, thereby also testing coin-with-payback history case in test logic ( fixes #3887 )
2017-04-16 02:39:11 +02:00
Christian Grothoff
cc3aa31732
implement #3887-handling in exchange-lib
2017-04-03 22:45:48 +02:00
Christian Grothoff
29a2f9b345
implement rest of exchange logic for #3887 (return payback information in reserve and coin histories)
2017-04-03 16:40:31 +02:00
Christian Grothoff
b293bda4ac
implement DB plugin function to obtain reserve information, migrate logic to simplified API spec ( #3887 ); use plugin API in /payback DB implementation
2017-04-01 23:43:55 +02:00
Christian Grothoff
722577835f
implement /payback-functions in libtalerexchange.so
2017-03-29 15:44:59 +02:00
Christian Grothoff
0e15a99504
implement #4937 : allow extraction of fees
2017-03-04 18:45:25 +01:00
Christian Grothoff
6ab67a3a76
implementing #4929
2017-03-04 16:49:33 +01: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
Christian Grothoff
df8c011b95
return execution time also from exchange C API ( #4578 )
2016-09-26 14:58:44 +02:00
Marcello Stanisci
59c6856284
fixing #4594
2016-07-07 17:55:25 +02:00
Christian Grothoff
6cd71bebbf
implement #4569
2016-06-13 16:36:10 +02:00
Christian Grothoff
3672005350
rename source files to match API URIs
2016-06-09 21:43:10 +02:00
Christian Grothoff
bb511560fe
move TALER_TrackTransferDetails to taler_crypto_lib.h as it is not exchange-specific
2016-06-09 21:03:07 +02:00
Christian Grothoff
75c04b8af2
rename /deposit/wtid and /wire/deposits to /track/{transaction,transfer} for improved consistency
2016-06-09 19:18:13 +02:00
Christian Grothoff
166352e87e
add exchange_pub to callbacks
2016-06-07 15:14:44 +02:00
Christian Grothoff
ce3d7c360b
add support for /keys cache control ( #4036 )
2016-05-31 14:32:06 +02:00
Marcello Stanisci
925097c86d
adding --pool-size option to benchmark,
...
correcting comments
2016-05-30 17:16:01 +02:00
Christian Grothoff
c0451f0982
fix #4533 for exchange (breaks interaction with bank for /admin/add/incoming)
2016-05-26 16:38:59 +02:00
Christian Grothoff
32bb3b14bf
fix #4483
2016-05-24 20:13:31 +02:00
Florian Dold
8c3ffbf2a3
allow access to raw /keys response
2016-05-24 02:28:15 +02:00
Christian Grothoff
93aaf1d172
extending interpreter to cover refund (but not used yet)
2016-05-20 17:15:50 +02:00
Christian Grothoff
43cfa77248
enforce wire deadline >= refund_deadline in API
2016-05-20 15:36:08 +02:00
Christian Grothoff
c8b9370413
fixing #3814 by removing ability to melt multiple oldcoins at the same time
2016-05-16 11:55:47 +02:00
Christian Grothoff
6b1f4904ef
export transaction history check function
2016-05-05 14:43:13 +02:00
Christian Grothoff
4a031a692b
implementing /refund API ( #3848 )
2016-05-04 09:42:52 +02:00
Christian Grothoff
b98a204562
fix #4184
2016-05-02 05:10:40 +02:00
Christian Grothoff
77e9e3a7f6
sketching out refund API implementation
2016-04-20 03:05:16 +02:00
Christian Grothoff
edd31c7415
implementing parsing of /refund requests
2016-04-20 02:50:52 +02:00
Christian Grothoff
f693e25793
introduce refund fee
2016-04-20 01:50:26 +02:00
Christian Grothoff
7496a03978
replace bank_api_context with libgnunetcurl
2016-04-17 18:03:01 +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
17b2c7e011
fix indent, fix some comments
2016-03-26 18:18:57 +01:00
Christian Grothoff
6f8fa678c1
implementing #3987
2016-03-21 01:45:53 +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