Commit Graph

4271 Commits

Author SHA1 Message Date
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
Christian Grothoff
9fb6ea3203
fix auditor-offline issue 2021-06-22 19:48:18 +02:00
Christian Grothoff
ba5af82db1
-bugfixes, and FTBFS 2021-06-22 14:47:54 +02:00
Christian Grothoff
0caf3ac2b7
-fix up wirewatch logic 2021-06-22 13:15:50 +02:00
Christian Grothoff
c9a928fe35
make insert transaction more optimistic, may reduce conflicts 2021-06-21 11:47:34 +02:00
Christian Grothoff
de41998d55
-useless 2021-06-21 00:18:32 +02:00
Christian Grothoff
9c51720cbf
fixing parallel fakebank to ensure transactions are ordered, fixing indices/constraint preservation after DB update to 0002 2021-06-21 00:17:16 +02:00
Christian Grothoff
108bf57d04
preparations for sharded wirewatch 2021-06-20 16:41:04 +02:00
Christian Grothoff
0271e84813
-bugfix, preparations for sharding 2021-06-19 18:20:19 +02:00
Christian Grothoff
03e2aa71bc
note on perf 2021-06-19 17:29:07 +02:00
Christian Grothoff
2a9ec82dce
fix batch size adjustment of wirewatcher 2021-06-19 17:11:11 +02:00
Christian Grothoff
bbe86aee78
fix keepalive when using thread pool 2021-06-19 16:29:30 +02:00
Christian Grothoff
ad8390432b
add config file for bank benchmarking 2021-06-19 14:58:02 +02:00
Christian Grothoff
8c0492be71
misc fakebank fixes 2021-06-19 14:52:13 +02:00
Christian Grothoff
fdf095c6ef
initial version of taler-bank-benchmark 2021-06-19 13:59:03 +02:00
Christian Grothoff
50749c462b
make libfakebank scale 2021-06-19 08:36:17 +02:00
Christian Grothoff
036e711779
extend fakebank API to have thread pool option 2021-06-19 05:00:45 +02:00
Christian Grothoff
6680f9b4ef
implement logic to replace 'true' forgettable salts with random salts, fix object deletion when forgetting 2021-06-16 23:12:21 +02:00
Christian Grothoff
bf7adbfa2e
-remove dead leaky code 2021-06-16 17:40:04 +02:00
Christian Grothoff
ae7b5951c1
update PQ implementation to allow for NULLable amounts 2021-06-16 17:08:30 +02:00
Christian Grothoff
3e3fb304f4
avoid failure mode 2021-06-16 15:39:06 +02:00
ffb24f5b59
use dollar to prefix reserved JSON names 2021-06-16 11:45:44 +02:00
Christian Grothoff
ae60be7644
-do not warn if timestamp is 0, that is valid 2021-06-16 11:12:55 +02:00
Christian Grothoff
e3089761ef
-fix (soft) assertion failure 2021-06-16 11:10:06 +02:00
Christian Grothoff
2918448338
purge fields instead of setting to NULL as suggested by Florian 2021-06-15 20:34:25 +02:00
fa330ca12a
add merchant auth in auditor test 2021-06-10 20:22:53 +02:00
Christian Grothoff
dadb96c9ba
-badness 2021-06-01 17:46:17 +02:00
Christian Grothoff
35b232642b
-fix cherry picking, need MAX heap to build correct replies for all cpds 2021-05-29 10:06:58 +02:00
Christian Grothoff
060816eafd
fix for soft fail error handling in wirewatch discovered in #6892, bugnote 17930: bank API calls us one more time after returning SYSERR, and we must in that case not bump the progress point just because a commit succeeds after the rollback 2021-05-29 08:38:33 +02:00
Christian Grothoff
3df47fa6d7
-fix returning full response 2021-05-28 23:08:03 +02:00
Christian Grothoff
be62bc5734
-not a protocol violation, can happen if auditor signed denominations that are valid for deposit but not withdraw 2021-05-28 21:30:55 +02:00
Christian Grothoff
35ce352b16
deal more nicely with /keys failures where no JSON is returned 2021-05-27 11:19:56 +02:00
Christian Grothoff
3986c9ae2d
fix last_cpd initialization 2021-05-27 10:37:53 +02:00
Christian Grothoff
fe72adf666
-fix doxygen 2021-05-26 09:42:45 +02:00
Christian Grothoff
58939d55e9
fix doxygen 2021-05-26 09:24:44 +02:00
Christian Grothoff
8ffa114c4e
status code changed from 404 to 410, as revocation is possible in the future..." 2021-05-25 21:36:43 +02:00
Christian Grothoff
068068f40f
return signed error message with HTTP_GONE status if denomination is not currently valid for specified operation (#6889) 2021-05-25 21:34:18 +02:00
Christian Grothoff
0d1ab614c0
return signed 404 statements for unknown denomination key hashes (#6889) 2021-05-25 20:52:58 +02:00
Christian Grothoff
b2b1f88ab6
add HTTP status argument to testin gCMD admin_add_incoming_with_ref for merchant tests 2021-05-25 20:10:46 +02:00
Christian Grothoff
dd323a5d9c
-log CMD name 2021-05-25 17:46:16 +02:00
Christian Grothoff
4741f4ea02
implement duplicate reserve_pub detection in fakebank, add test (fails in pybank), for #6863 2021-05-20 12:31:27 +02:00
Christian Grothoff
3ef39e51f3
more work on hopefully fixing #6862 2021-05-14 18:08:45 +02:00
Christian Grothoff
ab96483e01
disable gettext use in secmod code (#6862) 2021-05-14 15:47:02 +02:00
Christian Grothoff
5f268913dd
return NO if forgetting did not work because it was already forgotten earlier 2021-05-11 19:17:09 +02:00
Christian Grothoff
684a234264
fix #6855 2021-05-09 13:41:23 +02:00
Christian Grothoff
6ee58c990c
fix #6856 2021-05-09 12:50:08 +02:00
Christian Grothoff
91e18867c3
use grothoff in runtimedir when testing 2021-04-28 15:42:36 +02:00
Christian Grothoff
23c36cb44b
remove (hopefully) obsolete option, was moved to exchange-offline 2021-04-26 17:05:19 +02:00
Christian Grothoff
20c70845c0
return more precise error codes from TALER_EXCHANGE_deposit() if failures are detected client-side (#6817) 2021-04-24 19:54:47 +02:00
Christian Grothoff
23f49379bb
remove fault injection 2021-04-24 19:05:55 +02:00
Christian Grothoff
5106a09c9f
fix more typos 2021-04-23 23:53:52 +02:00
Christian Grothoff
a140c114d3
more doxygen fixes 2021-04-23 23:39:07 +02:00
Christian Grothoff
4384c6ec85
fix misc doxygen issues 2021-04-21 20:28:30 +02:00
Christian Grothoff
0470ba3692
-inject fault for buildbot test 2021-04-20 21:02:31 +02:00
Christian Grothoff
7562f0e592
-fix ftbfs on first make 2021-04-18 15:38:53 +02:00
Christian Grothoff
294730cf01
fix #6769, plus some related configuration issues and better documentation 2021-04-18 02:21:03 +02:00
Christian Grothoff
a98e131226
-fix year 2021-04-17 20:07:24 +02:00
Christian Grothoff
0453ef45df
add ability to change Authorization header in via interpreter command (#6778) 2021-04-17 20:06:34 +02:00
Christian Grothoff
da25913e61
skip keys in future keys if they already expired (remove logging) 2021-04-16 14:17:55 +02:00
Christian Grothoff
74ea2da2b0
skip keys in future keys if they already expired 2021-04-16 14:17:33 +02:00
Christian Grothoff
453d122c30
do not repeatedly append the same auditor signature 2021-04-14 17:39:13 +02:00
Christian Grothoff
084a5f6685
fix rare NPE 2021-04-14 15:24:15 +02:00
Christian Grothoff
b7ef3cfd36
fix #6845 2021-04-14 14:48:28 +02:00
Christian Grothoff
57cb2d1ca6
tolerate extreme case where all denominations expired 2021-04-12 21:48:43 +02:00
Christian Grothoff
176b0edaeb
fix bogus check 2021-04-12 20:55:55 +02:00
Christian Grothoff
245e757438
do not hang in taler-auditor-offline if sign output is empty 2021-04-12 20:31:02 +02:00
Christian Grothoff
5fc1764db3
do not upgrade gana to master on bootstrap 2021-04-09 16:33:35 +02:00
Christian Grothoff
a1705fe421
add gettext support 2021-04-05 20:11:45 +02:00
Christian Grothoff
da15a59717
omit charset from en_US.UTF-8 env variable when picking i18n strings, handle no preference case 2021-04-05 19:29:00 +02:00
Christian Grothoff
f36fe8c22c
omit charset from en_US.UTF-8 env variable when picking i18n strings 2021-04-05 19:27:53 +02:00
Christian Grothoff
63c6654c0f
omit charset from en_US.UTF-8 env variable when picking i18n strings 2021-04-05 19:27:19 +02:00
Christian Grothoff
004a7c9d54
implement convenience function to extract i18n values from JSON (for #6749) 2021-04-05 18:40:23 +02:00
Christian Grothoff
99fff4f98f
implement convenience function to extract i18n values from JSON (for #6749) 2021-04-05 18:33:01 +02:00
Christian Grothoff
b299ae6e69
expose xmime_matches 2021-04-04 19:04:55 +02:00
Christian Grothoff
cb686975ed
fix leak 2021-04-02 14:55:15 +02:00
Christian Grothoff
25fd6dc25a
fix misc leaks 2021-04-02 13:27:22 +02:00
Christian Grothoff
4345e6b434
fix spec compliance for 405 reply, handle OPTIONS request with asterisk-form (RFC 7230, section 5.3.4) 2021-04-01 12:10:01 +02:00
Christian Grothoff
7c485a2153
fix overflow 2021-04-01 10:57:04 +02:00
Christian Grothoff
ec0b1b512c
fix json parsing invocation 2021-03-28 21:52:02 +02:00
Christian Grothoff
71f00b3764
improve version number format check 2021-03-13 23:03:06 +01:00
Christian Grothoff
d1c5337a88
improve version number format check 2021-03-13 23:02:46 +01:00
Thien-Thi Nguyen
20bce1bc8e
fix typo: use var names ‘taler_auditor_sync_LDFLAGS’, ‘taler_auditor_sync_CPPFLAGS’ 2021-03-08 02:23:26 -05:00
Christian Grothoff
ca5f0c4d6f
fix #6786: do not die on bogus URL 2021-03-05 21:41:55 +01:00
Christian Grothoff
2c8afda8b3
remove deadlocking log statements 2021-03-01 14:08:15 +01:00
Christian Grothoff
15ed6ffb07
fix minor leak 2021-02-26 12:18:58 +01:00
Christian Grothoff
4e1770898a
fix statement order 2021-02-24 16:29:31 +01:00
Christian Grothoff
cf67e60134
use PUBLIC_KEY from configuration in upload step 2021-02-24 16:13:01 +01:00
Christian Grothoff
70d4b0054b
use PUBLIC_KEY from configuration in upload step 2021-02-24 16:12:08 +01:00
Sebastian
2ed7eb7a8b
free currency memory on free_key_data(), ref #6744 2021-02-16 11:20:42 -03:00
Christian Grothoff
97e404e81a
fix revocation of unknown key 2021-02-16 00:44:03 +01:00
Christian Grothoff
e6c5262c9e
fix currency parsing in deserialization logic (resolves #6744) 2021-02-15 22:05:37 +01:00
Sebastian
c1a58ef343
added missing currency in ser/deser, see #6744 2021-02-15 17:03:44 -03:00
Christian Grothoff
7c588d0bc7
fix leak 2021-02-13 19:27:50 +01:00
Christian Grothoff
66aeb72ca9
fix memory leaks 2021-02-13 19:21:04 +01:00
Christian Grothoff
5e15bc6f28
simplify logic 2021-02-13 19:04:08 +01:00
Christian Grothoff
246f3a7f94
simplify logic, fix leak 2021-02-13 18:22:07 +01:00
Christian Grothoff
12deb6c267
fix memory leaks 2021-02-13 16:24:38 +01:00
Christian Grothoff
cd17d095e8
permit NULL trait 2021-02-13 15:52:18 +01:00
Sebastian
7adf9f170f
add allow-methods * for cors preflight 2021-02-10 16:32:49 -03:00
Christian Grothoff
9eaa2a24e6
need enum value for taler://-URLs 2021-02-09 19:34:10 +01:00
Sebastian
93347b3904
fix #6745 2021-02-07 20:11:24 -03:00
Sebastian
07a5f6fb82
fix #6744 2021-02-07 19:33:15 -03:00
9bf54f4bab
auditor test: don't pass any merchant auth token 2021-02-04 18:27:05 +01:00
bfd67a22fd
fix merchant auth token in auditor test 2021-02-04 18:02:46 +01:00
Thien-Thi Nguyen
0db1fa0067
fix typo: s/actually/actual/ 2021-02-03 12:02:57 -05:00
Christian Grothoff
fee5d3b716
not not break 2021-01-29 10:00:23 +01:00
Christian Grothoff
7d0d8d9f1c
try another tac 2021-01-28 22:36:02 +01:00
Christian Grothoff
0e10a48a17
swap signal and unlock logic to hopefully nail #6726 2021-01-28 22:01:03 +01:00
Christian Grothoff
4dd87e1118
more logging 2021-01-28 21:46:21 +01:00
Christian Grothoff
bfd0a96254
improve test logging 2021-01-28 21:23:16 +01:00
Christian Grothoff
88627af6a3
fix #6726 2021-01-27 18:57:39 +01:00
Christian Grothoff
66c950c020
clean up code 2021-01-27 10:02:00 +01:00
Christian Grothoff
1d996f65fd
use version 2021-01-26 21:49:58 +01:00
Christian Grothoff
9e910cb1b9
implement #6724 2021-01-26 21:45:37 +01:00
Christian Grothoff
556a7f36b8
fix #6725: use modern name 2021-01-26 19:24:40 +01:00
Christian Grothoff
2b35e3796f
strptime is locale-dependent, re-implement for C locale-only 2021-01-26 14:10:06 +01:00
Christian Grothoff
6cd6582a4f
improve logging 2021-01-26 12:38:54 +01:00
Thien-Thi Nguyen
2bba834643
make "make check" in src/util respect env var ‘TMPDIR’
https://bugs.gnunet.org/view.php?id=6714
2021-01-21 19:56:53 -05:00
Christian Grothoff
2aa77fdd1c
work around compiler warning, ensure we leave 0-terminator, even though it is not required by the kernel 2021-01-21 13:20:25 +01:00
Christian Grothoff
99b3ed45fa
update log level 2021-01-21 13:07:19 +01:00
Christian Grothoff
7bbb44ec04
improve logging and comments in json.c 2021-01-18 11:22:52 +01:00