Commit Graph

5339 Commits

Author SHA1 Message Date
Christian Grothoff
50f4f2cbbb
-fix log level 2022-08-01 11:13:30 +02:00
Christian Grothoff
6006b63c66
-set RD_ONLY flag 2022-08-01 11:02:25 +02:00
Christian Grothoff
31bfe5234e
-update auditor schema in preparation to fix #4960 2022-07-31 21:54:29 +02:00
Christian Grothoff
af6a9a9546
-implement DB functions for taler-exchange-drain 2022-07-30 23:13:15 +02:00
Christian Grothoff
150917694a
finish taler-exchange-drain implementation 2022-07-30 22:54:21 +02:00
Christian Grothoff
544fbd4fe9
-doxygen 2022-07-30 11:04:45 +02:00
Christian Grothoff
7d4ce3d022
skeleton for taler-exchange-drain command (#4960) 2022-07-30 10:53:36 +02:00
Christian Grothoff
2b160c1569
-fix typos 2022-07-30 10:36:19 +02:00
Christian Grothoff
033a5dc93b
implement taler-auditor-sync support for profit_drains table (#4960) 2022-07-30 10:29:24 +02:00
Christian Grothoff
75888adff2
setup drain_profits table (#4960) 2022-07-30 10:12:48 +02:00
Christian Grothoff
ba0ab58cdd
add /management/drain handler 2022-07-29 11:00:59 +02:00
Christian Grothoff
2056bc82f9
expand taler-exchange-offline and libtalerexchange with management-drain-profits implementation (#4960) 2022-07-29 09:57:10 +02:00
Christian Grothoff
c1b43de5b4
add offline signature to drain profits (#4960) 2022-07-29 09:21:38 +02:00
Christian Grothoff
dc26b2db4c
-ensure single transaction for exchange-0001.sql / shard-0001.sql 2022-07-28 22:27:23 +02:00
Christian Grothoff
0f5d6c9653
add search path for auditor restart 2022-07-28 22:00:24 +02:00
Christian Grothoff
4d4955e225
d_ms to d_us 2022-07-27 15:20:16 +02:00
Christian Grothoff
d2ec1bf3cf
move auditor database also into schema 2022-07-25 22:49:59 +02:00
Christian Grothoff
6d2e6d8061
-move everything into schema 2022-07-25 20:18:08 +02:00
Christian Grothoff
de83b055d5
-simplify table drop logic 2022-07-25 19:53:31 +02:00
Christian Grothoff
40858f0952
-unversion stored procedures, always load latest ones 2022-07-24 13:30:33 +02:00
Christian Grothoff
977ddd7bb9
-adapt to latest libgnunetpq 2022-07-24 11:32:52 +02:00
Christian Grothoff
e4f4a973f0
-log more on faiure 2022-07-21 12:32:34 +02:00
Christian Grothoff
acb9cfec58
-remove FIXME, status code is fine 2022-07-11 18:36:34 +02:00
Christian Grothoff
6d6ecd9271
-new ECs 2022-07-11 12:47:44 +02:00
Christian Grothoff
4e5193a21f
-fix full refund deposit fee computation in aggregator 2022-07-09 12:14:20 +02:00
Christian Grothoff
45f43fcde7
-remove resolved FIXMEs 2022-07-09 11:28:38 +02:00
Christian Grothoff
1628f0255c
-note fixme 2022-07-08 15:34:09 +02:00
Thien-Thi Nguyen
8c2ee80ae8
rename param
The new name now matches the documentation and the header file.

* src/util/tv_age_restriction.c (age_mask_to_string):
  Rename param from ‘m’ to ‘mask’; update all references.
2022-07-08 00:08:05 -04:00
Thien-Thi Nguyen
15728dbd3e
rename param
The new name now matches the documentation and the header file.

* src/extensions/extension_age_restriction.c (TALER_age_mask_to_string):
  Rename param ‘m’ to ‘mask’; update all references.
2022-07-08 00:07:13 -04:00
38d7ca0871
-fixed doxygen errors 2022-07-07 11:59:06 +02:00
Christian Grothoff
282bbb0b62
-fix typos 2022-07-06 23:08:53 +02:00
Christian Grothoff
8220974328
-fix typos 2022-07-06 22:53:21 +02:00
Christian Grothoff
0ad84355d5
fix auditor refund fee calculations 2022-07-06 18:36:51 +02:00
Christian Grothoff
36a8ecd4c4
-implemented bounded history for reserve status requests 2022-07-05 14:25:30 +02:00
Christian Grothoff
bf9b7e168b
it is a POST, and information could change anytime, so caching isn't really a good idea 2022-07-05 13:37:13 +02:00
Christian Grothoff
43662fbb6a
-add safety checks against cmd type confusion 2022-07-05 13:19:09 +02:00
Christian Grothoff
822090e81e
-link to bug 2022-07-05 13:15:29 +02:00
Christian Grothoff
17fde9045d
-link to bug 2022-07-05 13:12:46 +02:00
Christian Grothoff
def8116dd3
-link to bug 2022-07-05 13:09:20 +02:00
Christian Grothoff
644f6014ae
-link to bug 2022-07-05 13:06:31 +02:00
Christian Grothoff
5659ba8675
-simply assert 2022-07-05 13:03:45 +02:00
Christian Grothoff
a01c1acc3c
-actually, incrementing on every error seems fine 2022-07-05 13:01:17 +02:00
Christian Grothoff
7201ce3166
-handle withdraw CS nonce reuse more nicely 2022-07-05 12:56:55 +02:00
Christian Grothoff
82cff16eea
handle idempotency/expiration check in purse_merge 2022-07-05 12:49:03 +02:00
Christian Grothoff
ad612623be
-run read-only transactions in proper read-only scope (at least some of them) 2022-07-05 12:13:58 +02:00
Christian Grothoff
3ff92b9bbc
-deduplicate purse creation confirmation logic 2022-07-05 12:07:27 +02:00
Christian Grothoff
9e5dc2a542
-remove dead argument 2022-07-05 11:50:20 +02:00
Christian Grothoff
75dbf20ced
-annotate bugs 2022-07-05 11:46:02 +02:00
Christian Grothoff
3453126eb7
-resolve minor FIXMEs 2022-07-05 11:17:47 +02:00
Christian Grothoff
615b4621e3
-implement DB logic for forcing reserve close 2022-07-04 23:40:49 +02:00
Christian Grothoff
e68206b1f9
-deduplicate logic 2022-07-04 23:25:51 +02:00
Thien-Thi Nguyen
dc17320a88
add libtalerexchange.la to _LDADD
* src/benchmark/Makefile.am (taler_bank_benchmark_LDADD): ...here.
2022-07-02 19:06:16 -04:00
Christian Grothoff
ff2eb4f3dd
-fix batch deposit uninit issue 2022-07-02 22:51:45 +02:00
Christian Grothoff
74cf7654e5
-fix batch deposit error handling rvalues 2022-07-02 21:31:36 +02:00
Christian Grothoff
cebf4f11b9
-add test for batch deposits 2022-07-01 15:42:48 +02:00
Christian Grothoff
182c618579
-implement batch deposit testing cmd 2022-07-01 12:05:41 +02:00
Christian Grothoff
9e3fb2302d
-gana merge 2022-07-01 07:22:39 +02:00
Christian Grothoff
085e40bc56
-exchange_api_batch_deposit.c compiles 2022-07-01 07:08:13 +02:00
Christian Grothoff
21551bb4c3
-also add public key for auditor for revoke-basedb.conf 2022-06-30 16:06:50 +02:00
Sebastian
636691e109
fix: /wire was replying double 'Access-Control-Allow-Origin' header and browsers complain 2022-06-30 09:17:46 -03:00
e0e69fd72e
-new error codes for purse deposit failures 2022-06-30 11:14:33 +02:00
aba04fe6be
-added comment with pointer to issue 7267 2022-06-30 10:34:18 +02:00
Christian Grothoff
2805018da2
-reduce logging 2022-06-29 20:34:22 +02:00
Christian Grothoff
7fe8d89d75
-update deposit API in preparation for batch deposits 2022-06-29 19:30:12 +02:00
Christian Grothoff
46f4a0f9f2
-batch deposit compiles 2022-06-29 15:16:26 +02:00
Christian Grothoff
bdc4482ac6
first skeleton for batch deposits 2022-06-29 14:39:45 +02:00
Christian Grothoff
dc691eb596
-rename, as logic is purse deposit specific 2022-06-29 14:08:19 +02:00
Christian Grothoff
9902e88b2d
-fix leaks 2022-06-29 14:06:37 +02:00
Christian Grothoff
60a30b1c75
-deduplicate purse deposit logic 2022-06-29 14:01:02 +02:00
9b312aa0f8
version bump due to new /keys response 2022-06-29 13:34:26 +02:00
Christian Grothoff
d382adb2e3
-actually fix compatibility break from Oec 2022-06-29 11:24:14 +02:00
Christian Grothoff
70d9d0b94e
-trying to fix demo 2022-06-29 09:11:41 +02:00
Christian Grothoff
b4c330730d
-trying to fix demo 2022-06-29 09:08:14 +02:00
Christian Grothoff
3b091cd5de
-fix /keys initialization DB logic 2022-06-29 08:31:00 +02:00
Christian Grothoff
09479c5595
-style fix 2022-06-29 08:19:48 +02:00
Christian Grothoff
ded7f9ca18
-fix issue with missing signature over denomination and age restriction hash in purse deposit 2022-06-28 20:25:45 +02:00
Christian Grothoff
379c580efc
-comment style 2022-06-28 18:01:19 +02:00
Christian Grothoff
cd583ec030
-add FIXME 2022-06-28 17:21:10 +02:00
9d75b0745a
-fix typo 2022-06-28 12:29:42 +02:00
Sebastian
6e8be2a0b4
do not depend on umask bits 2022-06-27 16:59:32 -03:00
206c7ec705
-fixes in extension event handler 2022-06-27 18:06:44 +02:00
cddfaf007f
age commitment: json parser helper and support for purses added 2022-06-27 17:38:11 +02:00
87025cfd17
age restriction support in exchange_api_purse_create_with_deposit added 2022-06-27 14:11:46 +02:00
d2537de68c
added documenation to the age-restriction related structures 2022-06-27 11:56:18 +02:00
5633ad5a26
better api for parsing a denomination group 2022-06-27 10:36:13 +02:00
a6544069f9
[new /keys response] added proper hash verification
- Running XOR of all SHA-512 hashes of each denomination's public key is
  compared against the "hash" value in the JSON blob.

- Fixed a bug during creation of the running XOR.
2022-06-27 10:10:51 +02:00
a55fc45126
-fix valgrind complaints 2022-06-26 17:40:10 +02:00
Christian Grothoff
372a103a80
-more doxygen 2022-06-26 17:09:33 +02:00
Christian Grothoff
2443ee672d
-more typos 2022-06-26 17:09:33 +02:00
Christian Grothoff
7b62174d00
-fix typos 2022-06-26 17:09:30 +02:00
Christian Grothoff
2508d4bb5c
-add missing comments 2022-06-26 17:08:17 +02:00
Christian Grothoff
fd9fc9f0cd
-fix misc doxygen warnings, code clean up 2022-06-26 17:08:17 +02:00
Christian Grothoff
646c410ace
-add auditor_priv_file 2022-06-26 17:08:16 +02:00
Christian Grothoff
5575194afd
-fix path 2022-06-26 17:08:16 +02:00
Christian Grothoff
ea21572b54
-fix path 2022-06-26 17:08:16 +02:00
Christian Grothoff
ce515a1f75
-make econtract optional as per design 2022-06-26 17:08:16 +02:00
31f74059e0
[new /keys response] create and parse denomination implemented
- /keys response now contains signed denomintations
	- hashes of denominations now XOR'ed per group into a single hash-code
	- final hash-code is now XOR of all group hash codes
	- final hash-code is signed

- lib/exchange_api_handle support for new "denominations" implemented
	- parses array of denomation groups
	- creates running xor of hashes
	- verifies signature at the end
	- previous diff/merge logic for keys remains intact.
2022-06-26 16:59:27 +02:00
b39febe36f
-fix/rename this -> new 2022-06-26 15:44:09 +02:00
140a54ed08
-cleanup comments 2022-06-24 11:49:28 +02:00
c165ef31fe
first steps towards new /keys response: grouped denominations added 2022-06-23 18:19:45 +02:00