Joseph
31fefec5dd
import correct header for batch test
2023-01-03 07:16:52 -05:00
Joseph
3ea5b7c52f
remove populate from Makefile
2023-01-03 05:46:36 -05:00
Joseph
b001046a1e
some modifications for batch update
2023-01-03 05:28:54 -05:00
Joseph
1c104ddf28
insert
2023-01-03 05:28:47 -05:00
Christian Grothoff
509141b600
-finish implementation of new DB functions
2022-12-31 01:15:40 +01:00
Christian Grothoff
b1d9745545
-work on new DB queries
2022-12-30 21:28:19 +01:00
Christian Grothoff
5754adc414
-implement lookup aml staff
2022-12-30 20:34:57 +01:00
Christian Grothoff
c5773ce206
-doxygen fixes
2022-12-30 14:44:24 +01:00
Christian Grothoff
94fbb1c211
-basic insert logic of new DB API
2022-12-30 14:41:16 +01:00
Christian Grothoff
c002f458ce
-C skeletions
2022-12-30 14:24:48 +01:00
Christian Grothoff
b7000379ed
-add prototypes
2022-12-30 13:45:36 +01:00
Christian Grothoff
5169abcdcd
-skeleton for new DB API functions
2022-12-30 13:40:07 +01:00
Christian Grothoff
26aa9d985e
expand DB API with AML functions, fix purse refund calculations in libtalerexchange
2022-12-29 11:48:57 +01:00
Christian Grothoff
fa840f7071
Merge branch 'master' of git+ssh://git.taler.net/exchange
2022-12-29 10:10:25 +01:00
Christian Grothoff
5828eead70
-fix SQL
2022-12-29 10:10:11 +01:00
Christian Grothoff
5df74558de
misc purse deletion fixes
2022-12-29 00:34:36 +01:00
Christian Grothoff
880c14909b
add notification logic on purse deletion
2022-12-28 23:44:17 +01:00
Joseph
2f993d3ee3
populate denom-coin-dep
2022-12-28 09:37:47 -05:00
Christian Grothoff
f864d66d93
handle case where purse was already deleted on merge
2022-12-28 12:58:30 +01:00
Christian Grothoff
1e7e0058e8
handle idempotency on purse deletion
2022-12-28 12:41:49 +01:00
Christian Grothoff
7212cd12bc
add missing stored procedure
2022-12-28 12:37:48 +01:00
Joseph
b2fea7a559
Remove pop_table from Makefile
2022-12-28 05:48:37 -05:00
Joseph
a4886dc22d
Update batch insert 1
2022-12-28 05:40:31 -05:00
Christian Grothoff
787c56e7e9
-add do_purse_delete API
2022-12-27 21:18:12 +01:00
Christian Grothoff
26624bed95
-purse deletion SQL logic
2022-12-27 20:36:58 +01:00
Christian Grothoff
8d0bf81801
-new crypto functions
2022-12-27 11:49:41 +01:00
Christian Grothoff
704f791d0c
-typo
2022-12-27 11:03:08 +01:00
Christian Grothoff
66d78c73e4
-doxygen fixes
2022-12-27 09:13:48 +01:00
Christian Grothoff
5dcad73d29
-prepare for AML staff PKI
2022-12-27 09:05:45 +01:00
Christian Grothoff
871d010637
-expand tables
2022-12-27 03:31:13 +01:00
Christian Grothoff
42e2726f43
-work on v3 exchangedb schema
2022-12-27 02:25:45 +01:00
Joseph
0a40f48400
NULL value fixed in batch 1 test
2022-12-21 10:25:44 -05:00
Joseph
f2b1041925
fixing some bugs
2022-12-21 08:06:47 -05:00
Joseph
2030d64910
update of batch 2 test
2022-12-21 07:28:46 -05:00
Joseph
b90d25ecfc
Rollback in sqlcode
2022-12-21 05:29:47 -05:00
Joseph
802dbaefc9
add batch8
2022-12-21 05:29:47 -05:00
Joseph
4cf0d8580f
update of batch 1-2-4 test
2022-12-20 05:39:05 -05:00
Joseph
b0c106124c
new batch test and standard deviation
2022-12-20 05:00:38 -05:00
Joseph
48b7d45959
some modifications in sql code
2022-12-20 04:58:57 -05:00
Christian Grothoff
b6b80e61f4
refactor wirewatch to enable use of batch API
2022-12-19 21:41:32 +01:00
Christian Grothoff
d3a9160e0f
-fix error message
2022-12-19 14:08:26 +01:00
Christian Grothoff
d1c160d1b9
properly handle GONE case on purse deposit
2022-12-09 13:33:57 +01:00
Joseph
db34b05a77
-ignore
2022-12-06 08:15:34 -05:00
Joseph
b3a8ad3c72
new files for experimental batch insert
2022-12-06 08:12:08 -05:00
Joseph
4b7cb13c32
some modifications
2022-12-06 08:12:07 -05:00
Joseph
a71893d5f2
plugin update
2022-12-06 08:11:14 -05:00
Joseph
6e3d1bdc91
some modifications for batch test
2022-12-06 08:09:45 -05:00
Joseph
b6476ac881
batch modifications
2022-12-06 08:07:14 -05:00
Christian Grothoff
87198f124c
refactor procedures.sql
2022-12-06 13:29:23 +01:00
Christian Grothoff
461dc8e36c
-fix crash if there is a conflict on inserting into the purse_decision table
2022-12-05 11:15:59 +01:00
Christian Grothoff
07b4b1aa3f
handle partner_serial_id being NULL
2022-11-27 22:06:59 +01:00
Christian Grothoff
1cdd999c96
-fix foreign key constraint issue
2022-11-27 22:00:24 +01:00
Christian Grothoff
68abe6d9fa
-constraint no longer holds
2022-11-27 21:52:03 +01:00
Christian Grothoff
0a75bcad23
-cleanup
2022-11-27 21:48:30 +01:00
Christian Grothoff
c86c92200c
-db tests pass again
2022-11-27 21:43:55 +01:00
Christian Grothoff
cf2e37cd87
more work on SQL refactoring
2022-11-27 21:21:04 +01:00
Christian Grothoff
f2ba02aab2
more sql refactoring
2022-11-27 18:40:44 +01:00
Christian Grothoff
bbf3e6fe03
more work on SQL refactoring
2022-11-27 15:33:29 +01:00
Christian Grothoff
2eff222c52
more work on SQL refactoring
2022-11-27 15:31:39 +01:00
Christian Grothoff
85ce53a49b
more work on SQL refactoring
2022-11-27 14:50:49 +01:00
Christian Grothoff
4f75bcdca3
more work on SQL refactoring
2022-11-27 14:45:01 +01:00
Christian Grothoff
a322770d29
more work on SQL refactoring
2022-11-27 14:05:47 +01:00
Christian Grothoff
be2c11a179
more sql refactoring
2022-11-27 02:00:38 +01:00
Christian Grothoff
9580dd19c2
intermediate step in major SQL refactoring (not done at all)
2022-11-27 00:16:00 +01:00
Christian Grothoff
746a8a0cdb
-remove shard support
2022-11-26 23:26:44 +01:00
Christian Grothoff
95149f345f
-draft for better sql
2022-11-24 16:20:08 +01:00
Christian Grothoff
c2bb6551cf
starting point for NG exchange DB schema
2022-11-24 12:23:55 +01:00
Christian Grothoff
0429b0cede
Merge branch 'master' of git+ssh://git.taler.net/exchange
2022-11-23 13:40:13 +01:00
Christian Grothoff
505ea0a043
-starting point for Joseph
2022-11-23 13:40:07 +01:00
Joseph
eba2a5d90c
new batch insertion code
2022-11-21 10:40:10 -05:00
Joseph
dbfd4e252a
batch test for reserves-in-insert
2022-11-21 10:40:10 -05:00
Joseph
b9ccfbd66b
some modifications, there is one error which display (no function matches the given name and argument types)
2022-11-21 10:40:10 -05:00
Joseph
f60e38077c
some modifications on batch_test for reserves_in
2022-11-21 10:40:08 -05:00
Christian Grothoff
9d43bf92c4
-doxygen
2022-11-21 14:56:46 +01:00
Christian Grothoff
741831e87b
bank API refactoring for #7276 (incomplete)
2022-11-17 13:28:15 +01:00
Christian Grothoff
8e0f06c86b
fix benchmark logic
2022-11-15 12:15:17 +01:00
Christian Grothoff
94a80b37d5
-first micro benchmark
2022-11-15 12:07:33 +01:00
Christian Grothoff
ffbc537fe7
-kill binary
2022-11-15 11:59:49 +01:00
Christian Grothoff
54ea631b26
-kill binary
2022-11-15 11:59:25 +01:00
Joseph
d6e834d8bb
some modifications by joseph
2022-11-15 05:58:26 -05:00
Joseph
5335e30dd1
some modifications
2022-11-15 05:55:43 -05:00
Joseph
656ec29d5e
new test
2022-11-15 05:46:26 -05:00
Joseph
6991ca011b
remove more functions
2022-11-14 07:35:56 -05:00
Christian Grothoff
d876a95073
-remove old comment
2022-11-14 05:13:48 +01:00
Christian Grothoff
ddbdb0a742
resolve duplicate prepared statement
2022-11-14 05:13:27 +01:00
Christian Grothoff
4ea2e0c42a
-fix linker issues
2022-11-14 05:10:56 +01:00
Christian Grothoff
9db572706d
-fix compiler warnings
2022-11-14 05:08:11 +01:00
Joseph
945821cbc8
move few more functions
2022-11-10 10:37:28 -05:00
Joseph
bd0e2aac92
move functions need to recheck insert_aggregation_tracking
2022-11-08 11:40:47 -05:00
Joseph
4394079a5e
move a few more functions
2022-11-08 09:21:01 -05:00
Joseph
354bbfa1e5
move another function
2022-11-08 07:34:53 -05:00
Joseph
e43e2a9b29
-move two more functions
2022-11-08 07:28:17 -05:00
Joseph
55f1217a33
move functions into separate file
2022-11-07 10:35:34 -05:00
224a7048c1
-typo
2022-11-04 13:20:05 +01:00
a76556f0ca
-typos in arguments fixed
2022-11-04 12:58:03 +01:00
54c03a25b4
Merge branch 'master' of ssh://git.taler.net/exchange
2022-11-04 12:38:46 +01:00
Christian Grothoff
fb5e62cb41
-typo
2022-11-04 12:37:56 +01:00
5cfb9194a7
Merge branch 'master' of ssh://git.taler.net/exchange
2022-11-04 12:37:36 +01:00
035749952b
-extension_... -> policy_...
2022-11-04 12:37:29 +01:00
Christian Grothoff
e51c000e00
swap
2022-11-04 12:36:51 +01:00
752f102738
policy extensions and age restriction refactoring
...
- refactoring of extension-plugin-mechanism
- refactoring of age restriction extension
- added policy extensions plugin plumbing
- added DB schema and api
- policy_details
- policy_fulfillments
2022-11-04 12:18:16 +01:00
Christian Grothoff
92153a7954
-fix SQL
2022-11-03 23:56:01 +01:00
Christian Grothoff
d35dd38a6f
-fix
2022-11-03 22:24:26 +01:00
Christian Grothoff
dded43aafa
-fix wad_fee
2022-11-02 18:49:57 +01:00
Christian Grothoff
789af40b5c
-add missing PREPARE
2022-11-02 17:54:25 +01:00
Christian Grothoff
821c87ccbd
clean up exchange DB logic a bit, add missing function
2022-11-02 12:17:05 +01:00
Christian Grothoff
1d483e2e17
templating helper
2022-11-02 11:20:53 +01:00
Christian Grothoff
481ffc1a0a
remove wad fee, kyc fee and kyc-timeout
2022-11-01 16:43:59 +01:00
Christian Grothoff
22357678a0
purse auditor helper theoretically complete (but DB logic still missing)
2022-11-01 15:15:35 +01:00
Christian Grothoff
2d55647f2a
add support for reserve open/close operations to auditor, begin to split off purse auditing logic
2022-10-30 17:36:57 +01:00
Christian Grothoff
cedcde4939
fix taler-auditor-sync: needs two plugins running in parallel with their own prepare counters
2022-10-22 14:46:52 +02:00
Christian Grothoff
c4bbc4ac56
fix column name
2022-10-22 14:00:50 +02:00
Christian Grothoff
1ae01f75cd
-improve build logic
2022-10-20 13:02:56 +02:00
Christian Grothoff
d70c93ce21
-doxygen
2022-10-15 19:23:51 +02:00
Christian Grothoff
2a852aaeba
-modify DB logic to return open/close requests in reserve history
2022-10-15 19:12:37 +02:00
Christian Grothoff
38876c503f
-refactor DB for reserve history/status routines
2022-10-15 16:19:14 +02:00
Christian Grothoff
eebc030f6c
add logic to return information about purse refunds in coin histories
2022-10-15 10:43:26 +02:00
Christian Grothoff
5f333f817c
add reserve-open-deposit transactions to coin histories
2022-10-14 00:30:52 +02:00
Christian Grothoff
1ee69f6f1d
-towards returning reserve open deposits in coin history
2022-10-13 22:43:22 +02:00
Christian Grothoff
09310cc66e
-implement reserve closure in test
2022-10-13 19:07:25 +02:00
Christian Grothoff
4fc77b9dbf
-work on reserve control test
2022-10-13 15:58:49 +02:00
Christian Grothoff
4702b156dc
-work on reserve control tests
2022-10-12 22:16:40 +02:00
Christian Grothoff
3b34acdb72
-update to latest GNUNET_PQ_make_prepare() API
2022-10-12 14:48:56 +02:00
Christian Grothoff
04565bcb9c
-missing
2022-10-10 12:15:47 +02:00
Christian Grothoff
8fc4a5f12a
-doxygen
2022-10-10 08:59:13 +02:00
Christian Grothoff
3a4515c029
-implement missing select_serial_by_table_ statements
2022-10-10 08:49:47 +02:00
Christian Grothoff
d0debc467e
-more db logic refactoring
2022-10-10 08:20:49 +02:00
Christian Grothoff
c1c02b8a3c
-implementing do_reserves_open logic
2022-10-09 23:23:14 +02:00
Christian Grothoff
ea11a9a0fd
-add missing SQL logic
2022-10-08 22:26:54 +02:00
Christian Grothoff
a9bea142cb
more db refactoring
2022-10-08 21:49:03 +02:00
Christian Grothoff
04cf1dc088
more db refactoring
2022-10-08 21:09:13 +02:00
Christian Grothoff
f2a3a28d46
-more plugin refactoring
2022-10-08 18:07:05 +02:00
Christian Grothoff
b8dada3403
-more db logic refactoring
2022-10-08 12:47:14 +02:00
Christian Grothoff
7e5c6a7e46
-insert routines
2022-10-05 16:38:29 +02:00
Christian Grothoff
67d6bbd736
-work on header towards taler-auditor-sync for new tables
2022-10-05 16:13:12 +02:00
787b5b4544
-syntax error fixed
2022-10-04 21:42:05 +02:00
Christian Grothoff
012249fc09
-fix typos
2022-10-04 19:23:01 +02:00
Christian Grothoff
f7b06e308f
-work on reserve_open DB API
2022-10-04 19:18:43 +02:00
Christian Grothoff
856b8e26c2
-more work on new DB logic
2022-10-03 23:54:12 +02:00
Christian Grothoff
4a487b179c
-implement sketch for pg_do_reserve_open.c
2022-10-03 19:34:11 +02:00
Christian Grothoff
2dbf8cefe0
-work on DB logic
2022-10-03 17:05:29 +02:00
Christian Grothoff
f4c8eb6a9c
-skeletons for new PG functions
2022-10-03 12:46:30 +02:00
Christian Grothoff
da69fd9c72
prepare tables for DD31
2022-09-18 18:04:41 +02:00
Christian Grothoff
bc107b5958
-fix purse deposit when done against non-existing reserve
2022-08-24 09:55:18 +02:00
Christian Grothoff
4edb5050d9
-fix purse merge when done against non-existing reserve
2022-08-24 09:39:09 +02:00
Christian Grothoff
9ed99558e2
-fix clang compiler warnings
2022-08-22 22:45:41 +02:00
Christian Grothoff
a199ba7fe6
-fix some clang warnings
2022-08-22 00:08:28 +02:00
Christian Grothoff
2b4b52c8a8
-doxygen
2022-08-20 22:47:15 +02:00
Christian Grothoff
a046899b2c
-major KYC update, fixes misc. issues
2022-08-20 21:29:36 +02:00
Christian Grothoff
68d2df88f2
allow merge into non-existent reserve if KYC is disabled
2022-08-16 14:36:23 +02:00
Christian Grothoff
96265412cd
(preliminary) work on kycaid plugin
2022-08-15 13:48:13 +02:00
Christian Grothoff
39640c3339
towards testing #4960
2022-08-15 00:01:45 +02:00
Christian Grothoff
1a3793cb1c
-regenerate DBs
2022-08-14 19:10:19 +02:00
Christian Grothoff
f5b99b5282
-work on new KYC logic: remove old DB code
2022-08-14 19:03:30 +02:00
Christian Grothoff
3e6e873367
-start with DB cleanup
2022-08-14 18:59:48 +02:00
Christian Grothoff
74ba46db39
-work on new KYC logic: tests pass again
2022-08-14 18:04:09 +02:00
Christian Grothoff
66307ecc03
-doxygen fixes
2022-08-11 23:50:11 +02:00
Christian Grothoff
1009084e94
major rework of the KYC logic, making it more configurable, not complete, but tests pass again
2022-08-11 23:35:33 +02:00
Christian Grothoff
3f99e4f3f8
-implement new kyc-webhook endpoint
2022-08-07 15:35:13 +02:00
Christian Grothoff
8800d0df9b
-fix schema use
2022-08-06 22:10:33 +02:00
Christian Grothoff
b533026632
adding kyclogic plugin template
2022-08-05 15:08:47 +02:00
Christian Grothoff
73b099cfd5
-add new KYC amount iteration DB functions
2022-08-05 14:22:08 +02:00
Christian Grothoff
4724867794
-first pass at new KYC DB API
2022-08-05 13:32:27 +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
544fbd4fe9
-doxygen
2022-07-30 11:04:45 +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
dc26b2db4c
-ensure single transaction for exchange-0001.sql / shard-0001.sql
2022-07-28 22:27:23 +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
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
Christian Grothoff
282bbb0b62
-fix typos
2022-07-06 23:08:53 +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
7201ce3166
-handle withdraw CS nonce reuse more nicely
2022-07-05 12:56:55 +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
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
615b4621e3
-implement DB logic for forcing reserve close
2022-07-04 23:40:49 +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
Sebastian
6e8be2a0b4
do not depend on umask bits
2022-06-27 16:59:32 -03:00
Christian Grothoff
7b62174d00
-fix typos
2022-06-26 17:09:30 +02:00
Christian Grothoff
fd9fc9f0cd
-fix misc doxygen warnings, code clean up
2022-06-26 17:08:17 +02:00
Christian Grothoff
ec2d596b46
-fix initialization issue
2022-06-20 14:28:28 +02:00
Christian Grothoff
bad572a010
-add missing checkpointing logic
2022-06-19 14:04:41 +02:00
Christian Grothoff
f6a7d4a1ed
-more DB logic for taler-helper-auditor-reserves
2022-06-15 22:31:44 +02:00
Christian Grothoff
eccf37e450
-more DB prep work towards reserve auditing with p2p payments
2022-06-15 20:49:39 +02:00
Christian Grothoff
963477e064
-fix comments
2022-06-14 15:57:48 +02:00
Christian Grothoff
58a0882909
-towards coin audits with purse deposits
2022-06-13 15:31:52 +02:00
Christian Grothoff
7876bc0600
-prevent editing generated files
2022-06-13 09:46:31 +02:00
Christian Grothoff
03cfd2b1e5
-add default(0)
2022-06-13 09:44:56 +02:00
Christian Grothoff
6d16958a5c
fix #7255
2022-06-12 22:47:32 +02:00
Christian Grothoff
71a42d2be8
fix #7241
2022-06-12 22:35:51 +02:00
Christian Grothoff
393ae7f9a3
-add dB logic for auditor iteration over purse deposits
2022-06-12 17:23:36 +02:00