Commit Graph

3787 Commits

Author SHA1 Message Date
Christian Grothoff
26f72f8572
fix refund handling: allow refund increases for the same coin 2020-08-12 13:02:59 +02:00
Florian Dold
d4404cec14
adapt to GNUnet API change 2020-08-12 13:11:41 +05:30
Christian Grothoff
6503a9fe35
experimental fix to #6452: merge two SQL statements into one 2020-08-10 08:12:01 +02:00
Christian Grothoff
a97983ddb1
indentation and logging fixes 2020-08-10 08:10:44 +02:00
Christian Grothoff
c2a0196f16
postgres documentation suggests to avoid 'FOR UPDATE' with serializable transactions 2020-08-08 20:01:56 +02:00
Christian Grothoff
f1cc1ca208
expose language check logic 2020-08-03 01:16:53 +02:00
Christian Grothoff
637fc6e0d4
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-08-02 19:14:39 +02:00
Christian Grothoff
4fc5990320
bugfix 2020-08-02 19:14:33 +02:00
MS
799822220e
rename tool 2020-07-29 16:07:57 +02:00
MS
67ee9a9ec0
adjust help message 2020-07-29 15:55:04 +02:00
Jonathan Buchanan
efa567fbb4
trait for claim token 2020-07-29 01:26:36 -04:00
MS
7a9086fa18
dereference pointer 2020-07-27 23:07:05 +02:00
MS
2e8d4e802b
Drop payto params before preparing the wire transfer. 2020-07-27 22:25:05 +02:00
Christian Grothoff
022fba51d5
better fix 2020-07-27 14:14:40 +02:00
Christian Grothoff
ccdbc2a452
better fix 2020-07-27 14:14:04 +02:00
MS
6fd44ff2ea
fix segfault 2020-07-27 14:03:11 +02:00
MS
680b671b29
Extend bank transfer tool.
Find subject among payto parameters.
2020-07-27 12:57:47 +02:00
MS
7c2de4c5e6
payto parser: extract 'subject' parameter. 2020-07-27 12:48:48 +02:00
Christian Grothoff
e1fcb2b26c
define claim token 2020-07-27 10:42:41 +02:00
MS
566d9196a8
placing a Fixme 2020-07-24 15:18:17 +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
70090ed9a8
kill order for Florian 2020-07-22 14:48:06 +02:00
Jonathan Buchanan
016c4a5cf2
update gana, add error codes c file 2020-07-22 01:37:39 -04:00
Jonathan Buchanan
c3eb0fd8e2
change behavior of expanding json paths with arrays 2020-07-21 16:34:14 -04:00
Christian Grothoff
6d52922c22
mmap() ToS/PP and pre-compute compressed replies (fixes #6199) 2020-07-21 21:27:08 +02:00
Christian Grothoff
a48592d0a4
-doxygen 2020-07-21 10:05:05 +02:00
Jonathan Buchanan
fecfa27727
add parser for json path 2020-07-21 03:14:41 -04:00
Christian Grothoff
80ba1c6ebe
merge flags into enum for GNUNET_DISK_pipe() API, fixing #6188 2020-07-18 00:44:59 +02:00
Christian Grothoff
3f9c464697
-fix bank start calls 2020-07-18 00:25:35 +02:00
Christian Grothoff
62963ae4b3
adapt to change in GNUNET_OS_start_process() API (#6188) 2020-07-17 22:37:04 +02:00
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
c326a5bd9d
implement forgettable contract terms core logic (#6365) 2020-07-16 14:35:47 +02:00
Jonathan Buchanan
5658c4c52b
test retry transfer with same request_id 2020-07-15 20:41:45 -04:00
Christian Grothoff
e1ad498bff
first draft for #6365, test pending 2020-07-16 01:51:45 +02:00
Christian Grothoff
90e756ddea
rename TALER_JSON_hash to TALER_JSON_contract_hash 2020-07-16 00:42:42 +02:00
Christian Grothoff
6ef6de6c5c
fix Accept patterns with semicolons 2020-07-16 00:19:48 +02:00
Christian Grothoff
9e92cc6089
Fix #6375 2020-07-15 21:41:09 +02:00
Christian Grothoff
8f0a4b6095
fix #6133: enable nice shutdown of auditor helpers with CTRL-C 2020-07-15 21:22:44 +02:00
Christian Grothoff
d24b062418
use bool instead of int for zombie_required 2020-07-15 14:23:47 +02:00
Christian Grothoff
5d4d5dcaf4
prepare for #6133: extend report-lib with API for signal handling 2020-07-15 14:07:32 +02:00
Christian Grothoff
62d5aae119
check invariant that refund deadline should not be after wire deadline 2020-07-14 21:08:33 +02:00
Jonathan Buchanan
8147661f94
test for use-after-free crash when getting keys 2020-07-13 17:31:46 -04:00
Christian Grothoff
82b6067de6
more unit crypto tests 2020-07-11 17:26:02 +02:00
Christian Grothoff
8ea4e50ac7
test coin-reuse with recoup as well 2020-07-10 23:17:55 +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
d01c6fd902
fix wrong fmt string 2020-07-10 21:47:18 +02:00
Christian Grothoff
7cf67b3094
this invariant does not actually hold, i.e. if there is a /recoup request for a coin we never saw 2020-07-10 21:27:06 +02:00
Christian Grothoff
af0a2c32a3
work on more testing for recoup-refresh 2020-07-09 23:27:16 +02:00
Jonathan Buchanan
f708e4d64c
made a uuid trait 2020-07-09 01:39:42 -04:00
Christian Grothoff
92ac6dd11a
implement new behavior in exchange httpd and libtalerexchange (for #6416) 2020-07-08 21:24:10 +02:00
Christian Grothoff
8a1402a5d5
complete server-side logic to generate response for conflicting denomination keys for the same coin 2020-07-08 19:37:48 +02:00
Christian Grothoff
c3cd21508b
synchronize with latest GANA 2020-07-08 19:36:08 +02:00
Christian Grothoff
c93f647106
merge known_coin transaction into main transaction (for #6416) 2020-07-08 18:20:44 +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
1ca062fc7a
introduce known_coin_id, alas not yet used 2020-07-08 12:35:50 +02:00
Christian Grothoff
81fec09268
simplify DB access: do not fetch fields we do not need 2020-07-08 12:35:01 +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
6eb32a65bf
fix error reporting/handling 2020-07-05 16:50:51 +02:00
Christian Grothoff
49f466df40
move rewind command to exchange, add proper support for rewinding in batches, modify API to rewind to label 2020-07-05 16:50:16 +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
c88af6df72
fix #6236 2020-07-05 16:50:15 +02:00
Christian Grothoff
5220e8394f
synchronize with latest GANA 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
Jonathan Buchanan
e01bcbb2d4
traits for int64_t and json_t 2020-07-05 16:50:14 +02:00
Jonathan Buchanan
f2ec9c08b0
testing traits for uint32_t and GNUNET_TIME_Relative 2020-07-05 16:50:14 +02:00
Christian Grothoff
25ecc97717
add TALER_MHD_parse_internal_json_data() 2020-07-05 16:50:14 +02:00
Jonathan Buchanan
33e7b1f662
TALER_TESTING_cmd_admin_add_incoming_with_ref finds reserve_pub if reserve_priv doesn't exist 2020-07-05 16:50:14 +02:00
Christian Grothoff
a32a5ef25a
add TALER_yna_to_string() 2020-07-05 16:50:14 +02:00
Jonathan Buchanan
0c4eca0d48
moved yna to exchange 2020-07-05 16:50:14 +02:00
Jonathan Buchanan
acd8d318c0
taler_error_codes.h auto generated from gnunet/gana.git as a submodule 2020-07-05 16:50:13 +02:00
Jonathan Buchanan
9bbaff19c1
fixed endianness in taler_sq_lib 2020-07-05 16:50:13 +02:00
Jonathan Buchanan
83319e1782
implemented the other functions for taler_sq_lib 2020-07-05 16:50:13 +02:00
Jonathan Buchanan
ef0e79927c
created taler_sq_lib 2020-07-05 16:50:13 +02:00
Christian Grothoff
44c70269e2
update ECs 2020-07-05 16:50:13 +02:00
Christian Grothoff
6eabe1ab4f
more ECs 2020-07-05 16:50:13 +02:00
Christian Grothoff
0361508358
ecs 2020-07-05 16:50:13 +02:00
Christian Grothoff
af28c9b449
fix auditor drop 2020-07-05 16:50:12 +02:00
Christian Grothoff
9ed9c01878
fix drop call 2020-07-05 16:50:12 +02:00
Christian Grothoff
7f10627a31
update 2020-07-05 16:50:12 +02:00
Christian Grothoff
15daa78127
return fee as well 2020-07-05 16:50:12 +02:00
Christian Grothoff
532440acf8
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-07-05 16:50:12 +02:00
Christian Grothoff
d63cf1e40e
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 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
099102dc57
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-07-05 16:49:23 +02:00
Christian Grothoff
cdbf3a05ae
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-07-05 16:48:26 +02:00
Christian Grothoff
ef97d426b1
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-07-05 16:46:41 +02:00
Christian Grothoff
91e0debfbe
implement #6181 2020-07-05 16:45:22 +02:00
Christian Grothoff
78b13737bb
fix status code 2020-07-05 16:45:22 +02:00
Christian Grothoff
baab185d87
more ecs 2020-07-05 16:44:10 +02:00
Christian Grothoff
142f6edaff
use unregister 2020-07-05 16:44:09 +02:00
Christian Grothoff
4119dbd1aa
update 2020-07-05 16:44:09 +02:00
Christian Grothoff
556085ac80
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-07-05 16:43:23 +02:00