Commit Graph

226 Commits

Author SHA1 Message Date
Christian Grothoff
c2a40aa839 fix #4032: move wire deadline form wire details to advisory field in /deposit request 2015-10-28 21:06:23 +01:00
Christian Grothoff
93a84d5e5a retry transactions on serialization/dead-lock failures (#3990) 2015-09-21 14:36:18 +02:00
Christian Grothoff
a6f8fa98b0 implement #3972: support multiple wire formats concurrently 2015-09-20 13:48:15 +02:00
Christian Grothoff
1eadd66ae0 renaming /withdraw to /reserve (#3968) 2015-09-19 22:08:49 +02:00
Christian Grothoff
cc47c5c701 implement #3838 (as required for wire transfers) 2015-09-19 20:28:37 +02:00
Christian Grothoff
f8a730a0ab fixing #3816: adding 'id' field to uniquely identify each deposit 2015-09-19 20:02:21 +02:00
Christian Grothoff
37a84c5af7 finish implementing #3847 2015-09-19 16:34:27 +02:00
Christian Grothoff
7fbae8f69f implementing retrieval of auditor information from /keys in mint API (with updated specification) - #3847 2015-09-19 16:11:31 +02:00
Christian Grothoff
690019c175 implement mintdb API for mint to read auditor keys from disk -- and form auditor-sign tool to write them in the right format 2015-09-17 14:13:41 +02:00
Christian Grothoff
a8755be2b7 implement auditor signing tool 2015-09-16 19:18:48 +02:00
Christian Grothoff
899f2b4070 implement /wire api (#3947) 2015-09-14 15:29:40 +02:00
Christian Grothoff
6501118f6c remove /lock skeleton logic (#3625) 2015-09-14 11:56:37 +02:00
Christian Grothoff
c4a68b896f add internal sig verification, pack hashes, fix testcase 2015-08-17 03:56:49 +02:00
Christian Grothoff
3d1627daa7 helper function for debugging 2015-08-14 22:05:34 +02:00
Christian Grothoff
c1df2e6283 fix melt sig alignment issue 2015-08-14 15:01:11 +02:00
Christian Grothoff
bda1025dc1 fix accidential removal 2015-08-11 16:11:22 +02:00
Christian Grothoff
13619f425c towards implementing /wire replies 2015-08-11 14:40:09 +02:00
Christian Grothoff
6237981d96 rename struct TALER_MINTDB_RefreshCommitLinkP to struct TALER_RefreshCommitLinkP 2015-08-09 21:25:49 +02:00
Christian Grothoff
3ead9d772a move struct TALER_MINTDB_RefreshCommitLinkP
to taler_signatures.h
2015-08-09 21:25:02 +02:00
Christian Grothoff
e6ff049c20 fix #3935 by removing error message: the test provokes this intentionally 2015-08-09 18:03:42 +02:00
Christian Grothoff
2da8705c96 doxygen 2015-08-09 15:46:29 +02:00
Christian Grothoff
c6f88ebd61 doxygen-fixes 2015-08-09 15:40:16 +02:00
Christian Grothoff
aaab2ed2d4 fix FTBFS, towards implementing OC_REFRESH_REVEAL 2015-08-09 15:24:02 +02:00
Christian Grothoff
7e47853a5e implement parse_refresh_link_ok 2015-08-08 23:03:26 +02:00
Christian Grothoff
00d613728f completing TALER_MINT_refresh_melt implementation 2015-08-08 19:52:05 +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
beceb3bc16 implementing #3905 2015-07-20 10:34:32 +02:00
Christian Grothoff
3eddd802dc -fix ftbfs in wallet-only mode 2015-07-15 11:40:51 +02:00
Christian Grothoff
155d13e417 comment 2015-07-08 09:59:51 +02:00
Christian Grothoff
1164803c8b defining auditor sig 2015-07-06 10:25:52 +02:00
Christian Grothoff
2e7b28765e simplifying use of struct TALER_DenominationKeyValidityPS by removing signature 2015-07-06 10:16:49 +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
a104914e4d -doxygen fixes 2015-07-05 13:35:47 +02:00
Christian Grothoff
dde1ff8821 fix type 2015-07-05 13:18:49 +02:00
Christian Grothoff
f8349a9cbf towards test-interpreter command for /withdraw/sign 2015-07-04 22:35:30 +02:00
Christian Grothoff
01b2a257b1 implement C API for /admin/add/incoming 2015-07-01 00:18:01 +02:00
Christian Grothoff
f948a10f71 implementing #3851 2015-07-01 00:01:21 +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
e51b6f753a drafting API for /withdraw/status and /withdraw/sign 2015-06-22 15:23:18 +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
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
5740506b24 refactoring mint API, mostly done (compiles again, /keys might even work) 2015-06-17 18:50:09 +02:00
Christian Grothoff
2ca543cd07 fix #3818 and handle coins being melted into multiple sessions 2015-06-15 14:18:37 +02:00
Christian Grothoff
5c01da52b1 introduce pq functions form abs time in NBO 2015-06-12 21:29:17 +02:00
Christian Grothoff
9891cafe12 implementing #3819: check for inconsistent deposit request 2015-06-12 11:47:01 +02:00
Christian Grothoff
006c55b3de doxygen fixes 2015-06-12 11:00:04 +02:00
Christian Grothoff
3cdee2eb6a fix #3811 2015-06-12 10:55:03 +02:00
Christian Grothoff
fe6d7a5ae1 ensure DKI information is in database before we start to use it (#3808) 2015-06-12 10:46:42 +02:00
Christian Grothoff
3724e3d166 implement postgres_get_denomination_info (#3808) 2015-06-12 10:28:17 +02:00
Christian Grothoff
a560e79a50 addig gauger.h to build to avoid FTBFS 2015-06-11 16:04:51 +02:00
Christian Grothoff
a2c77cd36a fixing #3823 2015-06-11 14:58:23 +02:00
Christian Grothoff
65c19ccbdb implement #3831 2015-06-11 14:40:07 +02:00
Christian Grothoff
998a2f3aa6 fixing #3812/#3828 2015-06-11 13:52:45 +02:00
Christian Grothoff
357235618f fixing #3821 2015-06-11 13:46:27 +02:00
Christian Grothoff
dc23f290ee fixing #3817 2015-06-11 13:38:47 +02:00
Christian Grothoff
edc6d38082 use execution time for transactions, but expiration time for reserve summary (fixes #3809) 2015-06-11 13:14:59 +02:00
Christian Grothoff
babeff1968 fix #3825 2015-06-11 13:02:57 +02:00
Christian Grothoff
8bd6465325 fixing #3810 2015-06-11 12:30:14 +02:00
Christian Grothoff
c502b82da4 fixing #3827 2015-06-11 12:08:15 +02:00
Christian Grothoff
9a3dd7cb25 new test for uint and json APIs 2015-06-10 17:39:34 +02:00
Christian Grothoff
aef3b7c350 implementing pq APIs for #3827, not yet tested or used through 2015-06-10 16:31:29 +02:00
Christian Grothoff
29a8047d6f use better names than i/j 2015-06-10 11:34:21 +02:00
Christian Grothoff
4544a21cfb -commenting on code 2015-06-09 13:55:05 +02:00
Christian Grothoff
55568e682b notes about 3828/3812 2015-06-05 15:48:00 +02:00
Christian Grothoff
776482ef85 more docu and bug notes 2015-06-05 15:26:41 +02:00
Christian Grothoff
49fdd32337 clean up postgres_get_reserve_history logic and improve docu 2015-06-05 15:04:21 +02:00
Christian Grothoff
c4f3c9be6c clean up postgres_reserves_in_insert logic and improve docu 2015-06-05 13:48:57 +02:00
Christian Grothoff
b978cba29c -style fixes 2015-06-04 10:43:44 +02:00
Christian Grothoff
8a93e84d71 use const, annotate in/out argument, avoid postgres_-prefix for non-exported functions 2015-06-04 10:35:37 +02:00
Christian Grothoff
c3ab96b242 more documenting, checking for consistency between prepared statements and functional logic 2015-06-03 15:41:09 +02:00
Christian Grothoff
f8558c418e remarks on #3811 2015-06-03 12:35:30 +02:00
Christian Grothoff
600dbaf594 remarks on #3808 2015-06-03 11:43:57 +02:00
Christian Grothoff
401745fc30 -include wallet headers if compiling wallet library 2015-06-02 12:52:05 +02:00
Christian Grothoff
68a8c36f06 forgot to add include earlier 2015-05-28 15:10:57 +02:00
Christian Grothoff
5081c7df1e Merge branch 'master' of git+ssh://taler.net/var/git/mint 2015-05-28 11:34:09 +02:00
Christian Grothoff
de953fa7bc add --enable-wallet-only flag to build libtalerutil_wallet which ONLY contains the wallet-specific API subset 2015-05-28 11:34:06 +02:00
Sree Harsha Totakura
1d551bf36b mintdb get_known_coin(): Do not allocate memory for return paramter.
Instead populate the fields of the placeholder return variable.
2015-05-27 14:20:07 +02:00
Sree Harsha Totakura
d49a0d6567 mintdb postgres: add get_known_coin() and insert_known_coin() 2015-05-25 17:40:27 +02:00
Christian Grothoff
3b0dadc28b add functions for conversion from json to rsa public key/signature for symmetry, testing, etc. 2015-05-17 17:28:18 +02:00
Christian Grothoff
25e530f37a add test for varsize pq operation 2015-05-17 16:46:16 +02:00
Christian Grothoff
aa89db4d0a organize #include, remove redundant includes 2015-05-16 20:33:01 +02:00
Christian Grothoff
21da34a501 -fix doxygen errors 2015-05-16 18:26:34 +02:00
Christian Grothoff
456434ec41 eliminating ECDSA support from json API (dead) 2015-05-16 14:16:38 +02:00
Christian Grothoff
f4a59d1ccc eliminating ECDSA, replacing with EdDSA-ECDHE-combo in transfer protocol 2015-05-16 14:15:34 +02:00
Christian Grothoff
d080e59e27 resolve #3717 2015-05-15 17:24:27 +02:00
Christian Grothoff
85f198ef32 getting test to pass 2015-05-15 14:46:03 +02:00
Christian Grothoff
955054bf25 misc bugfixes 2015-05-15 14:36:08 +02:00
Christian Grothoff
057ef6da30 fix ftbfs 2015-05-13 20:25:02 +02:00
Christian Grothoff
d5960b50af towards fixing #3717 and #3633 2015-05-13 15:57:35 +02:00
Christian Grothoff
dc4847220a do equivalent update for results that was done to type queries in pq library 2015-05-10 22:38:34 +02:00
Christian Grothoff
5004fce6ca replace macros with functions for better type-checking 2015-05-09 17:04:56 +02:00
Christian Grothoff
17055134a3 extend PQ library to support Absolute time values 2015-05-07 13:59:56 +02:00
Christian Grothoff
fc407bcb29 clean up of result processing in postgres logic by expanding pq API to cover RSA keys and signatures for results 2015-05-06 17:43:36 +02:00
Christian Grothoff
da9ab66d2e simplify PG logic by having libtalerpq handle RSA signature/key encoding 2015-05-06 17:05:24 +02:00
Christian Grothoff
74a21a5259 fixing #3768, using new pq API more 2015-05-06 11:47:12 +02:00
Christian Grothoff
f8723b9b5d expanding PQ APIs with cleanup function 2015-05-06 11:25:13 +02:00
Christian Grothoff
85e59ceb1a expanding PQ APIs to be able to handle Amounts nicely (and be extensible for additional data types in the future) 2015-05-06 11:13:09 +02:00