Commit Graph

139 Commits

Author SHA1 Message Date
Christian Grothoff
cb47e13322 -newline 2015-08-08 22:12:45 +02:00
Christian Grothoff
6b048a0dc6 implement handle_refresh_reveal_finished (200 OK handler) 2015-08-08 22:11:58 +02:00
Christian Grothoff
1e8529a19e add missing conclusion over melt session hash computation 2015-08-08 21:48:13 +02:00
Christian Grothoff
189adf52eb finshing json parsing support for /refresh/melt handling 2015-08-08 21:46:26 +02:00
Christian Grothoff
6ea5858d32 implementing verify_refresh_melt_signature_forbidden 2015-08-08 21:32:09 +02:00
Christian Grothoff
eec485b322 move coin history verification to new mint_api_common.c for future use by refresh logic 2015-08-08 20:21:13 +02:00
Christian Grothoff
0be947809d handle HTTP OK status code for /refresh/melt 2015-08-08 20:10:16 +02:00
Christian Grothoff
0a5e962108 implement TALER_MINT_refresh_reveal logic 2015-08-08 20:01:45 +02:00
Christian Grothoff
00d613728f completing TALER_MINT_refresh_melt implementation 2015-08-08 19:52:05 +02:00
Christian Grothoff
ce4f6e2106 -more boilerplate 2015-08-08 16:15:18 +02:00
Christian Grothoff
495fab44f1 complete implementation of TALER_MINT_refresh_prepare 2015-08-08 16:09:25 +02:00
Christian Grothoff
669e3fcdf2 towards implemnting TALER_MINT_refresh_prepare 2015-08-08 15:35:34 +02:00
Christian Grothoff
0ad7967328 implementing deserialization logic 2015-08-08 15:00:55 +02:00
Christian Grothoff
3028910d08 implementing serialization logic 2015-08-08 14:29:21 +02:00
Christian Grothoff
c4f75cfc1b more work on /refresh skeleton and internal data structures 2015-08-06 16:40:21 +02:00
Christian Grothoff
71daf751b1 adding first draft for the /refresh/ APIs, including implementation stub 2015-08-06 00:00:40 +02:00
Christian Grothoff
cf82f211a4 fix 2015-07-20 14:04:23 +02:00
Christian Grothoff
6170dbbf37 share more code in mint API, misc bugfixes 2015-07-11 23:07:36 +02:00
Christian Grothoff
be778784ea fix transaction ID conversion in DB 2015-07-09 13:02:40 +02:00
Christian Grothoff
d88048e4b9 fix transaction ID conversion in DB 2015-07-09 13:01:39 +02:00
Christian Grothoff
a24171d0fa fix mint to actually include signature in deposit error reply 2015-07-09 12:47:49 +02:00
Christian Grothoff
8b91516fc3 introducing 'expected_response_code' 2015-07-09 12:22:07 +02:00
Christian Grothoff
fdbedcd457 finish checks for /withdraw/status 2015-07-09 12:11:01 +02:00
Christian Grothoff
443b0db2c7 towards checking /withdraw/sign 2015-07-09 12:02:01 +02:00
Christian Grothoff
5164edcfe1 symbol now in GNUnet SVN, use it 2015-07-09 11:44:54 +02:00
Christian Grothoff
eadd518939 rudimentary support for /withdraw/status 2015-07-09 11:36:51 +02:00
Christian Grothoff
f79b281209 rudimentary support for /withdraw/status 2015-07-09 11:36:13 +02:00
Christian Grothoff
d16d4f38c9 -fix 2015-07-08 09:59:02 +02:00
Christian Grothoff
296e27b92a -simplify parsing, make code compile without new util API 2015-07-08 08:54:55 +02:00
Christian Grothoff
2e7b28765e simplifying use of struct TALER_DenominationKeyValidityPS by removing signature 2015-07-06 10:16:49 +02:00
Christian Grothoff
b8c264656c final fixes to make test pass 2015-07-05 17:27:20 +02:00
Christian Grothoff
0372b7583b include mint's public key in reply 2015-07-05 17:15:37 +02:00
Christian Grothoff
922323b410 misc bugfixes from tests 2015-07-05 16:55:01 +02:00
Christian Grothoff
f623214c12 minor bugfixes, towards /deposit in test interpreter 2015-07-05 14:32:26 +02:00
Christian Grothoff
a104914e4d -doxygen fixes 2015-07-05 13:35:47 +02:00
Christian Grothoff
01551b0d9d comments 2015-07-05 13:21:53 +02:00
Christian Grothoff
3f1a4c346b comments 2015-07-05 13:20:09 +02:00
Christian Grothoff
dde1ff8821 fix type 2015-07-05 13:18:49 +02:00
Christian Grothoff
9084ac4821 fixing RC counting and a comma 2015-07-05 13:05:58 +02:00
Christian Grothoff
ff6d4c081c neat error reporting 2015-07-05 11:54:14 +02:00
Christian Grothoff
24df12db9b trigger content ask after adding ops 2015-07-05 11:52:00 +02:00
Christian Grothoff
fbee672775 log warning if matching denomination key is out of range 2015-07-04 22:41:05 +02:00
Christian Grothoff
f8349a9cbf towards test-interpreter command for /withdraw/sign 2015-07-04 22:35:30 +02:00
Christian Grothoff
902ec2fe11 implementing missing interpreter shutdown cleanup logic 2015-07-04 22:00:29 +02:00
Christian Grothoff
915270d77a more small bugfixes 2015-07-04 21:34:50 +02:00
Christian Grothoff
49da00cc2b fix misc small bugs 2015-07-04 21:27:28 +02:00
Christian Grothoff
841950b910 more work on testcase 2015-07-04 20:47:39 +02:00
Christian Grothoff
2bb5d46701 implementing OC_ADMIN_ADD_INCOMING command 2015-07-04 18:45:51 +02:00
Christian Grothoff
15956f47c0 skeleton for the interpreter loop to write tests for the mint 2015-07-04 17:30:38 +02:00
Christian Grothoff
01b2a257b1 implement C API for /admin/add/incoming 2015-07-01 00:18:01 +02:00
Christian Grothoff
68bf92de2c fix ftbfs 2015-06-30 21:26:16 +02:00
Christian Grothoff
d98eabf6c3 handle response code 0 more nicely 2015-06-26 09:03:18 +02:00
Christian Grothoff
28a10c22a6 fix remaining open issues to resolve #3772/3773 2015-06-23 19:47:13 +02:00
Christian Grothoff
ca01072fdd work on withdraw history parser refactoring, towards finishing the implementation 2015-06-23 19:41:51 +02:00
Christian Grothoff
6108acb923 link to mantis open issues 2015-06-22 21:23:01 +02:00
Christian Grothoff
d64a1a3d2e minor FIXME fix 2015-06-22 21:20:26 +02:00
Christian Grothoff
59b4e1cdd8 almost finished checking if reserve transaction history well-formedness for /withdraw/sign error checking 2015-06-22 21:18:44 +02:00
Christian Grothoff
9fbd7967b1 handle 200 OK response from /withdraw/sign 2015-06-22 20:38:35 +02:00
Christian Grothoff
57f4c31514 finished implementing request construction for /withdraw/sign 2015-06-22 20:18:45 +02:00
Christian Grothoff
7a319f605a get skeleton withdraw code to compile 2015-06-22 18:36:52 +02:00
Christian Grothoff
463fd2d557 starting with withdraw impl 2015-06-22 18:35:13 +02:00
Christian Grothoff
3954fbe8c0 finishing implementation of #3516 2015-06-22 14:36:01 +02:00
Christian Grothoff
f0c8858825 -check consistency of amount with purpose's amount 2015-06-22 14:23:09 +02:00
Christian Grothoff
6d323a50d2 marking remaining FIXMEs for #3516 2015-06-21 21:49:05 +02:00
Christian Grothoff
a334005e3d implemented signature verification for /deposit 200 OK response 2015-06-21 21:17:33 +02:00
Christian Grothoff
8f6e911308 -implement signature checking on /deposit 2015-06-21 20:43:54 +02:00
Christian Grothoff
5caa52aa4c implementing /deposit JSON generation 2015-06-21 19:18:31 +02:00
Christian Grothoff
bba46ca85a compile mint_api_deposit.c 2015-06-21 18:47:42 +02:00
Christian Grothoff
ed888ca1d8 starting with skeleton for /deposit implementation 2015-06-21 00:00:33 +02:00
Christian Grothoff
6e070416c3 generate /keys signature as binary-only 2015-06-20 23:19:21 +02:00
Christian Grothoff
3bb26bcf47 deduplicate code with util/json.c, do use consistently /time/ encoding 2015-06-20 22:53:01 +02:00
Christian Grothoff
61752e0334 simplify /keys parser by using json parser interpreter 2015-06-20 22:40:06 +02:00
Christian Grothoff
605058f774 add generic json parser interpreter to simplify parsing logic (next) 2015-06-20 17:40:28 +02:00
Christian Grothoff
5c780a7a97 must also decode 'expire_legal' 2015-06-19 22:32:58 +02:00
Christian Grothoff
2c1db3ea04 fix struct used in size calc for key signing 2015-06-19 22:24:02 +02:00
Christian Grothoff
45ec06a0e8 fix config to use test mode 2015-06-18 16:38:43 +02:00
Christian Grothoff
8f656ba0fc add config files 2015-06-18 16:23:01 +02:00
Christian Grothoff
5e87b47c48 add test mode option to mint 2015-06-18 14:25:09 +02:00
Christian Grothoff
b696e1db1d fix range check, make messages clearer 2015-06-18 14:04:42 +02:00
Christian Grothoff
8cd29d1670 adding configuration for testing mint httpd 2015-06-18 13:47:35 +02:00
Christian Grothoff
d15c654749 fix locking issue, as the mutex we are using is not recursive we need to be a bit more careful 2015-06-18 13:44:58 +02:00
Christian Grothoff
740d6cba04 finish first draft of testcase, fix first small bug found with it 2015-06-18 11:39:53 +02:00
Christian Grothoff
a32e2b869f fix testcase FTBFS 2015-06-18 01:17:01 +02:00
Christian Grothoff
5740506b24 refactoring mint API, mostly done (compiles again, /keys might even work) 2015-06-17 18:50:09 +02:00
Christian Grothoff
93bc450db3 enable code coverage configure option 2015-04-13 13:57:38 +02:00
Christian Grothoff
576545daeb fix use of struct TALER_MintSigningKeyValidityPS 2015-03-28 18:18:38 +01:00
Christian Grothoff
eca4f1a8fe -doxygen fixes 2015-03-28 15:42:07 +01:00
Christian Grothoff
891018f69f minor renaming of signature values and improved documentation of signatures, also adding a few missing fields to signatures to address #3631 2015-03-28 14:22:21 +01:00
Christian Grothoff
c626ccac51 second round of renamefest 2015-03-28 11:06:00 +01:00