Commit Graph

4192 Commits

Author SHA1 Message Date
Christian Grothoff
e8ea6bf1e7
fix bug: case where this is the first refund 2020-08-14 13:07:53 +02:00
Florian Dold
8239a8bdd1
taler wallet invocation 2020-08-14 16:21:13 +05:30
Christian Grothoff
f581b54dfb
remove optimization combining two SQL statements on reserve update as it could not be shown to have a significant benefit at this time (only 2% fewer serialization failures). May deserve further evaluation in the future, if reserve update ever becomes crucial. 2020-08-13 20:49:48 +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
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
Christian Grothoff
035c505c71
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-07-05 16:42:37 +02:00
Christian Grothoff
70a8aca668
implement #6181 2020-07-05 16:37:42 +02:00
Christian Grothoff
0985dfd18f
fix status code 2020-07-05 16:37:41 +02:00
Christian Grothoff
5b01ccbfc6
sleep to ensure aggregator has work 2020-07-05 16:35:00 +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
19f51f558b
make tests skip until we have a wallet to regen the DB 2020-07-05 16:35:00 +02:00
Christian Grothoff
18aba845fa
void basedb due to signature format change 2020-07-05 16:35:00 +02:00
Christian Grothoff
c31048b050
implement #6181 2020-07-05 16:34:59 +02:00
Christian Grothoff
5ac448738d
fix status code 2020-07-05 16:34:59 +02:00
Christian Grothoff
9d3336f8f7
v8 bump 2020-07-05 16:34:59 +02:00
Christian Grothoff
b145c1728b
fix error reporting/handling 2020-07-05 16:32:15 +02:00
Christian Grothoff
025c2f5667
move rewind command to exchange, add proper support for rewinding in batches, modify API to rewind to label 2020-07-03 20:57:01 +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
d0d71dab81
fix #6236 2020-06-27 18:30:25 +02:00
Christian Grothoff
0063680445
synchronize with latest GANA 2020-06-25 10:40:56 +02:00
Christian Grothoff
b3411dc65c
Merge branch 'protocolv8' of git+ssh://git.taler.net/exchange into protocolv8 2020-06-23 10:30:37 +02:00
Christian Grothoff
48d4690fbd
clarify with/without wire fee issue, sanity checks on currencies 2020-06-23 10:30:31 +02:00
Jonathan Buchanan
29d163d58c
traits for int64_t and json_t 2020-06-22 16:04:54 -04:00
Jonathan Buchanan
697f522c79
testing traits for uint32_t and GNUNET_TIME_Relative 2020-06-22 03:13:10 -04:00
Christian Grothoff
ffc3f20daa
Merge branch 'protocolv8' of git+ssh://git.taler.net/exchange into protocolv8 2020-06-21 23:07:09 +02:00
Christian Grothoff
7d845b0c96
add TALER_MHD_parse_internal_json_data() 2020-06-21 23:05:51 +02:00
Jonathan Buchanan
1aa16875f1
TALER_TESTING_cmd_admin_add_incoming_with_ref finds reserve_pub if reserve_priv doesn't exist 2020-06-16 21:37:17 -04:00
Florian Dold
9c752b3d03
adjust LibEuFin binary names 2020-06-14 19:10:28 +05:30
Christian Grothoff
6b6814a205
add TALER_yna_to_string() 2020-06-14 15:15:53 +02:00
Florian Dold
4f5df0c9e3
bank API test: make payto URI use receiver-name, according to standard 2020-06-13 20:50:05 +05:30
Jonathan Buchanan
0276abcd9a
moved yna to exchange 2020-06-12 15:16:40 -04:00
MS
1039a1c2f4
IBAN parser skips BIC part. 2020-06-10 17:56:58 +02:00
MS
ab1fc20a45
avoid assert() upon malformed IBANs 2020-06-10 16:15:48 +02:00
MS
3d1dc57bd8
IBAN parsing test. 2020-06-10 11:02:04 +02:00
Florian Dold
2256f31947
log full config section in error message instead of just the wire method 2020-06-10 12:45:27 +05:30
Jonathan Buchanan
111445993c
taler_error_codes.h auto generated from gnunet/gana.git as a submodule 2020-06-08 14:55:50 -04:00
MS
599cba3105
nexus-exchange test.
give time to payments to settle, before requesting
/history/incoming and /history/outgoing.
2020-06-08 20:29:46 +02:00
MS
14b001fea0
place nexus/sandbox sqlite3 DBs under /tmp,
and fix their deletion before running the test.
2020-06-06 02:02:48 +02:00
Jonathan Buchanan
979692298f
fixed endianness in taler_sq_lib 2020-06-03 12:40:15 -04:00
Jonathan Buchanan
1490cd0ec4
implemented the other functions for taler_sq_lib 2020-06-02 14:20:55 -04:00
Jonathan Buchanan
21ac29b76b
created taler_sq_lib 2020-06-02 11:57:39 -04:00
MS
71eeb72b21
nexus-based tests
more preparation
2020-06-02 14:58:30 +02:00
MS
f6e1583016
launching nexus AND sandbox 2020-06-02 11:36:51 +02:00
MS
320c5fd740
Nexus-based tests.
Prefer the 'iban' method over the 'x-taler-bank',
regarding the payto:// URIs.  Tests are still using
the loopback bank connection, though.
2020-06-02 10:21:12 +02:00
MS
549f8a7c7b
nexus preparation 2020-06-01 16:03:03 +02:00
MS
7f14b23914
Nexus testing.
Up to the point where Nexus gets launched and
the Exchange user & bank connection get created.

