Commit Graph

44 Commits

Author SHA1 Message Date
Christian Grothoff
1277f8445d include fees in amounts being signed, check available balance on refresh 2015-03-22 16:09:01 +01:00
Christian Grothoff
23bf1eee74 fix #3716: make sure amount-API offers proper checks against overflow and other issues 2015-03-18 18:55:41 +01:00
Christian Grothoff
37a194c0ba simplify json construction code 2015-03-15 16:44:53 +01:00
Christian Grothoff
53b189868e moving low-level JSON encoding logic to json.c 2015-03-15 16:39:06 +01:00
Christian Grothoff
968e4aa68f slightly better error generation on /refresh/reveal errors 2015-03-13 09:49:47 +01:00
Christian Grothoff
7e26ae3858 clean up refresh logic and use of signatures 2015-03-10 17:00:12 +01:00
Christian Grothoff
c2c8646a83 combining /mint/melt and /mint/commit 2015-03-10 16:15:14 +01:00
Christian Grothoff
8eaeda9958 fix use of signature for noreveal index, needs to be tied to session hash 2015-03-09 13:21:55 +01:00
Christian Grothoff
ce8272446e actually include purpose payload in sig 2015-03-09 13:07:27 +01:00
Christian Grothoff
e4e8fe6c7c add withdraw proof to reserve history json 2015-03-09 13:04:51 +01:00
Christian Grothoff
579f465c9b implementing #3632: generate proof of insufficient funds by converting transaction history to JSON 2015-03-09 12:29:41 +01:00
Christian Grothoff
477e68c506 bringing copyright tags up to FSF standard 2015-02-08 00:16:22 +01:00
Christian Grothoff
20c05dd5e3 cleaning up /refresh/link logic, in particular separting out response generation logic 2015-01-31 20:53:19 +01:00
Christian Grothoff
6d8ccc9fe7 starting to clean up /refresh/reveal DB logic 2015-01-31 15:42:00 +01:00
Christian Grothoff
c750f53d5a TALER_MINT_keys_sign returns void, thus no need to check rvalue 2015-01-30 14:08:43 +01:00
Christian Grothoff
abe597c074 fix missing test, wrong type 2015-01-30 14:07:27 +01:00
Christian Grothoff
a0a405939f remove dead mint.h includes 2015-01-29 20:27:57 +01:00
Christian Grothoff
090ddf170b working on cleaning up /refresh/melt logic 2015-01-29 20:00:21 +01:00
Christian Grothoff
a627c3e9b1 annotate with bug report number 2015-01-29 00:53:05 +01:00
Christian Grothoff
1d99ff43dc update comments 2015-01-29 00:46:08 +01:00
Christian Grothoff
758ce80519 clean up /withdraw/sign logic 2015-01-29 00:45:07 +01:00
Christian Grothoff
8adde040ab towards proper implementation of /withdraw/status 2015-01-29 00:09:48 +01:00
Christian Grothoff
b162d2e458 rollback should just return void 2015-01-28 22:47:03 +01:00
Christian Grothoff
fd1bcfecfa cleaning up 2015-01-28 21:08:19 +01:00
Christian Grothoff
5fcca8707f simplify logic, remove dead call 2015-01-28 20:59:39 +01:00
Christian Grothoff
8c558ddf89 generally just include taler_util.h 2015-01-28 20:55:15 +01:00
Christian Grothoff
554ee3d4da cleaning up some memory management issues in response generation 2015-01-28 19:58:20 +01:00
Christian Grothoff
2e0e30291c sign /deposit reply so that merchant has proof that mint accepted it 2015-01-28 19:48:41 +01:00
Christian Grothoff
e19f1906a3 avoid using struct Deposit in response 2015-01-28 15:35:41 +01:00
Christian Grothoff
7f171e69b2 more cleanup of mint.h 2015-01-28 15:19:06 +01:00
Christian Grothoff
49d4f24f8d misc cleanup, moving TALER_MINT_config_load to libtalerutil 2015-01-28 14:55:25 +01:00
Christian Grothoff
610b7b62c0 towards making code compile again 2015-01-27 15:22:34 +01:00
Christian Grothoff
bda9e3ad94 towards making code compile again 2015-01-27 14:55:05 +01:00
Christian Grothoff
ae917eeee0 intermediary commit, breaking the build by starting to move towards variable-size GNUnet signatures instead of fixed-size signatures; much broken now 2015-01-26 12:22:26 +01:00
Christian Grothoff
c9a819a5ef handle DB connect errors 2015-01-21 14:21:58 +01:00
Christian Grothoff
53a7140a0b move /refresh/reveal response generation to taler-mint-httpd_responses.c 2015-01-21 13:38:57 +01:00
Christian Grothoff
737301c8d0 towards separating out DB operations during refresh 2015-01-20 17:50:32 +01:00
Christian Grothoff
f70814fbb5 more work on splitting refresh logic 2015-01-20 17:12:51 +01:00
Christian Grothoff
93a98f8091 starting to refactor refresh code, moving response generation logic to response generation file 2015-01-20 15:17:41 +01:00
Christian Grothoff
ed51946442 more code refactoring to separate parsing, db and response generation nicely 2015-01-19 21:53:23 +01:00
Christian Grothoff
f9347d2395 document TODOs 2015-01-19 21:09:47 +01:00
Christian Grothoff
a1f20a92a0 restructuring more of deposit logic towards desired flow structure 2015-01-19 21:04:58 +01:00
Christian Grothoff
4bd515191b nicer TALER_MINT_parse_post_json return value handling, fixing return values where GNUNET_SYSERR is used instead of MHD_NO, marking cases where we should return a proper error message 2015-01-16 14:27:42 +01:00
Christian Grothoff
f58fb4fc21 starting to separate out response generation API and parsing APIs 2015-01-16 13:50:07 +01:00