Commit Graph

147 Commits

Author SHA1 Message Date
Christian Grothoff
4694810d9d
free auditor data on shutdown (#5050) 2017-06-04 12:13:30 +02:00
Christian Grothoff
59fd83b731
fix memory leaks (#5050) 2017-06-04 12:07:53 +02:00
Christian Grothoff
1e30d60a25
fixing misc doxygen issues 2017-06-04 11:30:43 +02:00
Christian Grothoff
b217058821
add version to keydata returned by libtalerexchange (#5035) 2017-06-01 23:00:06 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879) 2017-05-29 01:15:41 +02:00
Christian Grothoff
5dff30e20b
nicer logging 2017-05-12 22:41:29 +02:00
Christian Grothoff
f6f4b07bab
clean up debug logic 2017-05-11 11:43:50 +02:00
Christian Grothoff
43126e867a
acutally initialize num_auditors field, helps a lot... 2017-05-11 11:41:05 +02:00
Christian Grothoff
d5ddbb648c
fail hard if any auditor sig is wrong 2017-05-11 11:05:48 +02:00
Christian Grothoff
beee1fb689
generate auditor signatures in exchange-lib testcase, and handle problem with bogus revocation keys during startup more gracefully by terminating instead of looping 2017-05-11 10:56:15 +02:00
Christian Grothoff
7a259fb7bd
nicely handle error from json_dumps without assert 2017-05-09 13:28:01 +02:00
Christian Grothoff
20aad54c3e
remove dead transfer details field from reserves_in (API, exchangedb, etc.) 2017-05-08 13:18:36 +02:00
Christian Grothoff
5e36e520a5
updates to distinguish clearly between wtid and json transfer details 2017-05-08 12:44:40 +02:00
Christian Grothoff
0e73c0d451
check json_pack return value, just to be nice 2017-05-07 14:07:48 +02:00
Christian Grothoff
1ea22a37c6
add /history support to fakebank 2017-05-04 23:29:08 +02:00
Christian Grothoff
f4df63e448
adding support for transaction history to wire plugin API (#4959) 2017-05-04 18:35:53 +02:00
Christian Grothoff
27c921c7c4
finished implementing #4956 in principle, but not yet tested 2017-04-20 21:38:02 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00
Christian Grothoff
c15ff78f0c
implementing #4956-support in libtalerexchange 2017-04-19 14:15:48 +02:00
Christian Grothoff
5e8ef38680
fixing #4980 2017-04-18 21:05:27 +02:00
Christian Grothoff
164c125528
introducing closing fee 2017-04-17 14:01:55 +02:00
Christian Grothoff
4d4ac495a4
test case of /payback done twice, handle 403-case in /payback handler, thereby also testing coin-with-payback history case in test logic (fixes #3887) 2017-04-16 02:39:11 +02:00
Christian Grothoff
1fe26d5d2e
also test reserve history after payback 2017-04-10 17:59:33 +02:00
Christian Grothoff
58463df9d2
fix test_exchangedb denomkeys test 2017-04-10 17:01:20 +02:00
Christian Grothoff
17a74ee707
expand /payback tests 2017-04-10 16:51:09 +02:00
Christian Grothoff
368b9f8fcb
add test case for #3887 2017-04-10 16:37:08 +02:00
Christian Grothoff
2684327176
preparations for testing /payback API 2017-04-10 01:24:05 +02:00
Christian Grothoff
cc3aa31732
implement #3887-handling in exchange-lib 2017-04-03 22:45:48 +02:00
Christian Grothoff
dbb2368403
mark TODOs for #3887 in exchange-lib 2017-04-03 16:49:38 +02:00
Christian Grothoff
29a2f9b345
implement rest of exchange logic for #3887 (return payback information in reserve and coin histories) 2017-04-03 16:40:31 +02:00
Christian Grothoff
b293bda4ac
implement DB plugin function to obtain reserve information, migrate logic to simplified API spec (#3887); use plugin API in /payback DB implementation 2017-04-01 23:43:55 +02:00
Christian Grothoff
c329b92ccf
implementing remaining /payback responses 2017-03-29 16:57:20 +02:00
Christian Grothoff
5aebc70da6
implement /payback-functions in libtalerexchange.so (new C file) 2017-03-29 15:45:18 +02:00
Christian Grothoff
722577835f
implement /payback-functions in libtalerexchange.so 2017-03-29 15:44:59 +02:00
Christian Grothoff
7ebacc6fbd
merge aggregator 2017-03-24 13:42:02 +01:00
Christian Grothoff
7ba2ee0966
test more of /wire, fix off-by-one 2017-03-06 17:36:10 +01:00
Christian Grothoff
92345d05e2
cover get more of /wire API in test case 2017-03-06 17:07:31 +01:00
Christian Grothoff
0e15a99504
implement #4937: allow extraction of fees 2017-03-04 18:45:25 +01:00
Christian Grothoff
e3dcc27b68
implementing/fixing #4933: check total_amount matches aggregated transactions 2017-03-04 17:53:04 +01:00
Christian Grothoff
6ab67a3a76
implementing #4929 2017-03-04 16:49:33 +01:00
Christian Grothoff
f406f96129
implement #4929: add wire transfer fee to /wire (but not yet charged by aggregator) 2017-03-03 20:31:29 +01:00
Christian Grothoff
4d2faa5ec9
changing wire plugin specification from [exchange]WIREFORMAT to [exchange-wire-PLUGIN]enable=YES/NO 2017-03-03 19:24:08 +01:00
Christian Grothoff
397c718809
implementing #4921: add base URL to wire transfers 2017-03-02 06:26:12 +01:00
Christian Grothoff
4d8942b818
fix expire header parsing if day-of-month is 7th due to field confusing (wday vs mday) 2017-03-02 05:53:02 +01:00
Christian Grothoff
3592083874
do not print warnings for perfectly expected status codes 2017-02-08 08:02:12 +01:00
Christian Grothoff
e9cdf641de
ensure testcase terminates if wget is not installed or launching httpd failed 2017-02-08 07:58:46 +01:00
Christian Grothoff
aca6003d42
skip test if binaries are not in PATH 2017-02-08 06:04:13 +01:00
Florian Dold
92246c3e88
remove transaction_id, only one payment per proposal allowed 2017-02-07 15:09:10 +01:00
Florian Dold
8c820b6916
contract terminology renaming (#4877) 2017-02-06 15:43:06 +01:00
Florian Dold
0bfb5b2509
Add option to initialized db, fixes 4858
Additionally remove the TESTRUN option, since the name is confusing and
doesn't match the original semantics (temp tables).
Test cases should now invoke the exchange httpd with the "-i" option.
2017-01-13 14:44:51 +01:00