Commit Graph

4653 Commits

Author SHA1 Message Date
Christian Grothoff
fba91c63d5
introduce stored procedure for coin balance check 2021-12-09 23:13:39 +01:00
Christian Grothoff
889625a90f
fix idle transaction issue introduced earlier 2021-12-09 22:15:30 +01:00
Christian Grothoff
6dd4a90abd
fix fakebank issue with timeouts in multi-threaded mode resulting in NPE 2021-12-09 22:14:42 +01:00
Christian Grothoff
6c57b33746
-fix warning 2021-12-09 16:44:40 +01:00
Christian Grothoff
ac4247f53a
-note on #7124 2021-12-09 14:40:06 +01:00
Christian Grothoff
a7b4cc97ec
minimize idle in transaction from wirewatcher 2021-12-09 14:05:23 +01:00
Christian Grothoff
ce28d3b8e4
add latency logging 2021-12-09 13:29:07 +01:00
dcb73693dd
crypto worker: eddsa signing 2021-12-09 10:38:12 +01:00
Christian Grothoff
5433c2a475
be more backwards-compatible 2021-12-08 21:14:36 +01:00
Christian Grothoff
7fdcec4c3c
-complete 'melt.sql', in theory 2021-12-08 20:52:23 +01:00
Christian Grothoff
e0700ad916
optimize /deposit logic to minimize serialization failures (presumably) 2021-12-08 20:33:14 +01:00
Christian Grothoff
21951eacc2
quick hack to see about improving melt serialization failures 2021-12-08 18:22:07 +01:00
Christian Grothoff
7e84b5570a
fix error handling for very large uploads, fix re-generation of /keys response after Expires expires 2021-12-08 18:12:28 +01:00
Christian Grothoff
ed7379d235
consider key rotation frequency instead of earliest expiration for Expire header 2021-12-08 16:11:52 +01:00
Christian Grothoff
b64f718037
more aggressive rollback on failures 2021-12-08 16:11:52 +01:00
54177c6e1d
crypto worker: remove unused args 2021-12-08 16:05:21 +01:00
ec4c531cc6
crypto worker: fix refresh planchet setup 2021-12-08 16:01:57 +01:00
a00cebcced
put crypto worker in exchange-tools, re-enable build 2021-12-08 15:54:48 +01:00
Christian Grothoff
9d3f7d3a56
move ensure_coin_known for melt and recoup outside of transaction, more logging 2021-12-08 15:18:40 +01:00
Christian Grothoff
2e6e2387b8
logging 2021-12-08 14:53:22 +01:00
Boss Marco
5d765a294a
fix prometheus metric labels 2021-12-08 14:43:12 +01:00
Christian Grothoff
32e185978f
tolerate missing 'Expire' header better 2021-12-08 14:33:13 +01:00
Christian Grothoff
c1aaafca91
-fix syntax 2021-12-08 14:32:54 +01:00
Christian Grothoff
98e44f33a7
add missing preflight 2021-12-08 12:42:22 +01:00
Christian Grothoff
a727348638
-wip 2021-12-08 11:53:27 +01:00
Christian Grothoff
be9cd04150
-fix ftbfs 2021-12-08 09:21:08 +01:00
Christian Grothoff
356c59ebb6
-improve graphana compatibility 2021-12-08 08:57:09 +01:00
Christian Grothoff
add2d29acf
implement basic /metrics 2021-12-07 21:27:08 +01:00
Christian Grothoff
71933dd2e9
add basic metrics collection logic 2021-12-07 21:16:38 +01:00
Christian Grothoff
8be9de6675
implement dummy /metrics handler 2021-12-07 21:02:36 +01:00
Christian Grothoff
175f5b2495
-comment 2021-12-07 13:57:39 +01:00
Christian Grothoff
7dcd217b60
-fix balance calculation 2021-12-06 16:37:32 +01:00
Christian Grothoff
f3629bdafc
improve SQL comments 2021-12-06 15:15:59 +01:00
Christian Grothoff
6ba9f934c4
-add FIXMEs 2021-12-05 19:23:16 +01:00
Christian Grothoff
bb6c11ad9e
take insertion into known_coins outside of main melt transaction to reduce conflict potential 2021-12-05 18:14:48 +01:00
Christian Grothoff
19de0f604f
change order of statements when making coin known to possibly reduce serialization failures 2021-12-05 17:59:02 +01:00
Christian Grothoff
67de20d26e
major rework of withdraw transaction to use stored procedure and (presumably) reduce serialization failures by avoiding SELECT before INSERT 2021-12-05 17:16:00 +01:00
Christian Grothoff
c0d2af8a49
-fix withdraw logic idempotency broken yesterday: did not handle expired DKs nicely 2021-12-05 08:58:12 +01:00
Christian Grothoff
e61a53806e
save 2ms on deposit by not doing idempotency check twice 2021-12-04 23:24:50 +01:00
Christian Grothoff
ec45eaae18
more logging 2021-12-03 16:16:19 +01:00
Christian Grothoff
dfe245814c
reduce lock contention in RSA secmod 2021-12-02 17:25:57 +01:00
Christian Grothoff
ae866fc45d
-fix FTBFS 2021-12-02 14:35:45 +01:00
Christian Grothoff
3a5eb9285c
-fix FTBFS 2021-12-02 14:33:22 +01:00
Christian Grothoff
5ad1d0d3dd
-add disable invariants 2021-12-02 14:32:05 +01:00
Christian Grothoff
b3e4159c2e
more perf debug messages 2021-12-02 14:11:14 +01:00
Christian Grothoff
bbdc7649f7
add -I command line option 2021-12-02 13:31:20 +01:00
Christian Grothoff
5a7dd00125
improve suicide logic 2021-12-02 08:02:20 +01:00
Christian Grothoff
e8fc5d8d5c
-fix command to avoid timing-dependent assertion failure 2021-12-02 06:41:49 +01:00
Christian Grothoff
170402203a
make check case-insensitive 2021-12-01 17:56:47 +01:00
7373bbc5c8
Merge branch 'master' of ssh://git.taler.net/exchange 2021-12-01 15:27:56 +01:00
54c62f3ab9
[age restriction] progress 6/n
lift logic for detection of age restriction of a denomination out from
taler-exchange-secmod-rsa.c to taler-exchange_httpd_keys.c
2021-12-01 15:25:33 +01:00
bed2a422a5
-basedb 2021-12-01 15:04:57 +01:00
ebc5f4f986
fix auditor test case, re-generate basedbs 2021-12-01 14:21:35 +01:00
Thien-Thi Nguyen
41aba39f0f
move var decl to proper scope (where it's used) 2021-12-01 02:54:50 -05:00
Christian Grothoff
c47cb65fb8
-nicer suicide 2021-11-30 22:57:20 +01:00
Christian Grothoff
3a3d7f1ffb
-implement suicide 2021-11-30 22:56:26 +01:00
Christian Grothoff
644dbbf92b
fix log message 2021-11-30 13:28:12 +01:00
Christian Grothoff
5913955f34
fix NPE 2021-11-30 13:24:14 +01:00
Christian Grothoff
d3615c708f
-fix typos 2021-11-29 17:48:39 +01:00
4e9a5c8cc7
touch unused variable 2021-11-29 10:22:35 +01:00
93fe40c5a7
fixed signednes issue 2021-11-29 10:14:23 +01:00
a467ba6a54
typo and pointer comparison fixed 2021-11-29 10:12:08 +01:00
Christian Grothoff
c8480d97a1
try to optimize aggregator queries 2021-11-29 10:09:21 +01:00
Christian Grothoff
65533e8df5
-simple DB benchmark 2021-11-29 00:17:09 +01:00
Christian Grothoff
c3ce84af44
fix config 2021-11-28 22:20:56 +01:00
Christian Grothoff
cba49056c4
benchmark skeleton 2021-11-28 19:52:59 +01:00
97bae4dd65
[age restriction] progress 5/n
- taler-exchange-secmod-rsa
  - extracts AGE_RESTRICTED per denomination from config
  - propagates flag for each denomination to server
- if age restriction is set for a denomination,
  age _mask_ is taken (for now!) from config
2021-11-28 18:51:25 +01:00
Christian Grothoff
2d1a618d3d
sql fix 2021-11-27 22:58:50 +01:00
Christian Grothoff
fc04b91c94
integrate taler_extensions.h into dist 2021-11-27 18:50:51 +01:00
Christian Grothoff
e46fb30965
refactor get_ready_deposits query and index to hopefully make query faster 2021-11-27 14:56:28 +01:00
6ee13445ce
[age restriction] progress 4/n
- parser for age groups
- stringify age mask
2021-11-27 14:33:07 +01:00
Christian Grothoff
f795e32b01
-fix size check for RSA-8k 2021-11-27 14:21:36 +01:00
Christian Grothoff
f493122033
fix #7105 (for exchange) 2021-11-25 23:24:04 +01:00
Christian Grothoff
dc4827ea20
-speed up invariant checks by using new GNUnet API 2021-11-25 14:53:52 +01:00
Christian Grothoff
94012d011c
add invariant checks 2021-11-25 13:37:47 +01:00
Christian Grothoff
98549cdc5a
-fix 2021-11-25 10:00:55 +01:00
Christian Grothoff
414237c335
handle double-revoke gracefully 2021-11-25 09:54:23 +01:00
Christian Grothoff
bab213e794
work on #7099 2021-11-25 09:43:01 +01:00
Christian Grothoff
ed6634f98e
-do not use parallel by default 2021-11-24 22:01:01 +01:00
Christian Grothoff
4ceef77ae5
add -r option to exchange-httpd 2021-11-24 21:57:39 +01:00
Christian Grothoff
5116186ec1
-fix the fix 2021-11-24 21:48:49 +01:00
Christian Grothoff
61616fe2c8
-fix check 2021-11-24 21:47:21 +01:00
Christian Grothoff
0ac1b7abad
handle revoke followed immediately by a sign request 2021-11-24 17:44:26 +01:00
Christian Grothoff
c7dc62b42e
-logic cleanup 2021-11-24 16:04:26 +01:00
Christian Grothoff
124ab147a9
more logging 2021-11-24 15:26:09 +01:00
Christian Grothoff
ef29658161
fix #7107 2021-11-24 00:25:17 +01:00
Christian Grothoff
4c628aba80
ftbfs 2021-11-24 00:19:49 +01:00
Christian Grothoff
4599fc2d5e
protocol bump, ignore eintr 2021-11-23 21:39:26 +01:00
Christian Grothoff
cb96bb0ba7
-fix warning 2021-11-21 15:16:58 +01:00
Christian Grothoff
7b50c7c012
-fix paths issue 2021-11-21 13:37:23 +01:00
Christian Grothoff
c88363be20
-fix paths issue 2021-11-21 13:33:24 +01:00
Christian Grothoff
9b8abc1b01
-fix use after free 2021-11-21 13:30:07 +01:00
Christian Grothoff
5159badd0e
another fix related to #7099 2021-11-21 12:47:33 +01:00
Christian Grothoff
1caeaec257
fix #7099 2021-11-21 10:01:31 +01:00
Christian Grothoff
ae2ce4aaee
trying to fix #7039 insanity for RFC 8785, Dold: please check 2021-11-21 00:53:11 +01:00
Christian Grothoff
a5a3b2ea9a
add taler-auditor-offline test command, fixes test_auditor_api warnings 2021-11-20 13:09:16 +01:00
Christian Grothoff
303f105985
-code cleanup 2021-11-20 12:41:50 +01:00
Thien-Thi Nguyen
2c8bd158d9
fix typo: s/row_id/rowid/ 2021-11-20 06:10:51 -05:00
Christian Grothoff
935c2d4e62
-improve logging 2021-11-20 09:42:25 +01:00
Christian Grothoff
2fed889224
-fix offset issue 2021-11-19 21:26:35 +01:00