Commit Graph

71 Commits

Author SHA1 Message Date
Christian Grothoff
499247a480
fixing #5178 2017-11-29 20:23:08 +01:00
Christian Grothoff
2f2930f1ba
major API refactoring, adding planchet generation and coin extraction APIs to the Taler crypto library, thereby simplifying code in withdraw, refresh, tipping, payback and testcases; slight API incompatibilities to previous versions are introduced 2017-10-31 14:02:54 +01:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash 2017-10-06 20:02:28 +02:00
Christian Grothoff
80a7fe9dcf
add logic to signal exchange to reload keys 2017-09-13 14:35:57 +02:00
Christian Grothoff
d77c4160ec
implement logic to check protocol version compatibility (#5035) 2017-07-01 14:15:26 +02:00
Christian Grothoff
dea0f7c411
fixing #5010 for /reserve/withdraw 2017-06-19 00:17:16 +02:00
Christian Grothoff
16b7c26605
modify fakebank API to allow arbitrary subjects, not just well-fromed WTIDs 2017-06-11 15:25:59 +02:00
Christian Grothoff
850d84a1b6
assert non-NULL 2017-06-05 18:05:01 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879) 2017-05-29 01:15:41 +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
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
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
6ab67a3a76
implementing #4929 2017-03-04 16:49:33 +01:00
Christian Grothoff
397c718809
implementing #4921: add base URL to wire transfers 2017-03-02 06:26:12 +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
Christian Grothoff
7d6b8d53d5
addressing #4803: nicer error messages for invalid wire formats 2016-11-18 18:29:18 +01:00
Christian Grothoff
7fd6be5cef
add idempotency checks for /refresh/reveal, fixing #4793 2016-11-17 16:37:40 +01:00
Marcello Stanisci
95a6d399f8 wget-ing /admin/add/incoming from bank-lib testcase 2016-11-04 20:04:31 +01:00
Christian Grothoff
7341b21fa3
return taler-specific error codes from C API as well
(#4497/4705)
2016-10-20 21:00:40 +02:00
Marcello Stanisci
0830751534 Merge branch 'master' of taler.net:exchange 2016-10-19 23:07:17 +02:00
Christian Grothoff
70462f0b94
implement #4497/#4705 -- addition of unique numeric error codes -- for the server-side of the exchange 2016-10-18 23:05:29 +02:00
Marcello Stanisci
93f1fb5fc3 indent 2016-10-17 23:51:09 +02:00
Christian Grothoff
25618c561e check dbinit return value to not fail hard if DB not available 2016-10-10 16:54:37 +02:00
Christian Grothoff
df8c011b95 return execution time also from exchange C API (#4578) 2016-09-26 14:58:44 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
6cd71bebbf implement #4569 2016-06-13 16:36:10 +02:00
Christian Grothoff
6fb30ce468 fix memory leaks 2016-06-11 16:59:03 +02:00
Christian Grothoff
75c04b8af2 rename /deposit/wtid and /wire/deposits to /track/{transaction,transfer} for improved consistency 2016-06-09 19:18:13 +02:00
Christian Grothoff
421b4f403f integrate child_death_task with aggregator struct, and cancel it on error 2016-06-09 15:20:24 +02:00
Christian Grothoff
a7379930d2 turn libfakebank into libtalerfakebank so we can use it for testcases in the merchant 2016-06-08 11:35:28 +02:00
Christian Grothoff
166352e87e add exchange_pub to callbacks 2016-06-07 15:14:44 +02:00
Christian Grothoff
c0451f0982 fix #4533 for exchange (breaks interaction with bank for /admin/add/incoming) 2016-05-26 16:38:59 +02:00
Christian Grothoff
32bb3b14bf fix #4483 2016-05-24 20:13:31 +02:00
Christian Grothoff
8dfb3b87b4 testing refund, fixing bugs, refund test passes 2016-05-21 19:22:03 +02:00
Christian Grothoff
9160245167 make use of GNUNET_JSON_from_data_auto where possible 2016-05-21 18:36:12 +02:00
Christian Grothoff
93aaf1d172 extending interpreter to cover refund (but not used yet) 2016-05-20 17:15:50 +02:00
Christian Grothoff
c8b9370413 fixing #3814 by removing ability to melt multiple oldcoins at the same time 2016-05-16 11:55:47 +02:00
Christian Grothoff
ad6a40aaa5 fix fmt string issues 2016-05-04 13:21:22 +02:00