Commit Graph

396 Commits

Author SHA1 Message Date
Christian Grothoff
b38f251beb
-DCE, nicer return values 2021-09-17 11:35:10 +02:00
Christian Grothoff
ae8d481e1c
implement taler-exchange-transfer DB sharding logic 2021-09-05 15:25:57 +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
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
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
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
a11e3cb193
-indent fix 2021-08-19 16:32:57 +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
caf6807856
-fix assertion failure caused by testcase 2021-08-06 10:20:58 +02:00
Christian Grothoff
23e0847188
-fix #6933 2021-07-22 15:47:24 +02:00
Christian Grothoff
970c9eab86
-fix doxygen 2021-07-15 20:04:15 +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
2a9ec82dce
fix batch size adjustment of wirewatcher 2021-06-19 17:11:11 +02:00
Christian Grothoff
4384c6ec85
fix misc doxygen issues 2021-04-21 20:28:30 +02:00
Christian Grothoff
b7ef3cfd36
fix #6845 2021-04-14 14:48:28 +02:00
Christian Grothoff
3b9c381112
remove master_pub from DB 2021-01-15 11:53:54 +01:00
Christian Grothoff
e3a0bc0d1f
fix sync issues, add rudimentary test 2021-01-13 19:47:45 +01:00
Christian Grothoff
52513dcc26
bugfixes in auditor-sync logic 2021-01-12 23:00:57 +01:00
Christian Grothoff
543cd6d342
finish irbt_callbacks 2021-01-10 21:42:25 +01:00
Christian Grothoff
af97a44ae6
complete select_serial_by_* SELECT statements 2021-01-10 18:06:18 +01:00
Christian Grothoff
59cde016a6
preparing statements for auditor replication logic 2021-01-10 17:04:52 +01:00
Christian Grothoff
80b4fc0869
skeleton for postgres_insert_records_by_table 2021-01-10 13:27:33 +01:00
Christian Grothoff
5e80154f43
complete (untested) implementation of lrbt_callbacks 2021-01-10 12:56:13 +01:00
Christian Grothoff
ca66a1d1af
fix major bug with SQL statement missing ORDER BY freshcoin_index resulting in possible link failures (but usually lucky with old DB schema) 2021-01-10 00:54:12 +01:00
Christian Grothoff
02ecf68a3d
more optimizations of tables with foreign keys 2021-01-09 13:18:01 +01:00
Christian Grothoff
260e287685
change wire_reference to be uint64_t always; more work on lrbt_callbacks 2021-01-08 23:36:09 +01:00
Christian Grothoff
db61628a9c
use known_coin_id instead of coin_pub, use reserve_out_serial_id/rrc_serial instead of h_blind_ev/h_coin_ev 2021-01-08 21:07:42 +01:00
Christian Grothoff
7ef7d793de
use auditor_uuid instead of auditor_pub as foreign key 2021-01-08 19:11:36 +01:00
Christian Grothoff
13555448b6
change exchange database to use denominations_serial instead of denom_pub_hash as foreign key 2021-01-08 18:14:46 +01:00
Christian Grothoff
4c8aef9841
schema update in preparation of exchange-auditor database replication logic 2021-01-05 21:21:38 +01:00
Christian Grothoff
b72bf98432
fix bad call 2020-12-26 16:50:41 +01:00
Christian Grothoff
77d49bf4a7
init member 2020-12-26 16:29:20 +01:00
Christian Grothoff
57c9054784
implement #6161 2020-12-26 15:55:34 +01:00
Christian Grothoff
6243afe0ef
address FIXMEs 2020-12-25 08:51:56 +01:00
Christian Grothoff
fe232f1fed
integrate auditor signature check logic with taler-helper-auditor-coins 2020-12-22 18:27:34 +01:00
Christian Grothoff
a644355c44
address FIXME: pass session when iterating over denominations 2020-12-22 18:13:46 +01:00
Christian Grothoff
f17d886753
remove fixme, function remains in use" 2020-12-20 20:22:52 +01:00
Christian Grothoff
699916056b
misc doxygen fixes 2020-12-20 17:10:09 +01:00
Christian Grothoff
b74612fc33
update auditordb and test logic to work with new key separation logic (#6175) 2020-12-17 13:04:37 +01:00
Christian Grothoff
7442744809
fix misc bugs 2020-12-12 22:42:04 +01:00
Christian Grothoff
35bec60894
implement POST /managment/keys 2020-12-10 11:49:20 +01:00
Christian Grothoff
fa1914b267
work on new logic to generate /wire response 2020-12-09 12:31:10 +01:00
Christian Grothoff
22c9321e67
expand exchangedb plugin for new /keys logic 2020-12-06 21:54:32 +01:00
Christian Grothoff
9572337aed
more management API tests and bugfixes 2020-12-01 21:07:56 +01:00
Christian Grothoff
4b2504a3c3
doxygen fixes 2020-11-30 14:16:42 +01:00
Christian Grothoff
e89bb8edaa
more DB functions for new /management/ endpoints 2020-11-29 18:02:00 +01:00
Christian Grothoff
855e7829d7
more work on DB plugin for managemetn API 2020-11-29 17:27:53 +01:00
Christian Grothoff
6b434c626f
work on DB logic, add auditor_name to /management/auditors API 2020-11-29 16:21:10 +01:00
Christian Grothoff
a6f98bab5a
first draft for POST /management/keys 2020-11-27 19:32:43 +01:00
Christian Grothoff
4f0e38ab12
more work on crypto RSA helper 2020-11-14 22:27:50 +01:00
Christian Grothoff
9c991f0a11
fix doxygen 2020-10-22 10:33:05 +02:00
Christian Grothoff
f581b54dfb
remove optimization combining two SQL statements on reserve update as it could not be shown to have a significant benefit at this time (only 2% fewer serialization failures). May deserve further evaluation in the future, if reserve update ever becomes crucial. 2020-08-13 20:49:48 +02:00
Christian Grothoff
26f72f8572
fix refund handling: allow refund increases for the same coin 2020-08-12 13:02:59 +02:00
Christian Grothoff
6503a9fe35
experimental fix to #6452: merge two SQL statements into one 2020-08-10 08:12:01 +02:00
Christian Grothoff
c2a0196f16
postgres documentation suggests to avoid 'FOR UPDATE' with serializable transactions 2020-08-08 20:01:56 +02:00
Christian Grothoff
ddf95c491a
remove unused/unusable coin_sig, return correct coin_pub in recoup-reveal failure context 2020-07-10 22:33:04 +02:00
Christian Grothoff
c3cd21508b
synchronize with latest GANA 2020-07-08 19:36:08 +02:00
Christian Grothoff
97dfbec081
add h_denom_pub to deposit signatures 2020-07-08 15:46:51 +02:00
Christian Grothoff
81fec09268
simplify DB access: do not fetch fields we do not need 2020-07-08 12:35:01 +02:00
Christian Grothoff
ed5b98a2c2
GNUNET_free_non_null is gone, use GNUNET_free 2020-07-05 16:58:43 +02:00
Christian Grothoff
6eb32a65bf
fix error reporting/handling 2020-07-05 16:50:51 +02:00
Christian Grothoff
4f82885560
towards changing timestamp in deposit confirmation (tests failing) 2020-07-05 16:35:00 +02:00
Christian Grothoff
6772037321
fix invariant check 2020-04-24 00:52:33 +02:00
Christian Grothoff
727eccbe64
add invariant checks for #6214 2020-04-23 11:55:10 +02:00
Christian Grothoff
a039bf4d81
fix #6200 2020-04-22 21:21:48 +02:00
Christian Grothoff
84a40be0bc
fix #6170 and rest of #6164 2020-04-08 23:52:01 +02:00
Christian Grothoff
3404fda463
typos 2020-03-31 20:57:11 +02:00
Christian Grothoff
f052527ea5
fix recoup-refresh audit logic 2020-03-26 20:54:41 +01:00
Christian Grothoff
293c241ae7
fix SQL statements 2020-03-26 20:06:23 +01:00
Christian Grothoff
1b24e2f9bb
more statistics, make explicit table lock optional, can hurt performance badly 2020-03-20 18:38:57 +01:00
Florian Dold
c17f05b5fd
fix critical bug in transaction history query for recoup-refresh 2020-03-20 13:52:29 +05:30
Christian Grothoff
bb7bd4b128
style fixes 2020-03-16 18:29:44 +01:00
Christian Grothoff
4322bbf2f1
move common logic to parse currency into libtalerutil 2020-03-15 20:08:38 +01:00
Christian Grothoff
ffcadbff8c
code cleanup (comments, scoping, naming, indentation) 2020-03-07 00:28:07 +01:00
Christian Grothoff
52d41311ac
new coins => fresh coins, also move comments into the database itself 2020-03-05 23:49:47 +01:00
Christian Grothoff
a49bfef2fb
rename for consistency 2020-03-05 23:02:38 +01:00
Christian Grothoff
7dd52a0892
clean up comments, renaming for clarity 2020-03-05 22:38:19 +01:00
Christian Grothoff
642992f9c3
more renaming 2020-03-04 12:10:11 +01:00
Christian Grothoff
6cc516427b
minor code clean up, renaming for consistency 2020-03-04 11:47:22 +01:00
Christian Grothoff
0a2b049864
big rename fest related to #6067 API renaming 2020-02-29 16:42:10 +01:00
Christian Grothoff
cdaf1ce69b
rename SQL files to make filenames consistent with versioning name 2020-02-09 16:34:40 +01:00
Christian Grothoff
ae5583f044
avoid duping configuration, start to use PQ_connect_with_cfg 2020-02-09 15:53:28 +01:00
Christian Grothoff
52797133a4
fix signal initialization race on startup with shutdown 2020-01-20 12:10:44 +01:00
Christian Grothoff
85f10a86ff
handle case where get_session() is called from main, i.e. in combination with -f option 2020-01-20 11:15:19 +01:00
Florian Dold
26ad7c8191
spelling of 'mismatch' 2020-01-20 02:11:03 +01:00
Christian Grothoff
db669ee495
payback -> recoup stranglers 2020-01-18 23:49:37 +01:00
Christian Grothoff
9317d6d69d
doxygen work 2020-01-18 13:23:17 +01:00
Christian Grothoff
dac255329f
doxygen 2020-01-18 13:23:17 +01:00