Commit Graph

111 Commits

Author SHA1 Message Date
Christian Grothoff
727b7b04f3
return fee as well 2020-07-05 16:35:00 +02:00
Christian Grothoff
4844023f69
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-07-05 16:35:00 +02:00
Christian Grothoff
cde71b7fe7
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-07-05 16:35:00 +02:00
Christian Grothoff
77ab94eb68
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-07-05 16:35:00 +02:00
Christian Grothoff
5ac448738d
fix status code 2020-07-05 16:34:59 +02:00
Christian Grothoff
78031b2711
more error codes 2020-05-01 18:38:21 +02:00
Christian Grothoff
9e3371ae9b
adapt withdraw2 API to support new tip-pickup design (#6173) 2020-04-12 19:22:45 +02:00
Christian Grothoff
2d83516871
add missing comment 2020-04-10 21:59:31 +02:00
Christian Grothoff
1b89e8380d
return signature from refund API 2020-04-10 16:49:54 +02:00
Christian Grothoff
bf8c5982a2
make exchange API more uniform in how information is returned 2020-04-05 22:05:38 +02:00
Christian Grothoff
299b4b78e0
return more error details for /wire and /keys to clients 2020-04-04 13:27:46 +02:00
Christian Grothoff
ae9f751a7c
do return fees in history 2020-03-28 20:46:57 +01:00
Florian Dold
6a46b13e80
make recoup idempotent and simplify response 2020-03-20 14:01:59 +05:30
Christian Grothoff
86f2d65daf
style, indentation and type fixes for lib/ 2020-03-17 17:47:53 +01:00
Christian Grothoff
f6684c1ae3
actually look at recoup/revocations in libtalerexchange and expose the result to clients; make exchange API follow specification 2020-03-10 14:25:57 +01:00
Christian Grothoff
ffcadbff8c
code cleanup (comments, scoping, naming, indentation) 2020-03-07 00:28:07 +01:00
Christian Grothoff
72764dc5f1
doxygen fixes 2020-02-29 17:13:43 +01:00
Christian Grothoff
0a2b049864
big rename fest related to #6067 API renaming 2020-02-29 16:42:10 +01:00
Christian Grothoff
de9ab28ab9
rename fest, make symbols better match new endpoint names 2020-02-27 23:46:53 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL 2020-01-19 17:03:19 +01:00
Christian Grothoff
db669ee495
payback -> recoup stranglers 2020-01-18 23:49:37 +01:00
Christian Grothoff
c5c04cb51f
fix -Wextra warnings 2020-01-18 17:53:54 +01:00
Christian Grothoff
47deacaa15
doxygen 2020-01-18 17:06:32 +01:00
Florian Dold
33877b2c55
address fixme, fix use-after-free in testing traits 2020-01-17 20:50:18 +01:00
Christian Grothoff
11c5283711
prepare API to enable verification of fees in coin history check 2020-01-17 19:54:16 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules 2019-10-31 12:59:50 +01:00
Christian Grothoff
47e4dc13ed
add api to allow clients to force auditor notification of dc 2019-10-26 20:51:21 +02:00
Florian Dold
eb55997084
re-format code 2019-08-25 16:18:24 +02:00
Christian Grothoff
8f7388042c
fix indent 2019-08-01 00:24:11 +02:00
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