Commit Graph

3816 Commits

Author SHA1 Message Date
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