The test fails because the bank connection of
type "loopback" is not implemented in the nexus
yet.
2020-06-01 14:17:05 +02:00
Christian Grothoff
6801e8e560
update ECs 2020-05-31 17:39:26 +02:00
MS
45943c22c2
GET hello endpoint from Taler Facade. 2020-05-29 18:39:33 +02:00
MS
b8226abe63
comment 2020-05-29 17:59:50 +02:00
MS
58a956d889
nexus test: create the admin user 2020-05-27 15:03:19 +02:00
MS
704bff4c53
fix nexus invocation 2020-05-27 14:52:13 +02:00
Christian Grothoff
903c421f55
more ECs 2020-05-22 13:01:19 +02:00
Christian Grothoff
879383e5ad
ecs 2020-05-22 11:19:24 +02:00
Christian Grothoff
5f993f573d
fix auditor drop 2020-05-19 02:23:57 +02:00
Christian Grothoff
cc8eecca91
fix drop call 2020-05-19 02:13:17 +02:00
Christian Grothoff
9e0cb7d91f
merge 2020-05-19 01:18:37 +02:00
Christian Grothoff
863e7b4f5d
more ecs 2020-05-19 01:16:34 +02:00
Christian Grothoff
3355509eda
use unregister 2020-05-19 01:16:34 +02:00
Christian Grothoff
9e05798330
update 2020-05-19 01:16:34 +02:00
Christian Grothoff
5a4547388b
return fee as well 2020-05-19 01:16:29 +02:00
Christian Grothoff
f88fd4640f
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-05-19 01:16:06 +02:00
Christian Grothoff
353c4e2fa0
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-05-19 01:15:30 +02:00
Christian Grothoff
65c3c71ca9
sleep to ensure aggregator has work 2020-05-19 01:05:58 +02:00
Christian Grothoff
7217b8d065
towards changing timestamp in deposit confirmation (tests failing) 2020-05-19 01:05:58 +02:00
Christian Grothoff
0dfe7c23cb
return fee as well 2020-05-19 01:05:58 +02:00
Christian Grothoff
a177098a4a
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-05-19 01:05:58 +02:00
Christian Grothoff
3910cb7415
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-05-19 01:05:58 +02:00
Christian Grothoff
bfeb9ac5d0
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-05-19 01:05:57 +02:00
Christian Grothoff
eb965ac709
make tests skip until we have a wallet to regen the DB 2020-05-19 01:05:57 +02:00
Christian Grothoff
cf596d66f5
void basedb due to signature format change 2020-05-19 01:05:57 +02:00
Christian Grothoff
c7086fccd3
implement #6181 2020-05-19 01:05:57 +02:00
Christian Grothoff
fcc5e81df0
fix status code 2020-05-19 01:05:57 +02:00
Christian Grothoff
77195fe6fa
v8 bump 2020-05-19 01:05:57 +02:00
Christian Grothoff
65a782f6b1
more ecs 2020-05-18 19:10:47 +02:00
Christian Grothoff
18e62d8513
use unregister 2020-05-16 11:14:44 +02:00
Christian Grothoff
178e549be3
merge 2020-05-11 10:03:34 +02:00
Christian Grothoff
c1108af962
update 2020-05-11 10:01:40 +02:00
Christian Grothoff
93464191f5
sleep to ensure aggregator has work 2020-05-11 10:01:40 +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
a368f427d1
make tests skip until we have a wallet to regen the DB 2020-05-11 10:01:40 +02:00
Christian Grothoff
f93bf0b72b
void basedb due to signature format change 2020-05-11 10:01:40 +02:00
Christian Grothoff
a8cd04da3f
implement #6181 2020-05-11 10:01:39 +02:00
Christian Grothoff
1d7a2a33c5
fix status code 2020-05-11 10:01:39 +02:00
Christian Grothoff
6725053b22
v8 bump 2020-05-11 10:01:39 +02:00
Christian Grothoff
eaa21af98e
sleep to ensure aggregator has work 2020-05-08 19:47:15 +02:00
Christian Grothoff
7ab9d526f2
towards changing timestamp in deposit confirmation (tests failing) 2020-05-07 20:22:02 +02:00
Christian Grothoff
af52541eac
return fee as well 2020-05-05 22:17:16 +02:00
Christian Grothoff
c7ae928ffc
add ec 2020-05-04 10:07:32 +02:00
Christian Grothoff
02eeee79d8
add ec 2020-05-04 10:07:02 +02:00
Christian Grothoff
e4aa60fc4e
modify TALER_EXCHANGE_deposits_get() API to avoid NULL pointers and need for deep copies 2020-05-03 20:12:18 +02:00
Christian Grothoff
1ed77a9f2e
modify TALER_EXCHANGE_deposits_get() API to combine returned arguments into a struct (simplifies merchant later) 2020-05-03 20:07:49 +02:00
Christian Grothoff
35bfdbef19
update exchange API to return struct instead of lots of individual args for TALER_EXCHANGE_transfers_get() -- simplifies merchant later 2020-05-03 19:54:36 +02:00
Christian Grothoff
922d3be4eb
make tests skip until we have a wallet to regen the DB 2020-05-01 19:48:11 +02:00
Christian Grothoff
b81da19a9f
void basedb due to signature format change 2020-05-01 19:44:45 +02:00
Christian Grothoff
52f370c8e4
implement #6181 2020-05-01 19:41:14 +02:00
Christian Grothoff
e9c62a69dc
fix status code 2020-05-01 19:22:32 +02:00
Christian Grothoff
e72d9f8bb9
v8 bump 2020-05-01 18:40:08 +02:00
Christian Grothoff
78031b2711
more error codes 2020-05-01 18:38:21 +02:00
Florian Dold
4583ce4ef3
/terms also must have CORS headers 2020-05-01 14:02:29 +05:30
Christian Grothoff
e2e8d62574
need array terminator 2020-04-24 20:57:04 +02:00
Christian Grothoff
6772037321
fix invariant check 2020-04-24 00:52:33 +02:00
Christian Grothoff
de61e06eb1
fix #6198 2020-04-23 16:06:21 +02:00
Christian Grothoff
8b99abbe62
CSE elimination, fix #6218 2020-04-23 15:26:17 +02:00
Christian Grothoff
7666542ab6
fix #6219 2020-04-23 15:22:41 +02:00
Christian Grothoff
051ccdf0e7
fix #6215~15757 2020-04-23 12:05:27 +02:00
Christian Grothoff
c79a95c7d2
write overflow check nicer (#6215) 2020-04-23 12:02:52 +02:00
Christian Grothoff
0774fd7020
fix #6213 2020-04-23 11:59:12 +02:00
Christian Grothoff
727eccbe64
add invariant checks for #6214 2020-04-23 11:55:10 +02:00
Christian Grothoff
a039bf4d81
fix #6200 2020-04-22 21:21:48 +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
c167fd8f8f
fix #6192 2020-04-21 13:53:15 +02:00
Christian Grothoff
a5460cc84d
fix #6190 2020-04-21 13:48:49 +02:00
Christian Grothoff
8148c1e8af
fix #6186 2020-04-21 00:55:38 +02:00
Christian Grothoff
638d97c348
disable script to get tests to pass 2020-04-21 00:31:11 +02:00
Christian Grothoff
ab752e9591
also validate merchant IBANs before signing 2020-04-19 22:31:00 +02:00
Christian Grothoff
7a46b3fb1a
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-04-17 18:15:08 +02:00
Christian Grothoff
1f7238fe7d
fix #6187 2020-04-17 18:14:57 +02:00
Marcello Stanisci
04d4922d71
fix nexus-test return code
Returning zero, so as not to block the 'make check'
experience.  This is useful to check whether nexus-related
changes broke tests in a different place.
2020-04-17 15:30:24 +02:00
Marcello Stanisci
4f713b40e3
Prepare and launch Nexus for tests. 2020-04-17 15:30:24 +02:00
Christian Grothoff
f934a81d49
fix ftbfs 2020-04-17 14:19:12 +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
0bf069d6d8
key exists is fine 2020-04-12 15:18:11 +02:00
Christian Grothoff
4b60d2540f
adapations related to GNUnet fixing #6149 2020-04-11 21:42:52 +02:00
Christian Grothoff
44272bf1ce
adapations to GNUnet API change 2020-04-11 21:06:30 +02:00
Christian Grothoff
88bb7f4428
fix FTBFS 2020-04-11 21:06:04 +02:00
Christian Grothoff
2d83516871
add missing comment 2020-04-10 21:59:31 +02:00
Christian Grothoff
77e8be0047
include 0-terminator space 2020-04-10 21:30:47 +02:00
Christian Grothoff
1b89e8380d
return signature from refund API 2020-04-10 16:49:54 +02:00
Christian Grothoff
70a794b6f9
add error codes 2020-04-10 16:49:45 +02:00
Christian Grothoff
dccb300b76
enforce proper URL limit (#6172) 2020-04-09 15:49:38 +02:00
Christian Grothoff
2844a9a7b3
fix #6171 2020-04-09 11:34:26 +02:00
Christian Grothoff
543fe4ae36
make code compiler without warnings with latest libmicrohttpd API 2020-04-09 00:59:55 +02:00
Christian Grothoff
84a40be0bc
fix #6170 and rest of #6164 2020-04-08 23:52:01 +02:00
Christian Grothoff
1554cc310d
rename a_balance (#6170) 2020-04-08 18:23:21 +02:00
Christian Grothoff
50bc862a68
adapt to new GNUnet sign API (#6164) 2020-04-08 18:18:20 +02:00
Christian Grothoff
b22ec7570e
this signature was pretty much always obsolete 2020-04-07 18:43:36 +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
9eb741b05b
more error codes 2020-04-06 19:49:37 +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
5059da7108
more error codes 2020-04-04 16:50:13 +02:00
Christian Grothoff
82b6c0887d
more error codes 2020-04-04 16:46:25 +02:00
Christian Grothoff
c826693e45
update configuration to match latest docs 2020-04-04 15:51:51 +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
643b3e3be3
update error codes 2020-04-03 21:14:40 +02:00
Christian Grothoff
409d3e8615
check amount compatibility in history logic 2020-04-03 20:47:51 +02:00
Christian Grothoff
02736e40c2
fix ftbfs 2020-04-03 20:47:34 +02:00
Christian Grothoff
61cfaa5981
update error codes for merchant 2020-04-02 20:22:45 +02:00
Christian Grothoff
e9de3374a9
fix #6148 2020-04-02 14:01:41 +02:00
Christian Grothoff
a039926bb6
fix #6147 2020-04-02 13:47:21 +02:00
Christian Grothoff
340ac36199
fix #6146 2020-04-02 11:34:52 +02:00
Christian Grothoff
d1bf26929e
typo 2020-04-01 23:12:00 +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
73d107b53d
fix leak 2020-03-31 15:11:54 +02:00
Christian Grothoff
f38a56d3ff
add extra checks 2020-03-31 15:11:40 +02:00
Christian Grothoff
f34e40bc22
make auditor less verbose 2020-03-31 14:41:55 +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
Christian Grothoff
a41119833d
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-03-30 12:23:53 +02:00
Christian Grothoff
754140be62
clarify 2020-03-30 12:23:42 +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
0582a6b567
fix auditor file parse problem 2020-03-29 04:03:06 +02:00
Christian Grothoff
363e641f17
more files missing for dist target 2020-03-29 03:55:36 +02:00
Christian Grothoff
7f367110d0
more missing files for 'dist' 2020-03-29 03:41:12 +02:00
Christian Grothoff
8db48871d6
add missing files to dist 2020-03-29 03:22:55 +02:00
Christian Grothoff
89a4f5bba6
fix indentation 2020-03-29 01:58:38 +01:00
Christian Grothoff
937065ae9f
fix leak of old keystate if loading of new keystate failed 2020-03-29 01:58:27 +01:00
Christian Grothoff
0f5f27e853
fix minor leak from getopt 2020-03-29 01:58:09 +01:00
Christian Grothoff
eb32dd626a
fix leaks and bad RC logic wrt json reference copying 2020-03-28 23:32:02 +01:00
Christian Grothoff
677654f609
doxygen fix 2020-03-28 22:22:29 +01:00
Christian Grothoff
17eafb869c
address FIXME 2020-03-28 22:12:47 +01:00
Christian Grothoff
4abb38a36e
address FIXME 2020-03-28 22:05:54 +01:00
Christian Grothoff
e16f463adb
resolved FIXMEs 2020-03-28 22:00:21 +01:00
Christian Grothoff
da1df35db3
reserve history amount includes fee, add it 2020-03-28 21:46:03 +01:00
Christian Grothoff
bc57f007e4
lookup in reverse order also inside of batch 2020-03-28 21:45:46 +01:00
Christian Grothoff
96c5cd4c42
do not re-use command label 2020-03-28 21:45:27 +01:00
Christian Grothoff
b409d6a17e
permit subtraction to result in zero 2020-03-28 21:39:34 +01:00
Christian Grothoff
28492256a5
ignore generated config file 2020-03-28 20:47:43 +01:00
Christian Grothoff
88957c55be
ignore report directories 2020-03-28 20:47:21 +01:00
Christian Grothoff
ae9f751a7c
do return fees in history 2020-03-28 20:46:57 +01:00
Christian Grothoff
82b18857e2
do return correct timestamp also in fakebank implementation 2020-03-28 20:46:23 +01:00
Christian Grothoff
d5351641f8
implement #6049 2020-03-28 20:45:53 +01:00
Christian Grothoff
9d9b0e0e57
split recoup and revoke commands into two files for better readability 2020-03-28 20:42:20 +01:00
Christian Grothoff
2d297a1721
skip tests if ports are unavailable 2020-03-28 20:41:49 +01:00
Christian Grothoff
baaa8832b2
fix leak 2020-03-28 12:53:10 +01:00
Christian Grothoff
163b23f27a
removing inappropriate i18n code 2020-03-27 20:39:15 +01:00
Florian Dold
2c171055f9
constrain value of denomination to revoke 2020-03-28 00:50:11 +05:30
Christian Grothoff
8d5a0a4061
ERR trap 2020-03-27 18:23:53 +01:00
Christian Grothoff
b46dc6b981
avoid warning 2020-03-27 18:11:19 +01:00
Christian Grothoff
6951892c68
clean logic 2020-03-27 18:10:59 +01:00
Christian Grothoff
17cfbced1d
fix inconsistency in field naming 2020-03-27 17:32:39 +01:00
Christian Grothoff
1647237c2e
fix #6137 2020-03-27 17:11:06 +01:00
Christian Grothoff
f262d8abde
comment style fix 2020-03-27 16:46:20 +01:00
Florian Dold
e267cb985b
cover actual aggregation in exchange test 2020-03-27 20:47:30 +05:30
Florian Dold
1a15cd29e8
deposit command: create merchant key in a more appropriate place 2020-03-27 20:01:31 +05:30
Florian Dold
20933b3950
fix deposit idempotency test case 2020-03-27 19:54:16 +05:30
Florian Dold
6620a5b691
add test case (currently fails) for deposit idempotency 2020-03-27 19:14:55 +05:30
Christian Grothoff
d923f29144
removing warnings 2020-03-27 14:05:59 +01:00
Christian Grothoff
69e50079b4
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-03-27 13:53:31 +01:00
Christian Grothoff
373a5f96a7
fix warnings 2020-03-27 13:53:26 +01:00
Florian Dold
449e99bd51
test multiple transfers to same reserve 2020-03-27 18:05:21 +05:30
Christian Grothoff
e8c8efe5ec
more stringent overflow checks 2020-03-27 13:32:16 +01:00
Christian Grothoff
1c1d4e1ad6
do not log uninitialized amount 2020-03-27 13:30:49 +01:00
Christian Grothoff
155a4bc11b
fix checks 2020-03-27 13:29:19 +01:00
Christian Grothoff
b5f62c8060
second pass on responses: indentation cleanup and CSE 2020-03-27 13:21:02 +01:00
Christian Grothoff
a2bfd9f6b5
clean up response generation code 2020-03-27 13:11:48 +01:00
Christian Grothoff
9f5dbcdfa7
comment fixes 2020-03-27 12:52:15 +01:00
Christian Grothoff
0981203a80
make test quiet 2020-03-27 12:41:44 +01:00
Christian Grothoff
813e412f24
fix test 2020-03-27 12:39:20 +01:00
Christian Grothoff
7a31b051d1
fix test 2020-03-27 12:38:47 +01:00
Christian Grothoff
e3a4bef04c
fix test 2020-03-27 12:36:52 +01:00
Christian Grothoff
a79c41dcc5
fix test 2020-03-27 12:36:25 +01:00
Christian Grothoff
5fc875a80b
renable cleanup 2020-03-27 12:32:08 +01:00
Christian Grothoff
0ebbea705f
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-03-27 12:30:40 +01:00
Christian Grothoff
31746d8128
enable test 32 2020-03-27 12:30:31 +01:00
Florian Dold
0a047c155a
recoup test: cover recoup of fully spend coin 2020-03-27 16:52:42 +05:30
Florian Dold
e965659d36
recoup test: try recoup on non-revoked denomination 2020-03-27 16:35:37 +05:30
Christian Grothoff
13bbcef87b
adjust test to code changes 2020-03-27 11:26:33 +01:00
Christian Grothoff
4856d8114c
fix inconsistency in field naming 2020-03-27 11:11:45 +01:00
Christian Grothoff
1ced0438c2
improve error logging 2020-03-27 10:44:00 +01:00
Christian Grothoff
9c6aa53c8c
improve coin audit logic 2020-03-27 10:43:49 +01:00
Christian Grothoff
6906538c12
missing break 2020-03-27 09:40:25 +01:00
Christian Grothoff
8a90c8fbcb
expand test suite 2020-03-27 09:35:48 +01:00
Christian Grothoff
62b8ca0bd3
check coin history consistency 2020-03-27 09:35:42 +01:00
Christian Grothoff
9445343ec5
consider that deposit fee is discounted when refund fee is applied 2020-03-27 09:34:58 +01:00
Christian Grothoff
f052527ea5
fix recoup-refresh audit logic 2020-03-26 20:54:41 +01:00
Christian Grothoff
394765a1e6
auditor-sign keys generated due to revocations 2020-03-26 20:07:23 +01:00
Christian Grothoff
51bdfab935
increment recoup progress points 2020-03-26 20:06:58 +01:00
Christian Grothoff
293c241ae7
fix SQL statements 2020-03-26 20:06:23 +01:00
Christian Grothoff
e63d312131
do not crash on odd inputs 2020-03-26 19:25:35 +01:00
Christian Grothoff
8fa6b996ed
generating revocation test DB 2020-03-26 18:58:42 +01:00
Christian Grothoff
28c00bedbf
prepare scripts for revocation testing 2020-03-26 17:21:41 +01:00
Christian Grothoff
4a06d7550a
workaround can die now 2020-03-26 16:08:27 +01:00
Christian Grothoff
3c1c3e704a
more work on revocation test script, now crashing the wallet 2020-03-26 16:07:34 +01:00
Florian Dold
1c5e24a05a
test-revocation: add --no-throttle to wallet invocation 2020-03-24 23:55:15 +05:30
Christian Grothoff
fb70d338fd
stuff 2020-03-24 18:23:08 +01:00
Christian Grothoff
58e703e06c
starting with revocation test 2020-03-24 18:16:01 +01:00
Christian Grothoff
dff81f4577
more testing for auditor logic 2020-03-24 17:35:18 +01:00
Christian Grothoff
9ad9e7e064
add more tests 2020-03-24 17:23:27 +01:00
Christian Grothoff
240b23684d
finish review of coins auditor analysis logic, improve error handling 2020-03-23 22:27:31 +01:00
Christian Grothoff
0bd53ed443
scope reduction, mark possible places for improvement 2020-03-23 21:36:49 +01:00
Christian Grothoff
8acfca6718
refactor to avoid duping all the RSA keys on refresh processing 2020-03-23 21:32:30 +01:00
Christian Grothoff
0ff8ec8da9
fix comments and handling of revocations in coins auditor 2020-03-23 21:00:08 +01:00
Christian Grothoff
bab34d15fc
recoup logic review, very minor cleanup 2020-03-23 13:24:33 +01:00
Christian Grothoff
67cf9747a5
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-03-23 10:18:13 +01:00
Christian Grothoff
c032c5fc40
fix EC codes for merchant 2020-03-23 10:18:08 +01:00
Christian Grothoff
db4af18a99
fix ec 2020-03-23 10:11:14 +01:00
Florian Dold
a57fd6c4b3
fix test case (old one required recoup to *not* be idempotent 2020-03-23 12:28:08 +05:30
Christian Grothoff
3480146a66
first pass at auditor-coins, also reviewing checks around amount arithmetic, can and should be made harsher 2020-03-22 23:32:06 +01:00
Christian Grothoff
488f759a2d
clean up auditor-reserves logic 2020-03-22 22:39:48 +01:00
Christian Grothoff
9add4cf405
doxygen updates 2020-03-22 21:36:42 +01:00
Christian Grothoff
a90ea10d35
more wire cleanup, indentation only 2020-03-22 21:26:53 +01:00
Christian Grothoff
2539956026
first bit of auditor-wire cleanup 2020-03-22 16:23:41 +01:00
Christian Grothoff
ba22ad7a42
clean up auditor-aggregation logic 2020-03-22 16:15:55 +01:00
Christian Grothoff
d3dc8c8c7d
intermediary step on auditor-aggregation cleanup 2020-03-22 15:17:11 +01:00
Christian Grothoff
66fa3559c8
missing tests 2020-03-22 14:52:39 +01:00
Christian Grothoff
69fb0e6772
add missing option for auditor 2020-03-22 14:51:54 +01:00
Christian Grothoff
bdbe923bf6
check for right type 2020-03-22 14:51:36 +01:00
Christian Grothoff
adef4a91ca
the big EC rename, part II 2020-03-22 01:06:53 +01:00
Christian Grothoff
744322fdda
the big EC rename 2020-03-22 00:50:18 +01:00
Christian Grothoff
db61bc3bbe
cleanup 2020-03-21 19:49:18 +01:00
Christian Grothoff
bad9c719f8
stylefixes 2020-03-21 19:46:21 +01:00
Christian Grothoff
0d2bf1a75e
comment 2020-03-21 19:41:09 +01:00
Christian Grothoff
c277dc2a18
style fixes 2020-03-21 19:39:46 +01:00
Christian Grothoff
e5e6c9b6b4
minor style improvement 2020-03-21 19:30:24 +01:00
Christian Grothoff
f1d3364313
code cleanup, deduplication, DCE 2020-03-21 19:25:53 +01:00
Christian Grothoff
ca943e8c3f
fix FTBFS issue on some platforms 2020-03-21 18:15:11 +01:00
Christian Grothoff
5ddedeeded
adjust tests to auditor changes 2020-03-21 17:37:06 +01:00
Christian Grothoff
36f4dbab3b
adjust tests to auditor changes 2020-03-21 17:36:01 +01:00
Christian Grothoff
68098bcade
fix test 2020-03-21 17:33:33 +01:00
Christian Grothoff
88fd81e5da
completing auditor split 2020-03-21 16:09:22 +01:00
Christian Grothoff
a8b8258e12
steps towards new split-auditor logic 2020-03-21 12:56:16 +01:00
Christian Grothoff
2ace9969b7
rename fest on refactored auditor logic 2020-03-21 11:05:51 +01:00
Christian Grothoff
66616a97d7
working on splitting auditor 2020-03-20 22:34:17 +01:00
Christian Grothoff
1b24e2f9bb
more statistics, make explicit table lock optional, can hurt performance badly 2020-03-20 18:38:57 +01:00
Christian Grothoff
b9186bdd78
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-03-20 12:35:06 +01:00
Christian Grothoff
e4293ec075
have variant where we first setup all reserves 2020-03-20 12:34:59 +01:00
Christian Grothoff
159ce744b9
do not be so super-quiet on (rare) rollbacks 2020-03-20 12:34:43 +01:00
Christian Grothoff
2021f75995
fix logic to ensure that we do not call the callback after the iteration was aborted (caused big trouble in wirewatcher) 2020-03-20 12:34:26 +01:00
Florian Dold
6a46b13e80
make recoup idempotent and simplify response 2020-03-20 14:01:59 +05:30
Florian Dold
c17f05b5fd
fix critical bug in transaction history query for recoup-refresh 2020-03-20 13:52:29 +05:30
Christian Grothoff
10c56bcea0
improving benchmarking logic, including more timings 2020-03-20 02:36:50 +01:00
Christian Grothoff
7a1c6769e4
enable using python bank with benchmark 2020-03-19 21:44:54 +01:00
Christian Grothoff
f76e7c46e6
make do_retry not retry forever in tests/benchmark 2020-03-19 19:33:20 +01:00
Christian Grothoff
5e98c0652a
fix macro causing syntax issues 2020-03-19 19:33:10 +01:00
Christian Grothoff
749d9615d1
concurrency requires strtok_r 2020-03-19 19:17:56 +01:00
Christian Grothoff
15489275ba
make DB reset optional in API, use it in tests, but not in the benchmark 2020-03-19 17:56:23 +01:00
Christian Grothoff
fd29d1866f
type fixes 2020-03-19 17:56:05 +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
ef489d7fff
option -i was removed 2020-03-19 15:48:50 +01:00
Florian Dold
278cec1fef
make refund test case fail to show broken implementation 2020-03-18 22:39:47 +05:30
Christian Grothoff
b1cfcf4fbe
add keyup key regeneration on revocation test; closes #6123 2020-03-18 15:03:41 +01:00
Christian Grothoff
a631645648
ign 2020-03-18 13:59:34 +01:00
Christian Grothoff
bab24a451a
add -i option to taler-exchange-keycheck 2020-03-18 13:58:40 +01:00
Christian Grothoff
59a5b1ceb8
a first, untested stab at #6123, committing intermediate result that passes (existing) tests 2020-03-17 22:13:15 +01:00
Christian Grothoff
3a470a26c3
improve comment 2020-03-17 17:58:21 +01:00
Christian Grothoff
86f2d65daf
style, indentation and type fixes for lib/ 2020-03-17 17:47:53 +01:00
Christian Grothoff
c17909d820
add cmd line option to restrict timetravel, minor code cleanup of keystate logic 2020-03-17 17:33:30 +01:00
Christian Grothoff
fb47c680b1
not realistic to happen anytime soon, likely unnecessary complication 2020-03-17 12:09:18 +01:00
Christian Grothoff
c238b68a45
keystate, first pass 2020-03-17 12:04:00 +01:00
Christian Grothoff
067719a3c9
code cleanup, more consistent handling of libjansson allocation failures 2020-03-17 01:45:07 +01:00
Christian Grothoff
c597af8334
adjust types to match latest GNUnet API 2020-03-17 01:09:16 +01:00
Christian Grothoff
98f96970d6
fix doxygen errors 2020-03-17 00:16:31 +01:00
Christian Grothoff
cd83daaeae
simplify refund processing, add additional checks for matching currency 2020-03-16 20:23:45 +01:00
Christian Grothoff
c04bcb0a82
clean up and de-duplicate deposit logic 2020-03-16 19:27:39 +01:00
Christian Grothoff
bb7bd4b128
style fixes 2020-03-16 18:29:44 +01:00
Christian Grothoff
9f885f9ad9
style fixes 2020-03-16 18:21:51 +01:00
Christian Grothoff
af61713619
clean up transfer get logic 2020-03-16 17:28:31 +01:00
Christian Grothoff
3630d91d29
simplify deposits_get logic 2020-03-16 16:32:15 +01:00
Christian Grothoff
211ff7f0a2
method can be static 2020-03-16 16:20:35 +01:00
Christian Grothoff
2e5dc6bc72
clean up taler-exchange-httpd_wire logic 2020-03-16 16:18:33 +01:00
Christian Grothoff
7fee395bb6
harden URI validation logic 2020-03-16 16:13:21 +01:00
Christian Grothoff
84ccc79881
integrate validation with wire, where it belongs 2020-03-16 15:55:50 +01:00
Christian Grothoff
69dd5657fc
nicer error handling 2020-03-15 22:38:17 +01:00
Christian Grothoff
bddd7986d7
status => history 2020-03-15 22:36:51 +01:00
Christian Grothoff
7993c9b2fd
clean up /wire logic 2020-03-15 22:28:13 +01:00
Christian Grothoff
efdc91ead4
clean up link logic 2020-03-15 22:24:15 +01:00
Christian Grothoff
f29a7e3155
add dependency 2020-03-15 22:10:12 +01:00
Christian Grothoff
d06d0af2fe
code cleanup 2020-03-15 22:08:29 +01:00
Christian Grothoff
9ee86d4da4
major renaming of internal symbols for better consistency 2020-03-15 21:42:35 +01:00
Christian Grothoff
d3f7cc1184
clean up wirewatch logic 2020-03-15 21:20:56 +01:00
Christian Grothoff
c898a1e13b
clean up closer logic, improve error handling, simplify logic, add comments 2020-03-15 20:42:47 +01:00
Christian Grothoff
4322bbf2f1
move common logic to parse currency into libtalerutil 2020-03-15 20:08:38 +01:00
Christian Grothoff
d7cfb11fc6
fix new ag logic 2020-03-15 00:55:58 +01:00
Christian Grothoff
f8095d7297
fix shutdown logic of test 2020-03-15 00:36:15 +01:00
Christian Grothoff
b3a52548fd
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-03-14 23:47:30 +01:00
Christian Grothoff
87a8d2d243
remove unused code 2020-03-14 22:58:40 +01:00
Christian Grothoff
ce44b4a028
clean up aggregator logic, make it more robust against invariant failures 2020-03-14 22:56:14 +01:00
Christian Grothoff
d292b8edca
code cleanup and additional error checking logic for #6124, but no actual semantic change 2020-03-14 20:18:47 +01:00
Christian Grothoff
6aca928cf8
expand DB test to cover #6124 better (passed immediately, does not explain the failure) 2020-03-14 19:45:43 +01:00
Christian Grothoff
d9c3627bc5
run closer and transfer with aggregator, check if we actually did get deposit confirmations before running #24 2020-03-14 17:46:53 +01:00
Christian Grothoff
7ae575dccb
fix use after free 2020-03-14 16:24:44 +01:00
Christian Grothoff
f13f030777
reset is unnecessary, we did just drop and recreate the entire DB 2020-03-13 19:34:52 +01:00
Christian Grothoff
89739d1668
nicer log message 2020-03-13 19:34:24 +01:00
Christian Grothoff
dc02821d8f
fix regression introduced by addition of 'revoke' field 2020-03-13 19:13:36 +01:00
Christian Grothoff
e05ce36f30
implement test mode in taler-exchange-transfer 2020-03-13 15:19:47 +01:00
Christian Grothoff
9c20b62eb9
database setup logic is now external to httpd 2020-03-13 14:55:58 +01:00
Christian Grothoff
8d5f42fe0c
add separate commands for closer/transfer steps, modify test cases to use new commands 2020-03-12 10:53:49 +01:00
Christian Grothoff
b91fcbb92f
finish separation of aggreator into aggregation, closing and transfer processes (test cases still need to be updated) 2020-03-12 10:23:26 +01:00
Christian Grothoff
83631bc98f
split reserve closing from main aggregation logic 2020-03-12 10:11:24 +01:00
Christian Grothoff
a1db41e09a
aggregator clean up 2020-03-12 08:17:46 +01:00
Florian Dold
1896c1dfb5
fix EC typo (by importing generated header) 2020-03-12 00:39:45 +05:30
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
fc79dd233a
fix typo, remove obsolete option, initialize mpub 2020-03-10 15:28:54 +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
65062e4354
no longer create tables on startup of exchange aggregator/httpd 2020-03-09 23:53:26 +01:00
Christian Grothoff
c20078010b
fix comments, naming consistency issues 2020-03-07 14:35:32 +01:00
Christian Grothoff
962990c7ce
share master private key verification logic between taler-exchange-wire and taler-exchange-keyup 2020-03-07 12:58:40 +01:00
Christian Grothoff
20a7d8fc08
merge taler-wire and taler-bank-transfer tools, they are very related and otherwise duplicate lots of logic; also enable both credit and debit histories to be shown 2020-03-07 12:23:32 +01:00
Christian Grothoff
42bc3bc437
nicer IO error handling in exchangedb logic 2020-03-07 00:39:39 +01:00
Christian Grothoff
ffcadbff8c
code cleanup (comments, scoping, naming, indentation) 2020-03-07 00:28:07 +01:00
Christian Grothoff
82d7b63ff5
move comments into database for auditor DB 2020-03-06 09:04:24 +01:00
Christian Grothoff
52d41311ac
new coins => fresh coins, also move comments into the database itself 2020-03-05 23:49:47 +01:00
Christian Grothoff
a49bfef2fb
rename for consistency 2020-03-05 23:02:38 +01:00
Christian Grothoff
7dd52a0892
clean up comments, renaming for clarity 2020-03-05 22:38:19 +01:00
Christian Grothoff
642992f9c3
more renaming 2020-03-04 12:10:11 +01:00
Christian Grothoff
c6874cdb1b
fix comments 2020-03-04 12:04:28 +01:00
Christian Grothoff
7f37017e91
more renaming 2020-03-04 11:51:00 +01:00
Christian Grothoff
6cc516427b
minor code clean up, renaming for consistency 2020-03-04 11:47:22 +01:00
Christian Grothoff
a3013d9e3d
minor cleanup 2020-03-03 19:10:40 +01:00
Christian Grothoff
0d30e53585
remove dead field, avoid unnecessary heap allocation 2020-03-03 19:06:11 +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
97fb6b0091
fixing memory leak, comments, renaming callback type to make it more concise 2020-03-03 16:35:20 +01:00
Christian Grothoff
9abee82d3c
remove dead prototype 2020-03-03 16:08:26 +01:00
Christian Grothoff
ac5635776e
remove /config from API, as that is not part of the wire gateway specification 2020-03-03 15:44:11 +01:00
Christian Grothoff
3ba839dee5
remove /config from API, as that is not part of the wire gateway specification 2020-03-03 15:40:51 +01:00
Christian Grothoff
32ba50a0f0
fix potential NPE 2020-03-03 12:34:24 +01:00
Christian Grothoff
5d67cb9c4f
fix typo 2020-03-03 12:32:55 +01:00
Christian Grothoff
113f3891d1
removing dead code, using more named constants, checking return values better 2020-03-01 17:51:46 +01:00
Christian Grothoff
c11475c081
work around indentation bug of uncrustify 2020-03-01 14:05:38 +01:00
Christian Grothoff
f4ce758d68
scope minimization, more consistent naming of variables 2020-03-01 14:02:30 +01:00
Christian Grothoff
13eed90b73
use global ENABLE_SANITY_CHECKS constant also in response generation logic 2020-03-01 13:53:56 +01:00
Christian Grothoff
9b688d7cb0
scope reduction, commenting 2020-03-01 13:52:34 +01:00
Christian Grothoff
9ec23c6239
bump year 2020-03-01 13:45:56 +01:00
Christian Grothoff
31958f3ae8
fix log msg 2020-03-01 13:45:19 +01:00
Christian Grothoff
3818cb8f52
reduce scope 2020-03-01 13:44:44 +01:00
Christian Grothoff
440c3dc1f0
fix missing NULL termination on array 2020-03-01 13:44:13 +01:00
Christian Grothoff
f457e1332d
use memcpy/memcmp instead of str-functions where applicable 2020-03-01 13:36:40 +01:00
Christian Grothoff
1eb292fe1f
check well-formedness of URI when signing, check return value of function for error 2020-03-01 13:31:46 +01:00
Christian Grothoff
2906aeb459
add ENABLE_SANITY_CHECKS #define instead of using '1' 2020-03-01 13:14:46 +01:00
Christian Grothoff
f979ee9aca
add ENABLE_SANITY_CHECKS #define instead of using '1' 2020-03-01 13:13:33 +01:00