Commit Graph

359 Commits

Author SHA1 Message Date
Christian Grothoff
e39beff272 fix init before use in new refund logic 2016-05-20 15:52:40 +02:00
Christian Grothoff
43cfa77248 enforce wire deadline >= refund_deadline in API 2016-05-20 15:36:08 +02:00
Christian Grothoff
9391ed529c export function to free commit coin data 2016-05-19 18:37:31 +02:00
Christian Grothoff
763c8ab512 rename GNUNET_CRYPTO_rsa_BlindingKey to GNUNET_CRYPTO_RsaBlindingKey following GNUnet API change 2016-05-19 15:11:05 +02:00
Christian Grothoff
8ff8c7b8c7 fix table dropping logic to ensure testcases run in fresh environment 2016-05-18 17:19:32 +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
d55b2cd59d more work on test, noting what is left to do 2016-05-06 23:51:15 +02:00
Christian Grothoff
95d338f6cc adding test for auditors API 2016-05-06 19:39:31 +02:00
Christian Grothoff
3526c44a38 refactor code to write signing keys in same module where we read them 2016-05-06 18:33:02 +02:00
Christian Grothoff
0c959e75d1 working on #3641: more on /refund implementation 2016-05-05 22:57:55 +02:00
Christian Grothoff
6b1f4904ef export transaction history check function 2016-05-05 14:43:13 +02:00
Christian Grothoff
4a031a692b implementing /refund API (#3848) 2016-05-04 09:42:52 +02:00
Christian Grothoff
79c316f0d5 enable multiple wire methods to be used with aggregator, add command to run aggregator in testcase 2016-05-03 07:57:49 +02:00
Christian Grothoff
1cbba4bec1 fixing #4462: avoid temporary schemata altogether 2016-05-02 06:36:58 +02:00
Christian Grothoff
53e7547aaf removing broken and redundant testcase 2016-05-02 05:17:42 +02:00
Christian Grothoff
b98a204562 fix #4184 2016-05-02 05:10:40 +02:00
Christian Grothoff
21188ca703 Merge branch 'master' of ssh://taler.net:/var/git/exchange 2016-04-21 20:00:40 +02:00
Christian Grothoff
77e9e3a7f6 sketching out refund API implementation 2016-04-20 03:05:16 +02:00
Christian Grothoff
edd31c7415 implementing parsing of /refund requests 2016-04-20 02:50:52 +02:00
Christian Grothoff
f693e25793 introduce refund fee 2016-04-20 01:50:26 +02:00
Florian Dold
37be942f48 do not include gnunet's platform header in our public headers 2016-04-19 13:54:59 +02:00
Christian Grothoff
7496a03978 replace bank_api_context with libgnunetcurl 2016-04-17 18:03:01 +02:00
Christian Grothoff
1ed567a14b replace exchange_api_context with libgnunetcurl 2016-04-17 17:45:15 +02:00
Christian Grothoff
3abb3bc372 use user_config_file as well 2016-04-16 13:10:29 +02:00
Christian Grothoff
ecc5b6791f fix taler-exchange-keyup way of loading configuration 2016-04-16 12:37:37 +02:00
Christian Grothoff
ce9dd3365d implement signing of /wire/deposit replies (#4135) 2016-04-11 19:54:54 +02:00
Christian Grothoff
30d66bcebc fixing #4386: use more sane configuration and data file structure 2016-04-10 17:10:20 +02:00
Christian Grothoff
df893df505 fix make dist rules 2016-04-09 01:56:24 +02:00
Christian Grothoff
e00370d4f5 removing duplication of --help logic 2016-04-07 22:52:23 +02:00
Christian Grothoff
ad8351c912 fix iterate_matching_deposits(), LIMIT does not work with variables in Postgres (#4360) 2016-04-06 10:22:09 +02:00
Christian Grothoff
f3819ae60d undef dead symbol 2016-04-05 23:45:05 +02:00
Christian Grothoff
0ff76b5abb fix test to ensure DB invariants are met 2016-04-04 16:47:11 +02:00
Christian Grothoff
daae3d3ddf change taler-exchange-sepa to a more generic taler-exchange-wire tool using the wire plugins (#4237) 2016-04-02 20:58:22 +02:00
Christian Grothoff
de3e26303e implementing #4356, tests still failing, but main logic should now be updated 2016-04-01 16:15:35 +02:00
Christian Grothoff
b4c4f0b078 towards a testcase for aggregation logic 2016-03-30 22:56:17 +02:00
Christian Grothoff
17b2c7e011 fix indent, fix some comments 2016-03-26 18:18:57 +01:00
Christian Grothoff
ac950fbe61 switch to wid to comply with spec 2016-03-23 11:34:24 +01:00
Christian Grothoff
6a80c0bfa2 Merge branch 'master' of git+ssh://git.taler.net/var/git/exchange 2016-03-21 14:40:59 +01:00
Christian Grothoff
3cb188e8a7 rename to match GNUnet symbol change 2016-03-21 14:40:57 +01:00
Christian Grothoff
6f8fa678c1 implementing #3987 2016-03-21 01:45:53 +01:00
Christian Grothoff
737e3f4bf6 refactor to eliminate duplicated JSON parsing logic (#4150) 2016-03-19 19:16:35 +01:00
Christian Grothoff
0d1eced630 first refactoring of JSON logic to address #4150 and #4237 2016-03-19 15:23:11 +01:00
Christian Grothoff
17ff4f5e97 fixing #4230 in bank-lib 2016-03-02 21:07:27 +01:00
Christian Grothoff
531272a92a towards fixing #4230 2016-03-02 21:02:46 +01:00
Christian Grothoff
b5cba32510 renaming mint->exchange 2016-03-01 15:35:04 +01:00
Christian Grothoff
d67011e2b5 making mintdb tests pass again after API refactoring to remove total amount 2016-02-07 15:02:49 +01:00
Christian Grothoff
2b5a7c8748 move to new libgnunetpq library, simplifying libtalerpq 2016-02-06 17:39:18 +01:00
Christian Grothoff
67bc16d9eb update bank-lib to reflect API discussions 2016-01-29 11:39:45 +01:00
Christian Grothoff
46d9cc367b finishing core logic for #4141, but untested 2016-01-28 03:58:21 +01:00
Christian Grothoff
649879b0b6 implementing prepare data postgres functions for #4141 2016-01-27 18:28:52 +01:00
Christian Grothoff
b7215299d8 adding SQL for prewire data storage 2016-01-27 17:09:08 +01:00
Christian Grothoff
9a45742fe4 adding stubs for wire prepare data functions 2016-01-27 16:46:51 +01:00
Christian Grothoff
48c2edc28d working on mintdb for #4141 2016-01-27 16:42:24 +01:00
Christian Grothoff
0554fa7691 fix syntax issues in Makefile.am 2016-01-27 15:05:39 +01:00
Christian Grothoff
f5fea55e1c -missing file 2016-01-27 15:03:10 +01:00
Christian Grothoff
0ba855ae92 more mintdb API design for #4141 2016-01-25 15:18:31 +01:00
Christian Grothoff
bd3700e608 getting aggregator structure laid out for #4141 2016-01-25 15:08:29 +01:00
Christian Grothoff
57c1d2318f getting aggregator structure laid out for #4141 2016-01-25 14:57:32 +01:00
Christian Grothoff
891b533a21 finish serialization/deserialization logic for test wire transfers 2016-01-25 11:21:55 +01:00
Christian Grothoff
ccb4ac92a3 more work on wire plugin 2016-01-25 11:08:19 +01:00
Christian Grothoff
941cb8182f adding first version of thebank-lib 2016-01-25 10:20:40 +01:00
Christian Grothoff
5c58c43609 more work on wire plugins 2016-01-24 16:52:39 +01:00
Christian Grothoff
9aa323ca7b adding skeletons for plugins 2016-01-24 16:44:57 +01:00
Christian Grothoff
b407565351 defining wire plugin API 2016-01-24 16:26:54 +01:00
Christian Grothoff
d63447baf6 adding mint-lib logic to execute /wire/deposits requests 2016-01-21 15:18:55 +01:00
Christian Grothoff
ce199e6e95 adding API code for /deposit/wtid requests 2016-01-21 14:46:17 +01:00
Christian Grothoff
c097b11052 defined tracking API (not implemented) 2016-01-21 13:53:34 +01:00
Christian Grothoff
c12a899f32 finish implementation of DB tracing functions 2016-01-21 12:09:17 +01:00
Christian Grothoff
9ccba0e77f implementing insert function into aggregation table 2016-01-21 11:24:18 +01:00
Christian Grothoff
8f071e2200 adding aggregation_tracking table to postgres plugin 2016-01-21 08:44:45 +01:00
Christian Grothoff
43e04f2ad1 work on #3888 2016-01-20 18:50:19 +01:00
Christian Grothoff
d291788976 spelling out what information mint should sign for TALER_SIGNATURE_MINT_CONFIRM_WIRE 2016-01-20 18:03:44 +01:00
Christian Grothoff
80f6c4240e -fix (C) notices 2016-01-19 14:39:00 +01:00
Christian Grothoff
0bdae896e7 remark on TODO 2016-01-17 18:21:32 +01:00
Christian Grothoff
c1f28638c9 working on #3888 2016-01-17 18:19:09 +01:00
Florian Dold
24bfedf04e Merge branch 'master' of ssh://taler.net/var/git/mint 2015-12-22 11:26:10 +01:00
Christian Grothoff
c20f955ae4 towards /deposit/wtid handling (more skeleton work) 2015-12-09 15:36:34 +01:00
Christian Grothoff
c5204d3a21 add contract structure from Merchant 2015-11-25 13:37:38 +01:00
Florian Dold
57affb94fe Fix wrong comment 2015-11-24 14:42:01 +01:00
Christian Grothoff
5a12cbac29 skeleton for the logic for #3888 (mint-side) 2015-11-11 18:21:29 +01:00
Christian Grothoff
d97cd0c98d define signature formats for #3888 2015-11-11 18:09:19 +01:00
Christian Grothoff
9bbfca568f updating code to match simplified specification (#4039) 2015-11-11 14:44:08 +01:00
Marcello Stanisci
34405ec956 minor change to comments 2015-11-03 16:49:14 +01:00
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