Christian Grothoff
c782615262
-indent
2023-01-20 15:20:51 +01:00
Christian Grothoff
56cdb7e9e6
skeleton for adding partners
2023-01-20 15:20:19 +01:00
Christian Grothoff
ebb2601278
skeleton for AML officer update
2023-01-20 15:13:22 +01:00
Christian Grothoff
c30ee88336
skeleton for AML decision server handler
2023-01-20 14:47:02 +01:00
Christian Grothoff
3a7045bfca
-fix warning
2023-01-18 14:26:25 +01:00
Christian Grothoff
999209518d
new AML APIs (libtalerexchange)
2023-01-18 14:26:15 +01:00
Christian Grothoff
cda751eaa5
eventually kick out /keys clients also if ksh exists but krd array is empty
2023-01-17 17:53:16 +01:00
Christian Grothoff
c60e6184fd
terminate taler-exchange-offline on invalid inputs
2023-01-17 17:52:39 +01:00
Christian Grothoff
abb692f02d
-run fetch-transactions in auditor test to avoid non-deterministic failure
2023-01-17 15:33:36 +01:00
Christian Grothoff
9091c32c0f
move state to inner URL
2023-01-16 18:59:28 +01:00
Christian Grothoff
190a1b68b0
fix #7594 : skip test if DB not setup
2023-01-16 18:17:15 +01:00
Christian Grothoff
ab7c676f49
-typos
2023-01-16 17:47:16 +01:00
Christian Grothoff
faf3f57ce3
do not 500 on empty reserve history by not ignoring undecided purses that may have caused reserve to be created in the first place
2023-01-16 17:45:05 +01:00
Christian Grothoff
8563dcc845
log which subquery failed
2023-01-16 16:47:15 +01:00
Christian Grothoff
ce50b33fba
-fix args
2023-01-16 16:08:23 +01:00
Christian Grothoff
6596e6c723
fix for foreign key constraint problem for free purses on purse creation from reserve
2023-01-16 15:45:35 +01:00
Christian Grothoff
402ca17600
-fix warning
2023-01-16 11:28:13 +01:00
Christian Grothoff
d5619de525
fix test_kyc_api: adapt test logic to improved OAuth2.0 kyc API:
2023-01-16 11:25:18 +01:00
Christian Grothoff
6231c365fd
-fix KYC logic change to work for all plugins and not just OAuth2.0
2023-01-16 11:14:59 +01:00
Christian Grothoff
cbb021b6bf
-fix compiler warning: add missing prototype
2023-01-15 22:58:07 +01:00
MS
50a33389da
libeufin-based bank API test
...
Give Nexus and Sandbox one database each,
in order to reduce concurrent accesses to
the sqlite3 file.
2023-01-13 22:59:22 +01:00
Sebastian
f8ddd0b685
fix kyc-proof handle
...
1.- redirect_uri has an extra slash
2.- response_type=code is required https://www.rfc-editor.org/rfc/rfc6749#section-3.1.1
3.- add more info to "Unexpected response from KYC gateway"
4.- relax the requirements on the login response, marked as optional
5.- redirect_uri should be the same when exchanging the code for the access_token,
6.- remove legi and payto from kyc-proof path
7.- use state to transport h_payto https://www.rfc-editor.org/rfc/rfc6749#section-4.1.1
2023-01-13 12:16:44 -03:00
Christian Grothoff
f487cf43b3
-make LP delay configurable
2023-01-13 10:52:32 +01:00
Christian Grothoff
caaa90d3d8
-make LP delay configurable
2023-01-13 10:51:45 +01:00
Christian Grothoff
0ac0344d84
exchangedb: remove bogus foreign key constraint
2023-01-13 10:42:34 +01:00
Christian Grothoff
168fd80fbf
-do not include long delays in test mode, ever
2023-01-12 17:46:42 +01:00
Christian Grothoff
832097c144
-add missing library dependencies for clean build
2023-01-12 14:14:32 +01:00
Christian Grothoff
07289fd919
-remove duplicate definitions
2023-01-12 13:46:15 +01:00
MS
c6876bfb4f
tests: adjusting the bank URL for the wallet CLI.
...
The wallet CLI needs the bank URL to still end with
"/demobanks/default" to find the Access API endpoints,
as opposed to the latest libeufin-cli that builds those
from the "/"-only base URL.
2023-01-11 18:40:52 +01:00
Christian Grothoff
f2e444a6bb
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-11 17:33:01 +01:00
Christian Grothoff
30c6580c4e
-return EC as part of 451 KYC required replies
2023-01-11 17:32:56 +01:00
eafe3435e9
adjust partition and primary keys commitments and reveals in withdraw-age
2023-01-11 17:21:22 +01:00
Christian Grothoff
8992c30631
-typo
2023-01-11 17:06:59 +01:00
Christian Grothoff
af06ddc8e8
-add a few missing indices/foreign key constraints
2023-01-11 16:43:22 +01:00
Christian Grothoff
ce43a23ddd
-fix linker issue
2023-01-11 16:32:02 +01:00
Christian Grothoff
e2e04d8c8e
-purge libeufin DB before launch
2023-01-11 16:20:02 +01:00
Christian Grothoff
5a5e0c3723
remove demobanks/default everywhere in URLs, no longer needed
2023-01-11 16:04:04 +01:00
Christian Grothoff
cf7e0ccce6
-DCE
2023-01-11 15:54:12 +01:00
Christian Grothoff
b6f9f0040b
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-11 15:48:02 +01:00
Christian Grothoff
4dc7775ec4
-remove pybank remenants
2023-01-11 15:47:58 +01:00
e6929fd3ee
choose correct partition pivot and denormalization for withdraw-age related tables
2023-01-11 15:23:57 +01:00
Christian Grothoff
5ea311f9f6
-fix example KYC config options
2023-01-11 13:03:40 +01:00
Christian Grothoff
18515a2374
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-11 12:05:29 +01:00
Christian Grothoff
f85fe853ce
-no drop
2023-01-11 12:05:19 +01:00
Joseph
5de648b0f6
new functions for inserting into link_data ready_deposit refunds
2023-01-11 05:55:14 -05:00
23626c02c7
added schema for withdraw with age restriction
2023-01-10 21:56:56 +01:00
63e222d049
-fix multiple definitions of same variable in Makefile.am
2023-01-10 15:24:01 +01:00
Christian Grothoff
1df72de087
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-10 13:36:02 +01:00
Christian Grothoff
b41ffd1a1a
-more consistent naming of KYC_PERSONA options
2023-01-10 13:35:57 +01:00
Christian Grothoff
0cf46d8e59
-add index on shard
2023-01-09 19:35:16 +01:00
Christian Grothoff
d782dd7f54
wirewatch: ensure wirewatch doesn't busy-loop even if the server errors or ignores long-polling
2023-01-07 13:53:59 +01:00
Christian Grothoff
6cb8b68bd0
support md in TOS
2023-01-06 22:22:21 +01:00
Joseph
28c3ae47de
try batch1 with cursor
2023-01-06 11:15:32 -05:00
Joseph
1a94db3d49
some changes to batchtest
2023-01-06 11:06:02 -05:00
Joseph
37f294b6ad
modifications to batch1
2023-01-06 11:06:02 -05:00
Christian Grothoff
ade221f974
-fix crash in wirewatch if badly configured
2023-01-06 15:26:10 +01:00
Christian Grothoff
62a6142a8d
-remove warning
2023-01-06 13:35:03 +01:00
Christian Grothoff
7ee7790ac4
use different sleep when idle vs. when conflicting in wirewatch
2023-01-06 13:34:01 +01:00
Christian Grothoff
463b3af4ea
-saner logging
2023-01-06 13:30:48 +01:00
Christian Grothoff
cea4e6ba61
add index on end row
2023-01-06 13:21:18 +01:00
Christian Grothoff
63db50b2b1
-log origin of serialization errors
2023-01-06 13:14:31 +01:00
Christian Grothoff
e58b96e203
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-06 13:12:25 +01:00
Christian Grothoff
4d00c34829
-log origin of serialization errors
2023-01-06 13:12:18 +01:00
Joseph
cc07a75424
some corrections applied to batch1
2023-01-06 07:07:14 -05:00
Joseph
865f3aca19
corrections applied to batch 1
2023-01-06 06:16:52 -05:00
Joseph
043c46c59d
modifications applied to batch test...
2023-01-05 09:22:16 -05:00
Joseph
d805c54052
modifications on batch test again
2023-01-05 07:55:07 -05:00
Joseph
7933815ce6
corrections applied to batch test
2023-01-05 06:07:20 -05:00
Joseph
d1491fb421
some modif
2023-01-04 10:14:12 -05:00
Joseph
069708205c
some modifications for batch_test
2023-01-04 09:43:47 -05:00
Joseph
2eb59d9135
some corrections to batch2
2023-01-04 07:44:34 -05:00
Joseph
6457ee56df
corrections applied to batch_test
2023-01-04 07:31:08 -05:00
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
2a4aa9ebae
-missed a file during last commit
2023-01-02 20:41:55 +01:00
8e6b086753
mark parameter as const; free correct object
2023-01-02 17:47:06 +01:00
Christian Grothoff
4f0d85935f
-crypto for AML decision signatures
2023-01-01 18:36:54 +01:00
Christian Grothoff
c5ad98da98
write KYC attribute encryption logic
2022-12-31 15:10:35 +01: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
915d6ddfaa
-debug
2022-12-29 00:35:06 +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
Christian Grothoff
5533bcbf65
add purse delete testing CMD
2022-12-28 22:55:48 +01:00
Christian Grothoff
f662313f79
add purse delete functions to libtalerexchange
2022-12-28 22:42:09 +01:00
Christian Grothoff
b554501621
integrate DELETE into dispatcher, remove legacy KYC code
2022-12-28 22:16:03 +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
aff9dc1848
-define purse deletion C API
2022-12-28 11:14:00 +01:00
Christian Grothoff
9facc2d381
-first sketch for purse delete handler
2022-12-27 22:01:48 +01: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
Christian Grothoff
287370b4cb
-improve logging
2022-12-20 13:26:38 +01:00
Christian Grothoff
443a0405e3
-improve logging
2022-12-20 13:00:00 +01:00
Christian Grothoff
39277c433a
-add missing return
2022-12-20 12:55:42 +01:00
Christian Grothoff
aa59b125f2
-add missing break
2022-12-20 12:45:16 +01:00
Christian Grothoff
55316ec9ff
-typo
2022-12-20 12:33:26 +01:00
Christian Grothoff
b0f746cf3e
-enable batch testing and no DB rest in bank benchmark
2022-12-20 12:32:42 +01: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
709ca561d2
-try to fix wirewatch loop
2022-12-19 15:54:47 +01:00
Christian Grothoff
8f33fe5311
-try to fix wirewatch loop
2022-12-19 15:53:14 +01:00
Christian Grothoff
97f46a01cd
-try to fix wirewatch loop
2022-12-19 15:41:28 +01:00
Christian Grothoff
649619840b
-try to fix wirewatch loop
2022-12-19 15:41:11 +01:00
Christian Grothoff
c164863db8
-try to fix wirewatch loop
2022-12-19 15:03:40 +01:00
Christian Grothoff
91f7925324
-try to fix wirewatch hang
2022-12-19 14:58:49 +01:00
Christian Grothoff
017e6b97cf
-try to fix wirewatch hang
2022-12-19 14:56:49 +01:00
Christian Grothoff
d5c088b17c
-fix response code being reported incorrectly
2022-12-19 14:51:10 +01:00
Christian Grothoff
4513cde0df
-be more strict about 200 vs. 204
2022-12-19 14:49:49 +01:00
Christian Grothoff
373673352f
-simplify 200 vs. 204 in fakebank
2022-12-19 14:47:25 +01:00
Christian Grothoff
c4cc1ea13d
-fix 200 vs. 204 in fakebank
2022-12-19 14:41:27 +01:00
Christian Grothoff
80660f2d88
return 204 on empty transaction history, as per API
2022-12-19 14:13:55 +01:00
Christian Grothoff
d3a9160e0f
-fix error message
2022-12-19 14:08:26 +01:00
Christian Grothoff
e58ed916d6
-debug dbinit call
2022-12-19 14:03:25 +01:00
Christian Grothoff
5ead879726
-debug dbinit call
2022-12-19 14:01:03 +01:00
Christian Grothoff
93e8e6e0f7
-debug dbinit call
2022-12-19 14:00:28 +01:00
Christian Grothoff
ea140f783b
-debugging'
2022-12-19 13:53:42 +01:00
Christian Grothoff
5630deaca4
-fix includes in tests
2022-12-19 13:43:13 +01:00
Christian Grothoff
24c0969873
ensure Postgres CPPFLAGS are set before libgnunetpq check
2022-12-19 13:29:07 +01:00
Christian Grothoff
a03e4fa72f
-fix crash if dbinit is not found
2022-12-19 13:01:10 +01:00
Christian Grothoff
28dfae3e7c
expose templating API for in-memory data
2022-12-16 16:00:13 +01:00
Christian Grothoff
58983d7455
add asset_type to /keys response
2022-12-11 13:48:44 +01:00
Christian Grothoff
e682f4213e
-improve comment
2022-12-09 13:34:43 +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
21959eebd2
fix FIXME: sign also over balance during account-setup
2022-12-06 13:02:54 +01:00
Christian Grothoff
9e4ac84b6e
force include of taler_util.h, not of taler_crypto_lib.h or taler_amount_lib.h
2022-12-05 14:03:43 +01:00
Christian Grothoff
597c9950a3
adapt build to latest GNUnet without gnunet/platform.h
2022-12-05 12:55:15 +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
3583885978
-typos
2022-11-21 14:44:09 +01:00
Christian Grothoff
e82cbd05b6
-fix NPE
2022-11-21 00:53:03 +01:00
Christian Grothoff
a400aa0fc1
Merge branch 'bug-7276'
2022-11-20 21:55:12 +01:00
Christian Grothoff
e033f82dc0
-implement missing testing checks
2022-11-20 21:53:32 +01:00
496a13f35e
retry test after 2s sleep; workaround for #7445
2022-11-20 16:34:29 +01:00
8250d830b6
Call TEH_keys_update_state on extension config change
...
Fixes #7266
Also better API:
- TEH_keys_get_state and
- TEH_keys_get_state_for_management_only
2022-11-20 12:36:54 +01:00
Christian Grothoff
baeb59ee13
fix wirewatch
2022-11-18 10:46:00 +01:00
Christian Grothoff
30997afc7f
-more work on wirewatch revision
2022-11-17 21:50:20 +01:00
Christian Grothoff
a2371912ee
-fix build issues
2022-11-17 17:38:33 +01:00
Christian Grothoff
3d4baa9969
-code cleanup
2022-11-17 16:58:50 +01:00
Christian Grothoff
20afebe72a
-update testing cmd to new bank API
2022-11-17 13:43:26 +01:00
Christian Grothoff
2d9ff55964
-update testing cmd to new bank API
2022-11-17 13:40:14 +01:00
Christian Grothoff
741831e87b
bank API refactoring for #7276 (incomplete)
2022-11-17 13:28:15 +01:00