summaryrefslogtreecommitdiff
path: root/src/pq/pq_query_helper.c
AgeCommit message (Collapse)Author
6 daysmove query & result helpers to gnunetChristian Blättler
2024-01-10-fix issuesChristian Grothoff
2024-01-10-fix issuesChristian Grothoff
2024-01-10-fix issuesChristian Grothoff
2024-01-10add TALER_PQ_array_of_amount_currencyChristian Grothoff
2023-12-05Merge branch 'master' into feature/tokensChristian Blättler
2023-12-05add query param functions for blind sign private and public keysChristian Blättler
2023-11-28[pq] add support for array of struct GNUNET_HashCodeÖzgür Kesim
2023-10-25new blind signing code buildsChristian Grothoff
2023-10-10[pq] cleanup of amount tuple type handlingÖzgür Kesim
- add counter for tuple elements to struct - use GNUNET_memcpy instead of casting also, fix format string in test for age_restriction
2023-09-22-misc minor fixesChristian Grothoff
2023-09-01-doxygenChristian Grothoff
2023-08-21postgres does not like 0-padding of VARCHAR, implement proper serializationChristian Grothoff
2023-08-21extend libtalerpq with functions for the amount with currency triplet data ↵Christian Grothoff
type (for merchant backend)
2023-07-30-remove _tuple suffixChristian Grothoff
2023-07-30removing old amount logic from libtalerpqChristian Grothoff
2023-07-30-fix typosÖzgür Kesim
2023-07-30[pq] use GNUNET_PQ_get_oid_by_name consistentlyÖzgür Kesim
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[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-05-10always use GNUNET_memcpyChristian Grothoff
2022-03-02-refactor TALER_AgeMask.mask -> TALER_AgeMask.bitsÖzgür Kesim
also: fix off-by-one in TALER_age_restriction_commit
2022-02-11-simplify structuresChristian Grothoff
2022-02-10-fixes to tests, and half-baked fixes for CS-/link (still fails)Christian Grothoff
2022-02-07fix DB API for generic blinded planchet storageChristian Grothoff
2022-02-04implement withdraw (nonce reuse check missing)Lucien Heuzeveldt
2022-02-04implement CS key handling and csr endpointLucien Heuzeveldt
2021-12-14introducing GNUNET_TIME_Timestamp, recoup now with amountsChristian Grothoff
2021-11-19-fix misc. compiler warningsChristian Grothoff
2021-11-10age restriction progress 2/nÖzgür Kesim
Signed-off-by: Özgür Kesim <oec-taler@kesim.org>
2021-10-31distinguish between blind and non-blind denomination signaturesChristian Grothoff
2021-10-27-resovling more FTBFS issuesChristian Grothoff
2020-03-01removing dead code, using more named constants, checking return values betterChristian Grothoff
2020-01-19fix copyright headers as per CAChristian Grothoff
2019-09-05fix compiler warnings, add assertionsChristian Grothoff
2019-08-25re-format codeFlorian Dold
2019-08-17remove currency field from databasesChristian Grothoff
2017-11-30patch to address #5183: always round time before giving it to DB, tolerate ↵Christian Grothoff
DB answering without rounded time
2017-06-04fixing misc doxygen issuesChristian Grothoff
2016-07-07fixing #4594Marcello Stanisci
2016-02-06move to new libgnunetpq library, simplifying libtalerpqChristian Grothoff