Commit Graph

789 Commits

Author SHA1 Message Date
Christian Grothoff
dd6bad739a
debig 2020-01-16 21:26:53 +01:00
Marcello Stanisci
1e26fc824c
Finishing CMD to insert denomination and deposit into database. 2020-01-16 18:38:04 +01:00
Florian Dold
a358360fb3
remove wallet-specific code 2020-01-16 13:48:35 +01:00
Marcello Stanisci
f13b8e4db6
more comments and CMD state 2020-01-16 12:13:11 +01:00
Marcello Stanisci
abccaf2cd0
insert-deposit CMD, skeleton. 2020-01-16 12:03:21 +01:00
Florian Dold
2e6d284e03
DCE 2020-01-16 08:53:03 +01:00
Christian Grothoff
85c285be79
clean up history building/checking logic a bit 2020-01-15 22:29:09 +01:00
Florian Dold
3b13aaf844
respond with CORS headers for OPTIONS pre-flight request 2020-01-15 15:52:23 +01:00
Christian Grothoff
19d9369ff6
add another interpreter command to check incoming wire transfers 2020-01-15 15:44:24 +01:00
Christian Grothoff
e83015c8a3
fix payto URI conversion 2020-01-15 15:20:55 +01:00
Florian Dold
da5b3ba8ae
round amounts based on config, do unit test for rounding 2020-01-15 15:17:25 +01:00
Christian Grothoff
b37fff0d5b
ftbfs 2020-01-15 14:58:10 +01:00
Florian Dold
0c37bb0f90
use generated error codes, this has error code collisions removed 2020-01-15 14:19:12 +01:00
Christian Grothoff
8a3f0e3f8d
clean up payto credit/debit distincition 2020-01-15 13:22:37 +01:00
Christian Grothoff
4547bfb318
fix fakebank account vs. full payto confusion 2020-01-15 11:48:49 +01:00
Florian Dold
4c488a1d0e
buffer lib has moved to GNUnet 2020-01-15 11:46:05 +01:00
Christian Grothoff
2edee5ac4a
refactor uri parsing logic, prepare for unit test 2020-01-14 15:57:36 +01:00
Christian Grothoff
5f6d867469
add request UID repetition detection to fakebank 2020-01-13 22:27:57 +01:00
Christian Grothoff
7b1909bc99
make fakebank and banklib match specifified new API 2020-01-13 22:01:45 +01:00
Christian Grothoff
2d16cddfd9
die, dead #include, die 2020-01-13 18:19:21 +01:00
Christian Grothoff
4cbb8a29a3
dce 2020-01-13 18:16:43 +01:00
Christian Grothoff
4d6ef1da29
eliminate libtalerwire 2020-01-13 18:16:01 +01:00
Marcello Stanisci
452f42f562
include header file 2020-01-13 11:32:44 +01:00
Christian Grothoff
d842c14f85
refactor to make it easier to share init logic for test configurations 2020-01-13 00:27:48 +01:00
Christian Grothoff
6b0c121fc9
clean up string traits" 2020-01-12 23:13:46 +01:00
Christian Grothoff
061eaac70f
split of check_empty logic 2020-01-12 19:45:45 +01:00
Christian Grothoff
c7610bf617
fix fakebank API 2020-01-12 18:09:41 +01:00
Christian Grothoff
c6ba84462d
dead 2020-01-12 17:58:17 +01:00
Christian Grothoff
9b586cd5f0
fix ftbfs 2020-01-12 01:03:08 +01:00
Christian Grothoff
cbcc3727de
add separate transfer and admin/add/incoming commands 2020-01-12 00:39:27 +01:00
Christian Grothoff
9443c10d7f
major refactoring, eliminating wire-plugins and moving towards new bank API. main code compiles, testcases known to fail, code sure not to fully work yet 2020-01-11 15:20:17 +01:00
Christian Grothoff
59b12d2d80
fix #6015 2020-01-09 12:19:09 +01:00
Christian Grothoff
e0cf954ad9
make exchange test suite work with current bank 2019-12-23 11:47:16 +01:00
Christian Grothoff
8af89ff197
misc release preparations: mostly fixing 'make dist' target 2019-12-20 20:10:46 +01:00
Christian Grothoff
36e15a501f
purge history-range API, no longer needed (#5993) 2019-12-15 18:16:33 +01:00
Christian Grothoff
75240345d0
writing generic tos/pp handler logic 2019-12-10 21:20:38 +01:00
Christian Grothoff
e153215f7e
fix j2 2019-12-07 14:18:02 +01:00
Marcello Stanisci
97afbf1ea5
fix previous 2019-11-30 00:25:45 +01:00
Marcello Stanisci
204f296a33
new bank error code 2019-11-30 00:24:51 +01:00
Christian Grothoff
2731e0aa4d
another ec' 2019-11-29 22:44:35 +01:00
Christian Grothoff
50f867de7c
another EC 2019-11-29 22:12:35 +01:00
Christian Grothoff
3371615b31
style fixes 2019-11-29 21:24:29 +01:00
Christian Grothoff
636488c279
merge error codes 2019-11-29 10:52:45 +01:00
Christian Grothoff
970e3fd4cb
error codes 2019-11-29 10:52:09 +01:00
Christian Grothoff
70a210ac4d
add another helper 2019-11-25 01:42:55 +01:00
Christian Grothoff
b7a5af7fd4
another sync code 2019-11-24 17:20:13 +01:00
Christian Grothoff
287a8dec9b
add another convenience function to libtalermhd 2019-11-24 17:15:01 +01:00
Christian Grothoff
7aae6c9045
use CONFLICT for double spending to distinguish properly from FORBIDDEN for bad signatures 2019-11-23 22:21:47 +01:00
Christian Grothoff
51e54bbaa1
use FORBIDDEN, never UNAUTHORIZED 2019-11-23 21:53:14 +01:00
Christian Grothoff
c693ec4a3e
fix warnings 2019-11-23 17:48:45 +01:00
Christian Grothoff
0c85d195f8
add common setup logic to libtalermhd 2019-11-23 11:48:35 +01:00
Christian Grothoff
fef8a57fae
add parsing API to new libtalermhd 2019-11-23 11:02:34 +01:00
Christian Grothoff
a2a5f42915
start with libtalermhd 2019-11-23 10:48:05 +01:00
Christian Grothoff
161b801fd6
sync error codes 2019-11-17 17:04:23 +01:00
Marcello Stanisci
44bccda22b
new error codes (bank) 2019-11-16 02:36:53 +01:00
Christian Grothoff
636b167655
sync error codes 2019-11-15 09:39:13 +01:00
Christian Grothoff
c0a87f1087
need more error codes 2019-11-02 13:23:16 +01:00
Christian Grothoff
375a47d502
improve status codes returned in case of denomination key troubles 2019-11-01 15:36:14 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules 2019-10-31 12:59:50 +01:00
Christian Grothoff
2696688aa3
fix compiler warnings 2019-10-29 20:57:18 +01:00
Christian Grothoff
5ddbdfe91b
do NOT drop deposit confirmations on taler-auditor restart (-r) 2019-10-29 11:32:25 +01:00
Christian Grothoff
47e4dc13ed
add api to allow clients to force auditor notification of dc 2019-10-26 20:51:21 +02:00
Christian Grothoff
8d11ac3388
alphabetical, please 2019-10-23 15:28:12 +02:00
Florian Dold
d6ca052d27
implement buffer API and use it for URL construction 2019-10-17 19:20:15 +05:30
Marcello Stanisci
4a8fcc27fd
New error code,
for payments sent to the wrong instance.
2019-10-15 14:50:34 +02:00
Christian Grothoff
bde4c742de
add logic to generate fresh database 2019-10-08 18:11:22 +02:00
Christian Grothoff
165929a877
consider reserve closures as well when auditing outgoing wire transfers 2019-10-06 16:54:09 +02:00
Florian Dold
c944a5703a
add helper function to detect http/https on an MHD connection 2019-10-05 22:32:31 +05:30
Christian Grothoff
52bbfe926b
add uncrustify pre-commit hook 2019-10-05 15:12:47 +02:00
Marcello Stanisci
303e92ca40
Less granularity for bank error codes (#5787). 2019-09-29 14:17:25 +02:00
Christian Grothoff
e3564de010
need status code for missing configuration option 2019-09-26 14:24:33 +02:00
Christian Grothoff
c8bdf5597a
one EC for instance unknown 2019-09-26 14:17:26 +02:00
Christian Grothoff
ebd2e7d763
fix leaks and unnecessary fetch of RSA signature on refresh/reveal 2019-09-15 12:39:15 +02:00
Christian Grothoff
8843d60e68
fix memory leak and style issues 2019-09-15 10:54:10 +02:00
Christian Grothoff
fc19601efc
fix memory leaks in test case 2019-09-15 10:27:39 +02:00
Marcello Stanisci
ef98a68ffa
fix bank-lib test. 2019-09-11 00:46:30 +02:00
Marcello Stanisci
447d1d78ad
Importing the "has_in_name" logic from MHD. 2019-09-09 23:47:00 +02:00
Marcello Stanisci
cb6aab590b
Provide method to launch Fakebank withOUT running tests. 2019-09-09 23:46:59 +02:00
Marcello Stanisci
b0836a8c0c
Removing date-range-based logic from wire-plugin 2019-09-05 11:01:15 +02:00
Marcello Stanisci
f4ffc4a27b
note 2019-09-04 12:39:10 +02:00
Christian Grothoff
d2b85341c4
auditor needs serial IDs in coin history 2019-09-03 03:45:18 +02:00
Christian Grothoff
67aeb85a13
misc. auditor bugfixes 2019-09-02 08:01:55 +02:00
Florian Dold
000d25c719
error code 2019-08-30 11:45:23 +02:00
Florian Dold
eb55997084
re-format code 2019-08-25 16:18:24 +02:00
Christian Grothoff
71ae493c7a
refactor wire auditor to properly handle multiple accounts 2019-08-24 22:49:35 +02:00
Christian Grothoff
4bf425c902
remove currency field from databases 2019-08-17 21:35:21 +02:00
Christian Grothoff
8f7388042c
fix indent 2019-08-01 00:24:11 +02:00
Christian Grothoff
ccfe99a82d
more denom sig checking in auditor 2019-07-27 20:43:52 +02:00
Christian Grothoff
d1c0c0f197
update auditordb to include payback losses 2019-07-25 19:26:25 +02:00
Christian Grothoff
03af37ef23
add ppc progress points for payback ops 2019-07-24 14:13:25 +02:00
Christian Grothoff
a654ceafba
make sure reserves are not gc'ed before legal expiration 2019-07-24 12:19:36 +02:00
Christian Grothoff
9e3f4bdd79
getting revocation/payback test with refreshed coins to pass 2019-07-24 11:57:03 +02:00
Christian Grothoff
5844a20f15
implement zombie check 2019-07-24 00:13:53 +02:00
Christian Grothoff
e8a892c29a
modify /payback API and test usage of that API to pass/return additional information required when dealing with payback of refreshed coins 2019-07-23 21:56:21 +02:00
Christian Grothoff
7d43ad56d3
implement postges_get_old_coin_by_h_blind for #5777 2019-07-23 20:27:48 +02:00
Christian Grothoff
a83aa1f70e
include new payback-refresh possibilities in coin history generation 2019-07-22 13:28:48 +02:00
Christian Grothoff
721c1ee73e
extending postgres plugin with functions required to store payback data on refreshed coins for #5777 2019-07-21 20:15:11 +02:00
Christian Grothoff
ad34305942
expose blinding key in refresh-reveal API in preparation for #5777 2019-07-21 12:20:45 +02:00
Christian Grothoff
c94309ee6e
rename fresh coin to have TALER_TESTING_-prefix 2019-07-19 11:20:18 +02:00
Christian Grothoff
4785bcb4bb
towards #5777, adding todos/notes 2019-07-15 22:01:06 +02:00