summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
AgeCommit message (Collapse)Author
2024-03-08add taler-exchange-dbinit -a optionChristian Grothoff
2024-03-06disable merge join to 'fix' #8452Christian Grothoff
2024-02-13set 'finished' to TRUE when KYC process is done (either way, successful or ↵Christian Grothoff
failure); should fix #8055, needs testing
2024-01-15fix confusing error messageChristian Grothoff
2023-12-23Added appropriate response on contract-conflict during depositÖzgür Kesim
In case of a detected conflict during deposit, because (merchant_pub, h_contract_terms) already existed, with different other field values, we now provide the client an error response that contains the h_wire. This way, the client can retrieve further details about the conflicting transaction via /deposits/$H_WIRE/$MERCHANT_PUB/$H_CONTRACT_TERMS/$COIN_PUB Fixes #8002
2023-12-21[wip, #7267] more refined denomination conflict response during depositÖzgür Kesim
If a coin was known but with a different denomination, return to the client an error response that contains the denomination's public key and the corresponding signature of the provided coin.
2023-12-18disable auto_explainChristian Grothoff
2023-11-12keep redirect_url in KYC table to improve idempotency of GETChristian Grothoff
2023-10-15remove dead do_withdraw codeChristian Grothoff
2023-09-18remove coin and reserve histories from exchange repliesChristian Grothoff
2023-09-14more work towards auditor support for AML/KYCChristian Grothoff
2023-09-10major exchange DB schema change: store common properties of batch deposit in ↵Christian Grothoff
batch_deposits table, and coin-specific ones in coin_deposits table; plus minor cleanups
2023-07-30[pq] use GNUNET_PQ_get_oid_by_name consistentlyÖzgür Kesim
2023-07-28FAILING attempt to make echange.reserve use taler_amountÖzgür Kesim
Fails with > TALER_PREFIX=/usr/local ./test-exchangedb-postgres 2023-07-28T19:02:25.150845+0200 /home/oec/projects/taler/exchange/src/exchangedb/.libs/test-exchangedb-postgres-2559159 WARNING Could not run PSQL on file /usr/local/share/taler//sql/exchange/drop.sql: psql exit code was 3 2023-07-28T19:02:32.488085+0200 pq-2559159 ERROR Query `call_withdraw' failed with result: invalid input syntax for type bigint: "(1,1000)"/(null)/ERROR: invalid input syntax for type bigint: "(1,1000)" CONTEXT: PL/pgSQL function exchange_do_withdraw(bytea,taler_amount,bytea,bytea,bytea,bytea,bytea,bigint,bigint,boolean) line 23 at SQL statement /PGRES_FATAL_ERROR/ERROR: invalid input syntax for type bigint: "(1,1000)" CONTEXT: PL/pgSQL function exchange_do_withdraw(bytea,taler_amount,bytea,bytea,bytea,bytea,bytea,bigint,bigint,boolean) line 23 at SQL statement 2023-07-28T19:02:32.488146+0200 /home/oec/projects/taler/exchange/src/exchangedb/.libs/test-exchangedb-postgres-2559159 ERROR Assertion failed at test_exchangedb.c:1428.
2023-07-28[pq] added helper to load oids of composite typesÖzgür Kesim
- TALER_PQ_load_oids_for_composite_types added - Called during postgres-initialization
2023-06-26[age-withdraw] age-withdraw commit- and reveal-handlers implemented, 12/nÖzgür Kesim
The handlers for the commit- and reveal-phases of the age-withdraw HTTP-endpoints are implemented, yet not active. Still missing: - support for age-withdraw is missing in lib/. - tests
2023-05-17implement logic to conditionally trigger AML review based on KYC attributesChristian Grothoff
2023-04-22WiP: age-withdraw, adjust schema and DB-handlers, cleanup FIXME's, 8/nÖzgür Kesim
2023-03-29New sql code for batch ensure coin knownJoseph
2023-03-27some changes for known coinsJoseph
2023-03-27some changes for ensure known coinJoseph
2023-03-01WiP: age-withdraw implementation, part 1/nÖzgür Kesim
Commit phase of the age-withdraw protocol implemented, according to https://docs.taler.net/core/api-exchange.html#withdraw-with-age-restriction
2023-02-12-work on AML trigger logicChristian Grothoff
2023-02-05exchangedb: use partial index instead of materialized tables ↵Christian Grothoff
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-04add tests for new AML logic, plus related bugfixesChristian Grothoff
2022-12-30-C skeletionsChristian Grothoff
2022-12-30-skeleton for new DB API functionsChristian Grothoff
2022-12-27-add do_purse_delete APIChristian Grothoff
2022-12-19-fix error messageChristian Grothoff
2022-12-06plugin updateJoseph
2022-12-06some modifications for batch testJoseph
2022-12-06refactor procedures.sqlChristian Grothoff
2022-11-27more work on SQL refactoringChristian Grothoff
2022-11-27intermediate step in major SQL refactoring (not done at all)Christian Grothoff
2022-11-26-remove shard supportChristian Grothoff
2022-11-21some modifications, there is one error which display (no function matches ↵Joseph
the given name and argument types)
2022-11-21some modifications on batch_test for reserves_inJoseph
2022-11-14remove more functionsJoseph
2022-11-14resolve duplicate prepared statementChristian Grothoff
2022-11-14-fix compiler warningsChristian Grothoff
2022-11-10move few more functionsJoseph
2022-11-08move functions need to recheck insert_aggregation_trackingJoseph
2022-11-08move a few more functionsJoseph
2022-11-08move another functionJoseph
2022-11-08-move two more functionsJoseph
2022-11-07move functions into separate fileJoseph
2022-11-04-typos in arguments fixedÖzgür Kesim
2022-11-04policy extensions and age restriction refactoringÖzgür Kesim
- 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-03-fixChristian Grothoff
2022-11-02clean up exchange DB logic a bit, add missing functionChristian Grothoff