Christian Grothoff
13d90bb1a3
on idempotent deposit, just skip most of the transaction
2023-02-19 21:46:15 +01:00
Christian Grothoff
e2fe36a0be
fix typo
2023-02-19 21:05:36 +01:00
Christian Grothoff
95e3087984
expose now returned purse_expiration in exchange API
2023-02-19 18:32:38 +01:00
Christian Grothoff
9a841f6047
implement #7706
2023-02-19 18:30:04 +01:00
Christian Grothoff
d49a0536ad
-fix more memory leaks
2023-02-19 13:14:16 +01:00
Christian Grothoff
fe79f6af9c
-fix memory leak
2023-02-19 13:11:57 +01:00
Christian Grothoff
0fe0c414e2
check currency matches before proceeding
2023-02-19 12:32:41 +01:00
Christian Grothoff
b414183283
-doxygen fixes
2023-02-19 11:22:53 +01:00
Christian Grothoff
2fd87736b4
also inform about AML-triggered KYC requirement in GET deposits endpoint
2023-02-19 10:26:06 +01:00
Christian Grothoff
06e2e8022c
return KYC requirement row when AML imposed KYC requirements on withdraw; return KYC choices in new /config endpoint
2023-02-19 10:21:29 +01:00
Christian Grothoff
aa5e7d2ad5
more towards actually allowing AML decisions to trigger KYC
2023-02-17 18:24:20 +01:00
Christian Grothoff
86e0f2c70d
fix memory leak and transaction error handling related to KYC
2023-02-17 16:57:29 +01:00
Christian Grothoff
87a78c6f8c
add code to sanity-check KYC configuration and KYC decisions
2023-02-16 16:38:20 +01:00
4d2d0473c3
remove obsolete taler-crypto-worker
2023-02-15 18:32:34 +01:00
Christian Grothoff
afe3f70d33
begin API change to allow AML officers to trigger KYC process
2023-02-14 14:26:00 +01:00
Christian Grothoff
437e6ec86a
-fix test FTBFS
2023-02-14 13:01:35 +01:00
Christian Grothoff
57e2f38bd2
-fix notify_s argument passing
2023-02-13 21:12:00 +01:00
Christian Grothoff
a79e50505b
-add missing option
2023-02-13 21:05:05 +01:00
Christian Grothoff
dc40f6c679
work on AML notification logic
2023-02-13 16:00:37 +01:00
Christian Grothoff
3760d43097
tolerate NULL cleanup functions in commands in batches
2023-02-13 12:21:56 +01:00
Christian Grothoff
6db4bdbe6e
-more work on AML triggers for P2P transfers
2023-02-12 22:02:51 +01:00
174022907b
fix confusing log
2023-02-12 17:53:51 +01:00
Christian Grothoff
923ff3126e
-work on AML trigger logic
2023-02-12 14:39:54 +01:00
Christian Grothoff
19132b6716
-start on AML work (incomplete)
2023-02-09 17:54:14 +01:00
Christian Grothoff
d0b43b0e6a
fix get_link_data logic
2023-02-07 12:27:45 +01:00
Christian Grothoff
5c983bd05e
-fix negation for shutdown of PG
2023-02-06 18:37:05 +01:00
Joseph
c0e6ce7519
update with sort in c code
2023-02-06 08:58:57 -05:00
Christian Grothoff
6d3efbe900
-debugging batch reserves_in notification logic: success: pg_notify does not work, identifier vs. string
2023-02-05 21:59:41 +01:00
Christian Grothoff
f079cff4ae
-fix transaction issue in exchange test
2023-02-05 20:15:26 +01:00
Christian Grothoff
64b2bc4558
-fix FTBFS of exchange test
2023-02-05 20:13:40 +01:00
Christian Grothoff
ab03ba16e9
exchangedb: use partial index instead of materialized tables deposits_by_ready and deposits_by_matching; remove now broken code; rename benchmarks to use perf_-prefix and correspond to function they benchmark
2023-02-05 19:11:47 +01:00
Christian Grothoff
e66087987f
-add missing file
2023-02-04 21:55:56 +01:00
Christian Grothoff
5a18e955eb
-fix AML decision update logic and history fetch logic
2023-02-04 21:54:47 +01:00
Christian Grothoff
47b9ef598d
-deduplicate configs
2023-02-04 18:05:36 +01:00
Christian Grothoff
4c5394fd4d
-doxygen typos
2023-02-04 16:09:31 +01:00
Christian Grothoff
19da4bd638
add tests for new AML logic, plus related bugfixes
2023-02-04 16:01:46 +01:00
Christian Grothoff
c3243aa39f
implement testing_api_cmd_check_aml_decision
2023-02-03 14:06:17 +01:00
Christian Grothoff
f6877449eb
implement testing_api_cmd_take_aml_decision.c
2023-02-03 12:57:04 +01:00
Christian Grothoff
e0687b90f1
implement testing_api_cmd_set_officer
2023-02-03 11:29:05 +01:00
Christian Grothoff
ba3b53cd27
-refund deadline should be optional/can be 0
2023-02-02 22:21:44 +01:00
Christian Grothoff
a703171f08
add logic to parse AML decisions response
2023-02-02 17:16:13 +01:00
Christian Grothoff
f60b09f8ef
add logic to parse AML decision response
2023-02-02 17:06:47 +01:00
Christian Grothoff
3898054b10
more work on KYC/AML decision inspection
2023-02-02 14:55:56 +01:00
Christian Grothoff
eab95d0154
draft for the AML GET decision endpoint
2023-02-02 12:03:55 +01:00
Christian Grothoff
915542e69c
first draft of implementation of GET AML decisions endpoint
2023-02-02 11:40:44 +01:00
Christian Grothoff
f8ff9c996f
add 2nd AML decision lookup API (skeleton only)
2023-02-01 17:05:11 +01:00
Christian Grothoff
e469e6698e
start work on AML decision query API
2023-02-01 17:00:51 +01:00
Christian Grothoff
f0567567fe
draft new AML API
2023-02-01 16:43:02 +01:00
Joseph
d93006c354
update link data test
2023-01-30 09:38:16 -05:00
Joseph
09c043c177
update test link data
2023-01-30 09:12:36 -05:00
Joseph
4bb96abc97
test for link data
2023-01-30 08:45:51 -05:00
Christian Grothoff
a1c0c2fafd
add test for KYC required on reserve close
2023-01-29 21:52:07 +01:00
Christian Grothoff
e8c8aa9efe
use correct attribute name in test
2023-01-29 14:12:19 +01:00
Christian Grothoff
ff202ef296
KYC: misc. fixes to attribute attestation logic
2023-01-29 13:58:56 +01:00
Christian Grothoff
99753a5d31
KYC: fix API call and memory leak
2023-01-28 17:45:56 +01:00
Christian Grothoff
92f16aad51
-misc fixes
2023-01-28 17:08:51 +01:00
Christian Grothoff
2aff69e7ec
fix Persona attribute extraction from webhooks
2023-01-28 14:06:19 +01:00
Christian Grothoff
8c5a12302e
-debug KYC webhook logic
2023-01-28 12:20:18 +01:00
Christian Grothoff
35d50ba36a
add persona attribute conversion logic
2023-01-27 22:47:42 +01:00
Christian Grothoff
0eb6f73176
add persona attribute conversion logic
2023-01-27 22:39:16 +01:00
Christian Grothoff
85e44ceea6
work on kycaid attribute extraction
2023-01-27 17:42:56 +01:00
Christian Grothoff
59716ffdc4
add logic to store attributes
2023-01-27 16:09:25 +01:00
Christian Grothoff
d79c23aaab
add logic to store attributes
2023-01-27 15:10:25 +01:00
Christian Grothoff
6da3cbedd4
-ignore new tests
2023-01-27 14:44:32 +01:00
Christian Grothoff
32fac55f7e
update GET attest logic now that it is clear that we must store KYC attributes locally:
2023-01-27 14:43:25 +01:00
Christian Grothoff
42bd2dadcf
address DB failure error handling in KYC check
2023-01-27 14:19:14 +01:00
Christian Grothoff
c239ba6f18
address DB failure error handling in KYC check
2023-01-27 14:10:40 +01:00
Christian Grothoff
7e8e2f4317
Merge branch 'master' of git+ssh://git.taler.net/exchange
2023-01-27 10:12:08 +01:00
Christian Grothoff
f199b45e52
-fix path
2023-01-27 10:11:59 +01:00
Joseph
10cf3b3b65
fix SQL syntax
2023-01-23 09:14:25 -05:00
Joseph
54fa07f5c7
tests for refunds_by_coin and ready_deposit
2023-01-23 07:57:54 -05:00
Christian Grothoff
a273b176da
-towards storing KYC attribute data
2023-01-22 21:51:46 +01:00
Christian Grothoff
c2eee251c2
add new subcommands for AML staff management and partner exchanges
2023-01-22 19:40:47 +01:00
Christian Grothoff
d53dd753e1
-typos
2023-01-22 15:41:08 +01:00
Christian Grothoff
f221db1c03
-address FIXMEs
2023-01-22 15:24:45 +01:00
Christian Grothoff
f8bfc4dc9d
address DB FIXMEs for AML
2023-01-22 15:13:34 +01:00
Christian Grothoff
d131951fbe
add new endpoints to main dispatcher
2023-01-21 23:08:29 +01:00
Christian Grothoff
31286b66f2
-integrate new AML APIs into build
2023-01-21 21:38:50 +01:00
Christian Grothoff
5b26bd3b83
-new testing APIs
2023-01-20 19:11:36 +01:00
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