Commit Graph

463 Commits

Author SHA1 Message Date
Christian Grothoff
ddf95c491a
remove unused/unusable coin_sig, return correct coin_pub in recoup-reveal failure context 2020-07-10 22:33:04 +02:00
Christian Grothoff
92ac6dd11a
implement new behavior in exchange httpd and libtalerexchange (for #6416) 2020-07-08 21:24:10 +02:00
Christian Grothoff
8e03498a48
add h_denom to melt signatures (for #6416) 2020-07-08 17:59:05 +02:00
Christian Grothoff
97dfbec081
add h_denom_pub to deposit signatures 2020-07-08 15:46:51 +02:00
Christian Grothoff
575c10027b
also offer API for receiving rounded relative time via JSON 2020-07-05 22:00:01 +02:00
Christian Grothoff
54e63f01df
fix #6408: make sure all timestamps are always rounded when they arrive over JSON, or 400 the requester; similarly don't tolerate anything else as client 2020-07-05 21:54:11 +02:00
Christian Grothoff
ed5b98a2c2
GNUNET_free_non_null is gone, use GNUNET_free 2020-07-05 16:58:43 +02:00
Christian Grothoff
042e5cafd7
merge 2020-07-05 16:51:54 +02:00
Christian Grothoff
b0311807ff
fix FIXME by exposing deposit permission signing in API instead of doing it inside of the testing logic 2020-07-05 16:50:15 +02:00
Christian Grothoff
dc9f41a794
clarify with/without wire fee issue, sanity checks on currencies 2020-07-05 16:50:15 +02:00
Christian Grothoff
44c70269e2
update ECs 2020-07-05 16:50:13 +02:00
Christian Grothoff
15daa78127
return fee as well 2020-07-05 16:50:12 +02:00
Christian Grothoff
e9d80d764a
return fee as well 2020-07-05 16:50:12 +02:00
Christian Grothoff
4f82885560
towards changing timestamp in deposit confirmation (tests failing) 2020-07-05 16:35:00 +02:00
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
d5ba2437f1
fix FIXME by exposing deposit permission signing in API instead of doing it inside of the testing logic 2020-06-27 18:49:12 +02:00
Christian Grothoff
48d4690fbd
clarify with/without wire fee issue, sanity checks on currencies 2020-06-23 10:30:31 +02:00
Christian Grothoff
6801e8e560
update ECs 2020-05-31 17:39:26 +02:00
Christian Grothoff
141d4b154a
towards changing timestamp in deposit confirmation (tests failing) 2020-05-11 10:01:40 +02:00
Christian Grothoff
28dff45363
return fee as well 2020-05-11 10:01:40 +02:00
Christian Grothoff
275ff5e8aa
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-05-11 10:01:40 +02:00
Christian Grothoff
62e3310774
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-05-11 10:01:40 +02:00
Christian Grothoff
1038107e63
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-05-11 10:01:40 +02:00
Christian Grothoff
1d7a2a33c5
fix status code 2020-05-11 10:01:39 +02:00
Christian Grothoff
78031b2711
more error codes 2020-05-01 18:38:21 +02:00
Christian Grothoff
092944819d
fix #6195 2020-04-21 15:25:12 +02:00
Christian Grothoff
32bce6da43
clarify behavior (#6194) 2020-04-21 14:56:42 +02:00
Christian Grothoff
ee0d0dd33f
fix #6193 2020-04-21 14:53:05 +02:00
Christian Grothoff
a5460cc84d
fix #6190 2020-04-21 13:48:49 +02:00
Christian Grothoff
b93fba2cc1
API updates and new error codes for merchant implementation of #6173 2020-04-12 20:46:33 +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
00350bc228
remove c_hash from planchet detail where it does not logically belong 2020-04-12 16:44:28 +02:00
Christian Grothoff
d28f18f240
fix expected status code 2020-04-12 15:35:38 +02:00
Christian Grothoff
15099429c3
fix rc 2020-04-12 15:26:55 +02:00
Christian Grothoff
44272bf1ce
adapations to GNUnet API change 2020-04-11 21:06:30 +02:00
Christian Grothoff
1b89e8380d
return signature from refund API 2020-04-10 16:49:54 +02:00
Christian Grothoff
84a40be0bc
fix #6170 and rest of #6164 2020-04-08 23:52:01 +02:00
Christian Grothoff
50bc862a68
adapt to new GNUnet sign API (#6164) 2020-04-08 18:18:20 +02:00
Christian Grothoff
64a8bb6a86
rename constants 2020-04-07 13:09:22 +02:00
Christian Grothoff
aa65247662
make version field const 2020-04-07 11:47:47 +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
409d3e8615
check amount compatibility in history logic 2020-04-03 20:47:51 +02:00
Christian Grothoff
5b78fbc631
better types/scoping/indentation 2020-04-01 23:11:56 +02:00
Christian Grothoff
ccf9f05e19
scope clean up 2020-04-01 19:43:25 +02:00
Christian Grothoff
3404fda463
typos 2020-03-31 20:57:11 +02:00
Christian Grothoff
c686fac84b
match updated specification, use CREDIT instead of DEPOSIT for transfers into a reserve 2020-03-30 18:09:47 +02:00
Florian Dold
c7a2a952ae
change confusing comment, revision is a different component of libtool versions 2020-03-30 15:21:04 +05:30
Christian Grothoff
2b27d4ca8b
remove bogus warnings 2020-03-29 04:16:00 +02:00
Christian Grothoff
eb32dd626a
fix leaks and bad RC logic wrt json reference copying 2020-03-28 23:32:02 +01:00
Christian Grothoff
ae9f751a7c
do return fees in history 2020-03-28 20:46:57 +01:00
Christian Grothoff
163b23f27a
removing inappropriate i18n code 2020-03-27 20:39:15 +01:00
Christian Grothoff
e63d312131
do not crash on odd inputs 2020-03-26 19:25:35 +01:00
Christian Grothoff
744322fdda
the big EC rename 2020-03-22 00:50:18 +01:00
Florian Dold
6a46b13e80
make recoup idempotent and simplify response 2020-03-20 14:01:59 +05:30
Christian Grothoff
10c56bcea0
improving benchmarking logic, including more timings 2020-03-20 02:36:50 +01:00
Christian Grothoff
749d9615d1
concurrency requires strtok_r 2020-03-19 19:17:56 +01:00
Christian Grothoff
f02775e273
remove debug logic 2020-03-19 16:59:52 +01:00
Christian Grothoff
85f603090b
have benchmark driver also launch auditor 2020-03-19 16:14:01 +01:00
Christian Grothoff
86f2d65daf
style, indentation and type fixes for lib/ 2020-03-17 17:47:53 +01:00
Christian Grothoff
dc02821d8f
fix regression introduced by addition of 'revoke' field 2020-03-13 19:13:36 +01:00
Christian Grothoff
6e3765d852
more careful use of TALER_JSON_get_error_code(), limit to cases where we expect to get one 2020-03-10 18:51:08 +01:00
Christian Grothoff
f32193aae2
minor code cleanup 2020-03-10 17:11:12 +01:00
Christian Grothoff
883c063f43
tolerate recoup information not being present 2020-03-10 15:34:04 +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
a9b3c564bd
rename BANK_excecute_wire_transfer to BANK_transfer, improve error handling when curl_easy_init() fails 2020-03-03 17:14:00 +01:00
Christian Grothoff
538ca960a1
bad FIXME, we should not 2020-03-01 12:14:54 +01:00
Christian Grothoff
da1af142c7
new REST API => version bump 2020-03-01 11:30:02 +01:00
Christian Grothoff
72764dc5f1
doxygen fixes 2020-02-29 17:13:43 +01:00
Christian Grothoff
cdc8c5b57b
limit redirects 2020-02-29 16:54:58 +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
Christian Grothoff
8062ca0136
proper generation of /refreshes/ requests 2020-02-26 23:43:58 +01:00
Christian Grothoff
582ce77d93
updating libtalerexchange to new REST API (#6067) 2020-02-26 22:24:22 +01:00
Christian Grothoff
357dbc0235
revert bank API change, we will not do this here after all 2020-02-11 23:01:49 +01:00
Christian Grothoff
de0d987e34
start with new history API implementation 2020-02-11 15:39:39 +01:00
Florian Dold
26ad7c8191
spelling of 'mismatch' 2020-01-20 02:11:03 +01:00
Christian Grothoff
e46467510d
leak fixes 2020-01-19 22:24:04 +01:00
Christian Grothoff
d22a52cc7a
fix copyright headers as per CA 2020-01-19 19:21:58 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL 2020-01-19 17:03:19 +01:00
Florian Dold
72a629a8be
move testing logic and integration tests into separate directory 2020-01-19 15:23:33 +01:00
Christian Grothoff
447ae4da0b
DCE 2020-01-18 23:53:15 +01:00
Christian Grothoff
db669ee495
payback -> recoup stranglers 2020-01-18 23:49:37 +01:00
Florian Dold
824e6ce9d7
doxygen fixes, remove redundant parameters 2020-01-18 20:20:24 +01:00
Florian Dold
3d431e8d33
doxygen fixes 2020-01-18 20:10:35 +01:00
Florian Dold
34e6425f9d
doxygen fixes / redundant parameter elimination 2020-01-18 20:04:03 +01:00
Christian Grothoff
8dbc19758b
fix compiler warnings 2020-01-18 19:16:44 +01:00
Florian Dold
d53eca8940
do not use macros where a function does the job better 2020-01-18 18:33:18 +01:00
Christian Grothoff
53c21c441b
fix leak 2020-01-18 18:22:10 +01:00
Christian Grothoff
b3ff66d057
fix leak 2020-01-18 18:09:15 +01:00
Christian Grothoff
8715e2b284
fix leaks 2020-01-18 18:04:59 +01:00
Christian Grothoff
c5c04cb51f
fix -Wextra warnings 2020-01-18 17:53:54 +01:00
Florian Dold
0f214150db
make parameter const 2020-01-18 17:44:06 +01:00
Christian Grothoff
47deacaa15
doxygen 2020-01-18 17:06:32 +01:00
Christian Grothoff
644049274c
doxygen 2020-01-18 16:41:24 +01:00
Christian Grothoff
5583b7a059
libraries were folded, fold headers as well 2020-01-18 14:24:55 +01:00