Commit Graph

4491 Commits

Author SHA1 Message Date
Christian Grothoff
d1992e5983
new configuration option: wallet balance threshold 2021-10-16 19:24:08 +02:00
Christian Grothoff
95c71daf5e
handle new 202 accepted status code on withdraw in client logic 2021-10-16 18:42:39 +02:00
Christian Grothoff
681449a6e0
-return new data from /deposit client API 2021-10-16 18:36:34 +02:00
Christian Grothoff
a48db85013
add KYC logic for /deposit handling (DB part incomplete) 2021-10-15 23:34:23 +02:00
Christian Grothoff
ca12adced4
-basic logic for withdraw KYC checks 2021-10-14 21:06:47 +02:00
Christian Grothoff
7d62fa065b
start with KYC support in DB 2021-10-14 14:45:10 +02:00
Christian Grothoff
1b119edd62
implement KYC options 2021-10-14 11:47:45 +02:00
Christian Grothoff
acbadd5c6e
-modify C API to future-proof it for returning more details as required for KYC implementation 2021-10-13 18:52:59 +02:00
Christian Grothoff
66573865e1
generate 502 on secmod unavailable instead of 200 with bad public key; more logging 2021-10-11 14:32:32 +02:00
ms
2ccaad1c50
-typos 2021-10-11 09:51:24 +02:00
Christian Grothoff
8951abfc50
-finish implemnetation of /kyc-check client library 2021-10-10 17:18:24 +02:00
Christian Grothoff
df681b0d95
-draft API for new /kyc-check endpoint 2021-10-10 15:37:05 +02:00
Christian Grothoff
d8922f82e5
-introduce 'struct TALER_WireSalt' 2021-10-09 16:11:04 +02:00
Christian Grothoff
5b1d79c944
es-cbdc version from Stefan 2021-10-05 22:14:27 +02:00
Christian Grothoff
4e308e2607
fix double version printing 2021-09-28 19:59:14 +02:00
Christian Grothoff
6887d7d499
define missing exit_skip in test 2021-09-28 12:08:33 +02:00
Christian Grothoff
889bd801bc
-vanilla DB has no deposits, hence no lag 2021-09-27 11:36:09 +02:00
Christian Grothoff
26c0dc7841
-fix output formatting 2021-09-27 11:32:54 +02:00
Christian Grothoff
4cff3c1a5c
-fix unbound varibale 2021-09-27 11:14:29 +02:00
Christian Grothoff
01c7f33c7f
-indent 2021-09-27 10:52:39 +02:00
Christian Grothoff
b38f251beb
-DCE, nicer return values 2021-09-17 11:35:10 +02:00
Christian Grothoff
b732d832b6
sort /terms and /privacy endpoints by server-side mime type preferences instead of returning in random order; do configure paths by default 2021-09-07 20:41:32 +02:00
Christian Grothoff
8ac8eee350
pow needs libm 2021-09-06 17:02:24 +02:00
Christian Grothoff
ed6ab2f91a
-minor fixes 2021-09-06 12:01:15 +02:00
Christian Grothoff
9086ed15c1
-misc bugfixes 2021-09-06 01:26:46 +02:00
Christian Grothoff
87f5d8211e
-misc bugfixes 2021-09-05 23:09:34 +02:00
Christian Grothoff
303e47e24b
add taler-config C version, useful once we depend on the next GNUnet release to avoid the LD_PRELOAD hack 2021-09-05 18:33:29 +02:00
Christian Grothoff
317a70aeb3
taler-exchange-transfer: ensure batches stay in their range 2021-09-05 16:44:06 +02:00
Christian Grothoff
f9a69b423b
fix auditor test DB generation logic and re-generate databases 2021-09-05 16:00:42 +02:00
Christian Grothoff
ae8d481e1c
implement taler-exchange-transfer DB sharding logic 2021-09-05 15:25:57 +02:00
Christian Grothoff
adc6c53b5c
doxygen and spelling fixes 2021-09-04 13:00:20 +02:00
Christian Grothoff
c972925933
fix aggregator benchmark generation logic 2021-09-04 11:06:37 +02:00
Christian Grothoff
1c1d28d3f5
first draft for an aggregator benchmark, plus fixing inclusive/exclusive sharding range issues 2021-09-03 21:30:14 +02:00
Christian Grothoff
5149af9314
preliminary work on supporting sharding/parallel aggregation (undertested, but tests pass again) 2021-09-03 19:08:02 +02:00
Christian Grothoff
6e1877b142
-implement long-standing aggregation SQL query simplification 2021-09-03 09:55:16 +02:00
Christian Grothoff
bed08b39d0
-code cleanup 2021-09-03 09:51:19 +02:00
Christian Grothoff
fab914044a
-nicer return value 2021-09-03 09:45:32 +02:00
Christian Grothoff
6ab130d994
-wip 2021-09-03 09:44:50 +02:00
Christian Grothoff
e1dae71ad2
try to fix #7007 key update issue discovered by Sebastian 2021-09-02 15:19:24 +02:00
Christian Grothoff
f36240e15c
-fix type 2021-09-02 15:08:14 +02:00
Christian Grothoff
5f95f26a25
suspend if /keys is not ready 2021-09-01 18:13:39 +02:00
Christian Grothoff
13deb5c4d2
fix #7007 crash 2021-09-01 16:09:39 +02:00
Christian Grothoff
bf2ce9853e
add long-time overdue convenience function 2021-09-01 11:11:41 +02:00
Christian Grothoff
896bb8f074
typo 2021-08-31 22:56:14 +02:00
Christian Grothoff
6c6787b49a
add assertions to help pin down #7007: 2021-08-31 21:51:58 +02:00
Christian Grothoff
0013ce41e7
hyperaggregation schema proposal 2021-08-31 17:41:46 +02:00
Christian Grothoff
5026518bb5
-fix another leak 2021-08-27 16:17:45 +02:00
Christian Grothoff
5017dacbda
-fix memory leak 2021-08-27 14:36:04 +02:00
Christian Grothoff
18a68ab789
ensure statements are prepared before keys subsystem initialization 2021-08-25 11:45:13 +02:00
Christian Grothoff
e50a5f4d2b
-update GANA 2021-08-25 07:58:07 +02:00
Christian Grothoff
888895cb8c
fix #6956 in exchange 2021-08-23 23:35:24 +02:00
Christian Grothoff
efbe04418e
-fix pthread leftover 2021-08-23 13:10:56 +02:00
Christian Grothoff
380db76552
-fix pthread leftover 2021-08-23 13:10:43 +02:00
Christian Grothoff
bbce483ba0
-handle NULL nicely 2021-08-23 08:31:01 +02:00
Christian Grothoff
8590e6b309
-check DE IBAN 2021-08-23 08:25:56 +02:00
Christian Grothoff
01e06eb715
-remove sessions also from auditor 2021-08-23 08:24:59 +02:00
Christian Grothoff
82a5038acf
-doxygen fixes 2021-08-23 00:06:36 +02:00
Christian Grothoff
c559b1c935
complete implementation of long-polling for reserve status; remove support for multi-threaded exchange httpd 2021-08-23 00:00:32 +02:00
Christian Grothoff
37f049b3bc
-fix fakebank shutdown sequence 2021-08-22 18:22:51 +02:00
Christian Grothoff
a888981952
-fix fakebank shutdown sequence 2021-08-22 18:19:43 +02:00
Christian Grothoff
35133c1e67
-fix segv 2021-08-22 17:41:30 +02:00
Christian Grothoff
1cc87bf9fe
-add notifications for inbound reserve transactions 2021-08-22 12:25:48 +02:00
Christian Grothoff
af6995c9aa
-doxygen fix 2021-08-22 11:53:42 +02:00
Christian Grothoff
afa75e093a
-init timeout 2021-08-22 11:52:35 +02:00
Christian Grothoff
7c0680706a
-forgot to put rp into the DLL" 2021-08-22 11:49:49 +02:00
Christian Grothoff
10f9272e45
-implement long polling support on reserve status (but not yet in C client library) 2021-08-22 00:12:18 +02:00
Christian Grothoff
9ad3469f07
-doxygen fixes 2021-08-21 14:04:35 +02:00
Christian Grothoff
f93a0592b2
-change handler signatures to prepare for long polling support 2021-08-21 14:00:29 +02:00
Christian Grothoff
a51f39217e
fix .so search in taler-config 2021-08-19 20:41:25 +02:00
Christian Grothoff
a11e3cb193
-indent fix 2021-08-19 16:32:57 +02:00
Christian Grothoff
aa68d1d04d
-minor cleanup 2021-08-19 16:30:32 +02:00
Christian Grothoff
d8c9f2a037
-fix conditional 2021-08-18 11:11:37 +02:00
Christian Grothoff
37ef7e19c4
-swap WARNING/ERROR to fix #6991 2021-08-18 10:25:42 +02:00
Christian Grothoff
f98c463be2
export TALER_iban_validate() API 2021-08-14 13:54:12 +02:00
Christian Grothoff
28e55409dd
-doxygen fix 2021-08-13 22:45:55 +02:00
Christian Grothoff
41aa1ed41d
-add support for event notifications to exchangedb plugin 2021-08-13 22:35:13 +02:00
Christian Grothoff
756998a6d5
implement long-polling in fakebank -- missing doxygen comment 2021-08-12 19:12:21 +02:00
Christian Grothoff
777dd74b16
implement long-polling in fakebank 2021-08-12 19:07:28 +02:00
Christian Grothoff
0dadc24ada
-taler-bank-benchmark exists 2021-08-12 13:54:42 +02:00
Christian Grothoff
66f16ab5fb
-close connections now supported 2021-08-12 13:54:20 +02:00
Christian Grothoff
f174781b57
support long_poll_ms argument in bank API (#6987) 2021-08-12 13:13:42 +02:00
Christian Grothoff
10d8342f90
return more detailed issue report in /wire, fixes #6980 2021-08-11 21:37:39 +02:00
Sebastian
617da7485c
check iban lower bound 2021-08-09 13:36:26 -03:00
Christian Grothoff
03633cb29a
-fix test 2021-08-08 20:18:53 +02:00
Christian Grothoff
de09f05d49
-fix typo 2021-08-08 17:01:52 +02:00
Christian Grothoff
b58605a79d
introduce TALER_OS_init() to safely handle static linkage 2021-08-08 16:45:32 +02:00
Christian Grothoff
7fd4f1d846
-sepa is ancient, iban is correct 2021-08-08 00:01:07 +02:00
Christian Grothoff
0a0c167567
-require receiver-name in iban payto URIs 2021-08-08 00:01:07 +02:00
Christian Grothoff
c7aac57649
-fix #6986 2021-08-07 19:31:49 +02:00
Christian Grothoff
1eba4f5e62
reduce retries and timeout 2021-08-07 19:02:54 +02:00
Christian Grothoff
8a60e6b62f
-fix fakebank/tewgc logic and add test case 2021-08-07 17:50:53 +02:00
Christian Grothoff
26e061c212
-fix disting 2021-08-07 16:44:55 +02:00
Christian Grothoff
7d809d1f4c
-even better 2021-08-07 16:33:33 +02:00
Christian Grothoff
3cdf7dfaaa
-use new GNUNET_TIME_relative_is_zero API 2021-08-07 16:31:33 +02:00
Christian Grothoff
d1b57be304
-fix doxygen 2021-08-06 19:11:03 +02:00
Christian Grothoff
f1a0ba628e
-handle 204 better 2021-08-06 14:47:56 +02:00
Christian Grothoff
e5a14a8b25
allow 204 response 2021-08-06 13:14:36 +02:00
Christian Grothoff
caf6807856
-fix assertion failure caused by testcase 2021-08-06 10:20:58 +02:00
Christian Grothoff
c71c40d4d6
-skeleton logic for #6980 2021-08-06 09:28:34 +02:00
Christian Grothoff
de6c30b0e0
-rename for clarity 2021-08-06 09:19:36 +02:00
Christian Grothoff
40b828ba23
-strncasecmp for the win 2021-08-05 21:23:29 +02:00
Christian Grothoff
bd7e44720b
-proper fix for endless loop on IPC permission trouble 2021-08-05 20:48:34 +02:00
Christian Grothoff
453d984569
-try to fix Florian's FIXME/endless loop, alas without test as Florian did not provide enough details for that 2021-08-05 11:07:20 +02:00
adf854cd4a
load config file from correct location 2021-08-04 21:49:21 +02:00
b83ec3a794
fixme 2021-08-04 21:00:27 +02:00
4baecd4856
call chmod on path, not on whole sock addr 2021-08-04 20:54:45 +02:00
07bcff123f
call chmod on client socket path, not client socket directory 2021-08-04 20:01:28 +02:00
Christian Grothoff
99cbc5fbe2
-improve logging 2021-08-04 19:23:49 +02:00
Christian Grothoff
8a8cb1d2f9
-make gettext compatible 2021-08-04 18:34:25 +02:00
Christian Grothoff
6d099b44fb
fix #6976 2021-08-04 17:13:53 +02:00
Christian Grothoff
ab5f4e7e1d
-, 2021-08-04 14:06:49 +02:00
Christian Grothoff
15f07a3e06
-document section name 2021-08-04 14:05:13 +02:00
Christian Grothoff
383fd75230
-migrate benchmarks to new configuration structure 2021-08-04 13:46:19 +02:00
Christian Grothoff
36164914e6
-fix doxygen 2021-08-04 08:39:19 +02:00
Christian Grothoff
ba3f70390a
restructure configuration, move bank account credentials from exchange-account-XXX to exchange-accountcredentials-XXX 2021-08-03 21:58:36 +02:00
Christian Grothoff
06676e72cb
allow ';' in URLs, needed for data URLs 2021-08-03 21:50:54 +02:00
Christian Grothoff
5fc2e72a2a
fix #6969 2021-08-03 14:41:42 +02:00
Christian Grothoff
705afeb9cc
-even nicer outputs 2021-08-03 14:36:14 +02:00
Christian Grothoff
65b113e06b
-fix shutdown 2021-08-03 14:31:31 +02:00
Christian Grothoff
700562560e
-remove confusing logs 2021-08-03 14:28:18 +02:00
Christian Grothoff
9da05a1901
improve error reporting (#6969) 2021-08-03 14:08:45 +02:00
Christian Grothoff
0ce92c8402
-rename 2021-08-03 12:08:28 +02:00
Christian Grothoff
a26a29065c
rename: taler-wire-gateway-client to taler-exchange-wire-gateway-client 2021-08-03 12:03:48 +02:00
Christian Grothoff
61450fad8d
-add i18n object syntax check 2021-08-02 22:16:01 +02:00
Christian Grothoff
3a6ae694ec
-work on #6948 2021-08-02 19:48:37 +02:00
Christian Grothoff
c4ae15c1db
-strengthen payto validation logic 2021-08-02 19:38:23 +02:00
Christian Grothoff
2e6b8e10de
-doxygen fix 2021-08-02 16:04:11 +02:00
Christian Grothoff
d8d1453789
-misc doxygen fixes 2021-08-01 23:06:16 +02:00
Christian Grothoff
18541a284b
-allow 0 for refund deadline 2021-08-01 19:18:35 +02:00
Christian Grothoff
85735a5e6b
-have fakebank return correct time 2021-08-01 16:52:10 +02:00
Christian Grothoff
d45774ccec
introduce TALER_JSON_pack_ec 2021-08-01 15:36:38 +02:00
Christian Grothoff
f1f0bf637b
build system: also obtain event type registry from GANA 2021-08-01 13:56:48 +02:00
Christian Grothoff
243d39920c
-allow NULL in amounts 2021-07-31 23:07:03 +02:00
Christian Grothoff
33a28efef7
-more json_pack fixes 2021-07-31 21:48:36 +02:00
Christian Grothoff
fde9dc80f6
-more json_pack cleaning 2021-07-31 21:40:48 +02:00
Christian Grothoff
1d54400a02
-more eliminations of json_pack 2021-07-31 20:27:16 +02:00
Christian Grothoff
723a3b742e
-remove more json_pack calls 2021-07-31 19:53:50 +02:00
Christian Grothoff
7a09886737
-eliminate more format-string packs 2021-07-31 08:26:32 +02:00
Christian Grothoff
85a3a24ca7
-eliminate more format-string packs 2021-07-31 08:18:38 +02:00
Christian Grothoff
7d323303b6
-eliminate more format-string packs 2021-07-31 08:16:59 +02:00
Christian Grothoff
e92588a0ef
-update .gitignore 2021-07-30 20:53:58 +02:00
Christian Grothoff
db54ed215d
-fix another master private key 2021-07-30 20:50:38 +02:00
Christian Grothoff
e36d3badd1
-add correct master priv in new location 2021-07-30 20:41:03 +02:00
5bc3217b78
gitignore 2021-07-30 18:38:48 +02:00
bfebdae838
fix secmod helper config, wait for client directory 2021-07-30 18:37:54 +02:00
2bdc2f61c5
put generated secmod keys in separate dir 2021-07-30 18:12:36 +02:00
Christian Grothoff
e7a9a2911c
-add logic to purge SECM_TOFU_FILE when purging secmod KEY_DIRS 2021-07-30 18:02:29 +02:00
Christian Grothoff
12e7f40564
persist master.priv in git 2021-07-30 17:54:55 +02:00
Christian Grothoff
af9830453e
REVOCATION_DIR is long obsolete, KEYDIR was renamed to KEY_DIR and is in another section 2021-07-30 17:31:18 +02:00
Christian Grothoff
cbb905a9aa
-eliminate more json_pack format strings 2021-07-30 17:24:18 +02:00
6113307366
debian: socket location 2021-07-30 15:54:43 +02:00
Christian Grothoff
c0d4a35a51
fix #6967 2021-07-30 14:20:39 +02:00
Christian Grothoff
d821db366a
-fix misc enum confusions and other compiler warnings 2021-07-30 13:32:03 +02:00
Christian Grothoff
0ef7c0a0b7
fix #6960 2021-07-29 23:56:46 +02:00
Christian Grothoff
1b419adab4
-use named constants 2021-07-29 23:05:29 +02:00
ce4daddca0
secmod client dir needs group write permissions 2021-07-29 20:34:56 +02:00
6f6702f6db
socket 2021-07-29 19:33:01 +02:00
62ea8c5046
config 2021-07-29 18:33:23 +02:00
a3520d9c11
config 2021-07-29 18:31:48 +02:00
eb3c3c3557
remove more dead config 2021-07-29 18:25:49 +02:00
2432c59385
keydir doesn't exist anymore 2021-07-29 18:21:56 +02:00
036d4cb71a
secmod: services create their own client dirs with correct permissions 2021-07-29 13:04:55 +02:00
Christian Grothoff
f2b3c4ee72
-fix amount packer 2021-07-28 09:46:40 +02:00
Christian Grothoff
b9e4431ae6
-fix amount packer 2021-07-28 09:45:33 +02:00
Christian Grothoff
6516f1899f
start to use new GNUNET_JSON_PACK functionality 2021-07-28 09:13:21 +02:00
9624d92a65
secmod: use umask, as fchmod is undefined on sockets 2021-07-27 12:04:52 +02:00
32f3391be1
secmod: fchmod socket to ug+rw 2021-07-27 11:26:48 +02:00
Christian Grothoff
91bb5623de
JSON: implement taler-specific json pack functions 2021-07-26 17:26:09 +02:00
02aa49cc36
install into usr/share/taler/exchange 2021-07-26 16:16:52 +02:00
Christian Grothoff
42decef957
fix #6939 in exchange 2021-07-24 09:00:35 +02:00
Christian Grothoff
325b60989f
-use new GNUNET_TIME functions 2021-07-23 20:40:13 +02:00
Christian Grothoff
098bd64f39
-fix struct name 2021-07-23 18:43:03 +02:00
Christian Grothoff
306a08a71c
-rename TALER_amount_get_zero to TALER_amount_set_zero 2021-07-23 13:02:04 +02:00
Christian Grothoff
23e0847188
-fix #6933 2021-07-22 15:47:24 +02:00
Christian Grothoff
95f0fdf369
distinguish between input failure and internal failures when hashing contracts 2021-07-21 20:21:08 +02:00
Christian Grothoff
5828dfad1d
fix NPE on key not found 2021-07-21 18:51:05 +02:00
Christian Grothoff
3721780f16
fix bug where suspended /keys requests eat up all sockets 2021-07-21 16:08:50 +02:00
Christian Grothoff
d37e4eabc4
-use nicer enum 2021-07-20 15:38:56 +02:00
Christian Grothoff
5c569d3df7
expose TALER_JSON_validate_payto 2021-07-20 15:36:08 +02:00
Christian Grothoff
195a6b6b3d
-doxygen, again 2021-07-18 21:30:19 +02:00
Christian Grothoff
7cec9705ea
-doxygen fix 2021-07-18 21:27:36 +02:00
Christian Grothoff
29b4e71bf5
-fix misc interesting wirewatch in test mode with sharding issues 2021-07-18 21:16:21 +02:00
Christian Grothoff
6d7eb372b2
-fix bad negation 2021-07-18 20:12:13 +02:00
Christian Grothoff
000f99e50f
-fix segv 2021-07-18 19:05:24 +02:00
Christian Grothoff
5cec88e87e
-fix segv 2021-07-18 18:59:11 +02:00
Christian Grothoff
67559ad626
fix #6919: add new tables to basedbs 2021-07-18 13:31:17 +02:00
Christian Grothoff
d1e5fd8f0e
pass config to dbinit in test 2021-07-18 12:48:56 +02:00
Christian Grothoff
970c9eab86
-fix doxygen 2021-07-15 20:04:15 +02:00
Christian Grothoff
d942f2ea6c
-fix comment 2021-07-14 14:49:07 +02:00
Christian Grothoff
7670039773
-fix comment 2021-07-14 14:47:32 +02:00
Christian Grothoff
5ebc3b0e5b
-fix typo 2021-07-14 14:34:31 +02:00
Christian Grothoff
bae2277d76
-update changelog, remove dead statement 2021-07-14 13:13:58 +02:00
Christian Grothoff
249ba03c36
expose 2^52 amount value limit in header, check that limit in test cases, add TALER_amount_multiply and TALER_amount_divide2 operations 2021-07-10 14:55:35 +02:00
Christian Grothoff
883b1fc70b
-clean taler-auditor shell script, too 2021-06-28 12:16:04 +02:00
Christian Grothoff
2e981c1a6e
fix serial selection in auditor-sync 2021-06-27 23:38:52 +02:00
Christian Grothoff
4ba4cf74ae
-fix typo 2021-06-27 15:36:42 +02:00
Christian Grothoff
34b0b1666d
ensure /keys is regenerated when signing keys used expire 2021-06-26 15:07:00 +02:00
Christian Grothoff
cac8d9360d
flush /keys responses if set of auditors changes 2021-06-26 14:56:25 +02:00
Christian Grothoff
959c4eca1d
work around compiler warning 2021-06-24 13:37:54 +02:00
Christian Grothoff
5d6ec4c744
improve logging 2021-06-24 13:17:28 +02:00