summaryrefslogtreecommitdiff
path: root/src/exchangedb/plugin_exchangedb_postgres.c
AgeCommit message (Collapse)Author
2018-04-02Changing configuration structure to enable multiple accounts.Christian Grothoff
This change enables using multiple wire plugins at the same time. Also, we now distinguish between the wire plugin (i.e. EBICS or taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that the wire plugin is implementing. The "taler-bank" wire method was renamed from "test" to "x-taler-bank". This also changes the format of the /wire response of the exchange, as we now need to return multiple accounts. Note that wire fees are specified per wire method, not per wire account. taler-exchange-keyup now automatically signs all of the /wire responses in the location specified by the configuration. Account identification in wire plugins was changed to use payto://-URLs instead of method-specific JSON fields. Signing and validation of /wire responses was moved from each wire plugin to a generic validation method in libtalerutil (crypto) or libtalerjson (for JSON-formatted inputs). Convenience methods were added to generate JSON for wire accounts (salting, signing). Various section and option names were adjusted to streamline the configuration and make it more consistent overall. Documentation was updated as well.
2018-03-12ensure transaction_name is also set for deferred_wire_out transaction, ↵Christian Grothoff
re-use postgres_start logic
2018-03-12fix #5281 for exchange: do preflight check that an old transaction is no ↵Christian Grothoff
longer running by accident
2018-02-05exchangedb/postgres: handle duplicate wire transfers correctlyFlorian Dold
2018-01-15fix type for bool to match what postgres returns -- 1 byte instead of 4 bytesChristian Grothoff
2018-01-04fix auditor to properly verify wire fee signatures and more gracefully ↵Christian Grothoff
handle arithmetic amount issue
2018-01-03add testcase for 'select_refunds_by_coin'Christian Grothoff
2018-01-02implement select_refunds_by_coin in exchangedb pluginChristian Grothoff
2017-12-09fix enum confusionChristian Grothoff
2017-11-30patch to address #5183: always round time before giving it to DB, tolerate ↵Christian Grothoff
DB answering without rounded time
2017-11-29fixing #5178Christian Grothoff
2017-11-19test select_deposits_missing_wire, fix uninitialized wire_deadline in ↵Christian Grothoff
deposit listing
2017-11-04true/false are keywords, use all-capsChristian Grothoff
2017-10-16add exchangedb function for #4961Christian Grothoff
2017-09-26check json_array_append_new() return values, proper logging on errorsChristian Grothoff
2017-09-12add support for #4840 (/keys cherry picking) to libtalerexchangeChristian Grothoff
2017-07-14add missing indices where neededChristian Grothoff
2017-07-14add UNIQUE constraint on BIGSERIAL columns as that is not automatic in PostgresChristian Grothoff
2017-07-14make reserves_update more canonical, avoiding odd WHERE constraint that is ↵Christian Grothoff
unnecessary
2017-07-14select on denom_pub_hash instead of denom_pub as the hash is a primary keyChristian Grothoff
2017-07-14clean up PQ tables (renamings, remove redunant column), and primarily fix #4751Christian Grothoff
2017-07-04fix #4955 in auditordb, clean up fix in exchangedbChristian Grothoff
2017-07-04eliminate dead macrosChristian Grothoff
2017-06-24migrating auditordb to new API to address #5010Christian Grothoff
2017-06-24convert rest of exchangedb plugin API to fix #5010-issuesChristian Grothoff
2017-06-24fix #5010 for taler-exchange-aggregatorChristian Grothoff
2017-06-24need extra font to build on my systemChristian Grothoff
2017-06-24working on #5010 for aggregatorChristian Grothoff
2017-06-23address #5010 for wirewatchChristian Grothoff
2017-06-23adapt /admin/add/incoming to #5010Christian Grothoff
2017-06-23Fix #5010 for keystateChristian Grothoff
2017-06-22address #5010 for /refresh/meltChristian Grothoff
2017-06-20fixing #5010 for /refresh/revealChristian Grothoff
2017-06-20address #5010 for /refresh/linkChristian Grothoff
2017-06-19fix #5010 for /track/transactionChristian Grothoff
2017-06-19fix #5010 for /track/transferChristian Grothoff
2017-06-19address #5010 for /paybackChristian Grothoff
2017-06-19address #5010 for /refundChristian Grothoff
2017-06-19fixing #5010 for /reserve/withdrawChristian Grothoff
2017-06-19rework /reserve/history to address #5010Christian Grothoff
2017-06-19refactoring /deposit towards new transaction style (#5010)Christian Grothoff
2017-06-19convert another function for #5010Christian Grothoff
2017-06-19convert another function for #5010Christian Grothoff
2017-06-19convert another function for #5010Christian Grothoff
2017-06-15work on #5010Christian Grothoff
2017-06-15remove dead or unnecessary macrosChristian Grothoff
2017-06-11automated refunds of expired reserves now work and tested, fixes #4956Christian Grothoff
2017-06-11a bit more work on #5010Christian Grothoff
2017-06-11match GNUnet API rename, work on #5010Christian Grothoff
2017-06-01start to use extended libgnunetpq API (not finished)Christian Grothoff