Commit Graph

21 Commits

Author SHA1 Message Date
Christian Grothoff
9c515d218b
use uint64_t for serial_id 2019-04-22 21:35:19 +02:00
Marcello Stanisci
054fe2fb05
Address more warnings on types. 2019-04-12 15:56:48 +02:00
Marcello Stanisci
ed0da1fdb3
/history-range.
Implementing the "lib" and "testing-lib" functions to use it.
2019-04-08 23:56:46 +02:00
Marcello Stanisci
15c1a877c6
/history API semantics extended.
That API has now a new 'ordering' flag that lets the
client choose what ordering the results should have:
ascending or descending.

In particular, this change adapted the fakebank and
tests logic to such introduction.
2018-12-14 19:25:42 +01:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
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-04-02 14:29:44 +02:00
Florian Dold
e318edb5e5
use url instead of uri consistently 2018-01-30 01:38:04 +01:00
Christian Grothoff
042616899f
largely fix #5077 2017-12-06 19:24:00 +01:00
Christian Grothoff
7c28823caf
handle base32-wire transfer subject being followed by space+exchange base url in wire plugin and fakebank 2017-05-16 11:05:00 +02:00
Christian Grothoff
18a020dd02
implement fakebank support (incl. tests) for #5005/#4964/4959 2017-05-07 21:11:56 +02:00
Christian Grothoff
f4df63e448
adding support for transaction history to wire plugin API (#4959) 2017-05-04 18:35:53 +02:00
Christian Grothoff
234dbcc7b7
switch bank api to new authentication method API 2017-05-04 15:18:43 +02:00
Christian Grothoff
405859d068
implement #4993 2017-05-04 11:19:00 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00
Christian Grothoff
397c718809
implementing #4921: add base URL to wire transfers 2017-03-02 06:26:12 +01:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
7496a03978 replace bank_api_context with libgnunetcurl 2016-04-17 18:03:01 +02:00
Christian Grothoff
ac950fbe61 switch to wid to comply with spec 2016-03-23 11:34:24 +01:00
Christian Grothoff
531272a92a towards fixing #4230 2016-03-02 21:02:46 +01:00
Christian Grothoff
67bc16d9eb update bank-lib to reflect API discussions 2016-01-29 11:39:45 +01:00
Christian Grothoff
ccb4ac92a3 more work on wire plugin 2016-01-25 11:08:19 +01:00
Christian Grothoff
941cb8182f adding first version of thebank-lib 2016-01-25 10:20:40 +01:00