Commit Graph

4042 Commits

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