aboutsummaryrefslogtreecommitdiff
path: root/src/wire/test_wire_plugin.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-01-30use url instead of uri consistentlyFlorian Dold
2017-02-08fix #4886Christian Grothoff
2017-02-08fix conditional in test case (exposes underlying failure)Florian Dold
2016-11-18addressing #4803: nicer error messages for invalid wire formatsChristian Grothoff
2016-07-07fixing #4594Marcello Stanisci
2016-04-17fix #4400: add test for amount_round wire plugin APIChristian Grothoff
2016-04-11adding wire plugin tests, resolving #4357Christian Grothoff
2016-04-11adding new test, still failingChristian Grothoff