Commit Graph

532 Commits

Author SHA1 Message Date
Christian Grothoff
42decef957
fix #6939 in exchange 2021-07-24 09:00:35 +02:00
Christian Grothoff
306a08a71c
-rename TALER_amount_get_zero to TALER_amount_set_zero 2021-07-23 13:02:04 +02:00
Christian Grothoff
5d6ec4c744
improve logging 2021-06-24 13:17:28 +02:00
Christian Grothoff
be62bc5734
-not a protocol violation, can happen if auditor signed denominations that are valid for deposit but not withdraw 2021-05-28 21:30:55 +02:00
Christian Grothoff
35ce352b16
deal more nicely with /keys failures where no JSON is returned 2021-05-27 11:19:56 +02:00
Christian Grothoff
20c70845c0
return more precise error codes from TALER_EXCHANGE_deposit() if failures are detected client-side (#6817) 2021-04-24 19:54:47 +02:00
Christian Grothoff
453d122c30
do not repeatedly append the same auditor signature 2021-04-14 17:39:13 +02:00
Christian Grothoff
7c485a2153
fix overflow 2021-04-01 10:57:04 +02:00
Christian Grothoff
71f00b3764
improve version number format check 2021-03-13 23:03:06 +01:00
Christian Grothoff
d1c5337a88
improve version number format check 2021-03-13 23:02:46 +01:00
Christian Grothoff
ca5f0c4d6f
fix #6786: do not die on bogus URL 2021-03-05 21:41:55 +01:00
Sebastian
2ed7eb7a8b
free currency memory on free_key_data(), ref #6744 2021-02-16 11:20:42 -03:00
Christian Grothoff
e6c5262c9e
fix currency parsing in deserialization logic (resolves #6744) 2021-02-15 22:05:37 +01:00
Sebastian
c1a58ef343
added missing currency in ser/deser, see #6744 2021-02-15 17:03:44 -03:00
Christian Grothoff
2b35e3796f
strptime is locale-dependent, re-implement for C locale-only 2021-01-26 14:10:06 +01:00
Christian Grothoff
6cd6582a4f
improve logging 2021-01-26 12:38:54 +01:00
Christian Grothoff
c630487dfc
nah, also on internal server errors and anything I can imagine we should backoff, not just on timeout 2021-01-16 22:36:30 +01:00
Christian Grothoff
8c4bc1121a
remove dead field 2021-01-16 22:33:25 +01:00
8f887a215e
dynamic curl timeouts for /keys and /wire requests 2021-01-12 15:12:26 +01:00
Christian Grothoff
ca66a1d1af
fix major bug with SQL statement missing ORDER BY freshcoin_index resulting in possible link failures (but usually lucky with old DB schema) 2021-01-10 00:54:12 +01:00
Christian Grothoff
260e287685
change wire_reference to be uint64_t always; more work on lrbt_callbacks 2021-01-08 23:36:09 +01:00
Christian Grothoff
ad3d0a8997
improve logging 2021-01-05 21:30:28 +01:00
Christian Grothoff
e50f85e6c3
bump protocol version 2021-01-01 15:50:58 +01:00
Christian Grothoff
ad12b72a80
handle GONE, specified legal value now 2020-12-26 16:40:43 +01:00
Christian Grothoff
32da815427
clarify why FIXME does not need fix 2020-12-25 09:06:37 +01:00
Christian Grothoff
95333b4223
only log with json_dumpf() if explicitly compiled via DEBUG #define 2020-12-20 20:05:48 +01:00
Christian Grothoff
4b9fb610d8
do not log error on MHD_HTTP_GONE status code, revocation is a legitimate reply 2020-12-20 20:03:59 +01:00
Christian Grothoff
699916056b
misc doxygen fixes 2020-12-20 17:10:09 +01:00
Christian Grothoff
18c12f6234
misc new /keys management related bugfixes 2020-12-15 21:09:36 +01:00
Christian Grothoff
8bed4152fe
allow empty signkeys array 2020-12-12 22:43:04 +01:00
Christian Grothoff
0847e16ea5
fix misc bugs 2020-12-12 22:42:33 +01:00
Christian Grothoff
05f539c127
initialize master_pub field 2020-12-08 19:13:39 +01:00
Christian Grothoff
70b0839644
implement new taler-auditor-offline tool 2020-12-06 00:05:45 +01:00
Christian Grothoff
e0b62b0a49
towards offline tool uploading /management/keys 2020-12-05 21:33:30 +01:00
Christian Grothoff
8170e1e9ab
move all TALER_SIGNATURE_SM_-operations to secmod_signatures.c 2020-12-05 19:47:54 +01:00
Christian Grothoff
8338d4574f
improve/test taler-exchange-offline 2020-12-04 21:34:53 +01:00
Christian Grothoff
6cceb617af
centralize (most) offline signing/verifying operations into offline_signatures.c 2020-12-04 20:29:18 +01:00
d3b714922f
conditionally use (un)blinding implementation from libgnunetutil 2020-12-04 12:10:09 +01:00
Christian Grothoff
9572337aed
more management API tests and bugfixes 2020-12-01 21:07:56 +01:00
Christian Grothoff
4b2504a3c3
doxygen fixes 2020-11-30 14:16:42 +01:00
Christian Grothoff
a1af10a832
add API for /management/wire-fees 2020-11-30 14:05:34 +01:00
Christian Grothoff
6b434c626f
work on DB logic, add auditor_name to /management/auditors API 2020-11-29 16:21:10 +01:00
Christian Grothoff
1e6091d1dd
cmd to add/del wire methods from list of accounts 2020-11-27 00:05:34 +01:00
Christian Grothoff
98f5960411
cmd to del auditor 2020-11-26 22:54:33 +01:00
Christian Grothoff
2c88cff283
add logic to parse and check secmod signatures 2020-11-26 15:00:34 +01:00
Christian Grothoff
440d0e6ea4
complete GET /management/keys implementation 2020-11-25 22:18:23 +01:00
Christian Grothoff
7930103d30
auditor add denomination client logic 2020-11-25 22:02:37 +01:00
Christian Grothoff
19ca32693a
post keys client logic 2020-11-25 21:55:01 +01:00
Christian Grothoff
1ab3f7a90b
revoke denomination client logic 2020-11-25 21:43:52 +01:00
Christian Grothoff
0de43ecf2b
enable wire client logic 2020-11-25 21:40:38 +01:00
Christian Grothoff
9f56b54ae1
disable wire client logic 2020-11-25 21:38:38 +01:00
Christian Grothoff
5750a2c767
enable auditor enable client logic 2020-11-25 21:33:14 +01:00
Christian Grothoff
4d9b672a72
enable auditor disable client logic 2020-11-25 21:29:04 +01:00
Christian Grothoff
fd91a6aded
implement first new client API 2020-11-25 21:19:13 +01:00
Christian Grothoff
87bc48f513
extended exchange APIs for #6175 2020-11-25 20:26:08 +01:00
Christian Grothoff
8d312562bf
adjust ECs 2020-11-07 18:51:54 +01:00
Christian Grothoff
4129b724a0
doxygen fixes, update ChangeLog, bump version 2020-10-03 16:08:01 +02:00
Christian Grothoff
d326c05e32
fix checks 2020-08-29 01:25:59 +02:00
Christian Grothoff
0846ab93bc
doxygen fixes 2020-08-29 00:37:37 +02:00
Christian Grothoff
e8ea6bf1e7
fix bug: case where this is the first refund 2020-08-14 13:07:53 +02:00
Christian Grothoff
4e0b510438
extend tests to discover corner cases from #6478, fix code to actually work for those cases 2020-08-13 00:45:02 +02:00
Christian Grothoff
6256bdb15a
implement #6478, but untested as shown by FIXMEs 2020-08-12 20:12:39 +02:00
Christian Grothoff
26f72f8572
fix refund handling: allow refund increases for the same coin 2020-08-12 13:02:59 +02:00
Jonathan Buchanan
c24a18e1a5
remove TALER_TESTING_cmd_admin_add_incoming_with_instance and TALER_EXCHANGE_refund2 2020-07-23 16:19:02 -04:00
Christian Grothoff
0e808b648a
fix misc typos 2020-07-22 23:56:52 +02:00
Florian Dold
93923c168d
remove refund_fee from refund confirmation message and signature 2020-07-22 19:29:27 +05:30
Christian Grothoff
4fde76049e
boolean argument removed in GNUNET_CURL_job_add (#6188) 2020-07-16 20:36:51 +02:00
Christian Grothoff
b9f1384b52
avoid boolean flags, see #6188 2020-07-16 20:27:52 +02:00
Christian Grothoff
7085cfef70
test coin_priv re-use with deposit and refresh, update handling of the error code client-side 2020-07-10 23:09:46 +02:00
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