aboutsummaryrefslogtreecommitdiff
path: root/src/include
AgeCommit message (Collapse)Author
2023-07-29[pq] added array support for taler_amount composite typeÖzgür Kesim
API added: - TALER_PQ_query_param_array_amount - TALER_PQ_result_spec_array_amount
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-07-27[WiP] added TALER_AMOUNT type to Postgres - first in age_withdrawÖzgür Kesim
- Added a type TALER_AMOUNT (val INT8, frac INT4) to Postgres. - Added PLSQL functions/procedures - amount_normalize(a) - amount_add(a, b) - amount_left_minus_right(l, r, diff, ok bool) - Added PQ-helper functions - TALER_PQ_query_param_amount_tuple() - TALER_PQ_result_spec_amount_tuple() - In table 'age_withdraw', changed fields 'amount_with_fee_val' and '..._frac' into single field 'amount_with_fee' be of type TALER_AMOUNT - Changed functions/stored procedures 'do_age_withdraw' and 'get_age_withdraw' to use new APIs. => make check runs through without errors, age-withdraw and -reveal test passes.
2023-07-26-fix typosÖzgür Kesim
2023-07-26[age-withdraw] WIP - database transaction during reveal works nowÖzgür Kesim
The test for age-restriction still fail, but the database transactions, including passing arrays in/out the PQ-helpers works.
2023-07-26[pq] Added support for some Taler-specific array typesÖzgür Kesim
Added array support for DB-query and -result for - denomination signatures - blinded envelope hases - denomination hashes
2023-07-24[age-withdraw] first tests passÖzgür Kesim
age-withdraw successfully tested (no reveal yet): 1. reserve filled with amount large enough to trigger kyc 2. kyc oauth2 test daemon sets birthday to 2015-00-00 3. usual withdraw fails with CONFLICT and AGE_RESTRICTION_REQUIRED 4. age-withdraw with loo large of an maximum age fails 5. age-withdraw with appropriate maximum age succeeds
2023-07-23kyc logic with birthdate setting test addedÖzgür Kesim
1. Added age-requirement check in withdraw-handler (like in batch-withdraw) 2. In test_exchange_api_age_restriction: - kyc-oauth2 started, with static birthdate in answers - withdraw triggers kyc - second withdraw fails due to age restriction requirements
2023-07-23[kyc] put reserve_pub into legitimization_requirementsÖzgür Kesim
2023-07-23Added reserve_pub to kyc legitimization_processesÖzgür Kesim
Where applicable, the reserve_pub will be passed on to the kcy-legitimization process and persisted along with h_payto. This allows us to set a birthday on the reserve itself, once a related kyc-process has provided one.
2023-07-20-fixes for doxygen complaintsÖzgür Kesim
2023-07-20[age-withdraw] Added testing commands for age-withdraw and -revealÖzgür Kesim
Implemented - TALER_TESTING_cmd_age_withdraw - TALER_TESTING_cmd_age_withdraw_reveal Note: No test is using those commands yet.
2023-07-18[age-withdraw] simplify lib-APIÖzgür Kesim
2023-07-16introduce TALER_TESTING_cmd_exec_wirewatch2Christian Grothoff
2023-07-16-codespell fixÖzgür Kesim
2023-07-16-doxygen fixesÖzgür Kesim
2023-07-15-get taler-exchange-benchmark to workChristian Grothoff
2023-07-15-typo fix fixÖzgür Kesim
2023-07-15-typo fixÖzgür Kesim
2023-07-15[age-withdraw] added TALER_EXCHANGE_age_withdraw_blind APIÖzgür Kesim
2023-07-15[age-withdraw] age-withdraw-reveal lib-API mostly finishedÖzgür Kesim
2023-07-14Merge branch 'age-withdraw' of ssh://git.kesim.org/taler/exchange into ↵Özgür Kesim
age-withdraw
2023-07-14Merge branch 'master' into age-withdrawÖzgür Kesim
2023-07-13merging /keys and /wireChristian Grothoff
2023-07-13-towards reveal response handling in agew-withdraw-revealÖzgür Kesim
2023-07-13towards age-withdraw and -reveal APIÖzgür Kesim
2023-07-11implement 'lost' field for #7883Christian Grothoff
2023-07-11-handle some of the codespell complaintsÖzgür Kesim
2023-07-11-handle doxygen complaintsÖzgür Kesim
2023-07-10use DK age group, not global age groupChristian Grothoff
2023-07-10fix alignment issue, ensure we hash over packed structure to avoid ↵Christian Grothoff
non-determinism
2023-07-10tip -> rewardChristian Grothoff
2023-07-10Tip => RewardChristian Grothoff
2023-07-10Merge branch 'master' of ssh://git.taler.net/exchangeÖzgür Kesim
2023-07-10fix memory leaks reported by valgrindÖzgür Kesim
2023-07-10added expected HTTP-code to loggerÖzgür Kesim
2023-07-06work on keys serialization/deserializationChristian Grothoff
2023-07-04more exchange API refactoringChristian Grothoff
2023-07-03more API clean upChristian Grothoff
2023-07-03more work on API atomizationChristian Grothoff
2023-07-03more work on API atomizationChristian Grothoff
2023-07-03[age-withdraw] added library function for age-withdrawÖzgür Kesim
- Added TALER_EXCHANGE_age_withdraw - Also: Change TALER_EXCHANGE_batch_withdraw and related functions to use GNUNET_CURL_ctx, TALER_EXCHANGE_keys and const char *echange_url
2023-06-27added TALER_adult_age(struct TALER_AgeMask *mask)Özgür Kesim
2023-06-27[testing] start an oauth2 server which returns static birthdatesÖzgür Kesim
2023-06-27added birthdate parserÖzgür Kesim
2023-06-26-ruuid not neededÖzgür Kesim
2023-06-26-comment updatesÖzgür Kesim
2023-06-26Merge branch 'master' into age-withdraw-mergeÖzgür Kesim
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-06-25next round of exchange API atomizationChristian Grothoff