Commit Graph

111 Commits

Author SHA1 Message Date
Christian Grothoff
81e234e723 store and retrieve arrays from database where arrays are the unit of transaction, to reduce number of DB interactions 2015-03-22 14:21:16 +01:00
Christian Grothoff
0d3ec509d7 move free functions into plugin 2015-03-22 13:02:11 +01:00
Christian Grothoff
7d9a403275 first stab at establishing proper plugin API, main HTTP code compiles, other binaries FTBFS right now 2015-03-20 23:51:28 +01:00
Christian Grothoff
fe0a75eaa0 use new GNUnet APIs to convert ECDSA to ECDHE keys 2015-03-19 14:23:43 +01:00
Christian Grothoff
1f3f4ed8dd Merge branch 'master' of git+ssh://taler.net/var/git/mint 2015-03-18 18:55:46 +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
Sree Harsha Totakura
e6b13123d7 update reserve summary when withdraws are made through insert_collectible_blindcoin 2015-03-18 13:50:03 +01:00
Sree Harsha Totakura
b7c6edb0e5 httpd: Use the right fee for deposit transaction 2015-03-16 11:08:52 +01:00
Christian Grothoff
d0f2d8b426 simplify code structure, reduce exposure of keystate struct 2015-03-15 15:40:07 +01:00
Christian Grothoff
968e4aa68f slightly better error generation on /refresh/reveal errors 2015-03-13 09:49:47 +01:00
Christian Grothoff
2f70806cfa fix #3635 2015-03-10 17:05:48 +01:00
Christian Grothoff
e3b8f5117e remove redundant arg 'num_oldcoins/num_newcoins' 2015-03-10 16:25:23 +01:00
Christian Grothoff
daa5fbe3b7 remove redundant arg 'commit_client_sig' 2015-03-10 16:21:20 +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
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
Sree Harsha Totakura
6714e6a9cc db: Implement get_collectable_blindcoin 2015-03-07 15:25:16 +01:00
Sree Harsha Totakura
0acd5714e0 Move table creation logic to DB layer. Also support temporary schema creation for the sake of testing 2015-03-06 10:31:22 +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
2bb962c9be finished first pass over /refresh/reveal logic, simplifying mint_db API by keeping sigs around immediately 2015-01-31 20:08:21 +01:00
Christian Grothoff
6d8ccc9fe7 starting to clean up /refresh/reveal DB logic 2015-01-31 15:42:00 +01:00
Christian Grothoff
1102b7dace working on /refresh/melt operation 2015-01-30 15:34:01 +01:00
Christian Grothoff
d751c9c6de eliminating obsolete KnownCoin APIs 2015-01-29 20:41:11 +01:00
Christian Grothoff
a0a405939f remove dead mint.h includes 2015-01-29 20:27:57 +01:00
Christian Grothoff
fa7f190745 logic of execute_refresh_commit is now clean 2015-01-29 20:18:04 +01:00
Christian Grothoff
090ddf170b working on cleaning up /refresh/melt logic 2015-01-29 20:00:21 +01:00
Christian Grothoff
8ca555500f more notes about issues in bug tracker 2015-01-29 19:01:29 +01:00
Christian Grothoff
2b663f33c0 more comments 2015-01-29 18:46:34 +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
fb12484160 update docu 2015-01-28 22:35:57 +01:00
Christian Grothoff
1466048e4d cleaning up mint_db API 2015-01-28 22:18:53 +01:00
Christian Grothoff
fd1bcfecfa cleaning up 2015-01-28 21:08:19 +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
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
ea3fac6063 starting to clean up /deposit logic 2015-01-27 23:06:23 +01:00
Christian Grothoff
162af316d3 cleaning up types used some more: also use a new struct for the transfer key secret 2015-01-27 22:05:31 +01:00
Christian Grothoff
27a72fdafe cleaning up types used 2015-01-27 22:01:08 +01:00
Christian Grothoff
c7b7da5a19 code now fully compiles again 2015-01-27 18:57:29 +01:00
Christian Grothoff
019af0919e mint-httpd_db.c now compiles again 2015-01-27 18:49:02 +01:00
Christian Grothoff
c3731d0df7 implementing varsize link data 2015-01-27 18:35:17 +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
c2b32e75dc avoid querying DB for refresh session twice 2015-01-21 14:52:41 +01:00
Christian Grothoff
9c56c91c1f separate DB logic for /refresh/reveal from parsing logic 2015-01-21 14:46:33 +01:00
Christian Grothoff
c9a819a5ef handle DB connect errors 2015-01-21 14:21:58 +01:00
Christian Grothoff
2ef511eece document TODOs 2015-01-21 14:01:46 +01:00
Christian Grothoff
92cc995743 separate argument parsing from DB operations for /refresh/link 2015-01-21 13:46:05 +01:00
Christian Grothoff
4d8f4903db properly separate DB logic from parsing logic for /refresh/commit 2015-01-21 13:31:05 +01:00
Christian Grothoff
82217f67db properly separate DB logic from parsing logic for /refresh/melt 2015-01-21 12:46:14 +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