Commit Graph

18 Commits

Author SHA1 Message Date
Christian Grothoff
f930a8c9d0
simplify further 2020-12-17 15:46:52 +01:00
Christian Grothoff
6f6c71a8d3
load fees from DB instead of from config, also in wire tools 2020-12-16 19:23:29 +01:00
Christian Grothoff
f486df99c8
fail if exchange-account configuration is definitively wrong (#5642) 2020-08-28 23:43:05 +02:00
Christian Grothoff
e428783e2e
GNUNET_free_non_null is gone, use GNUNET_free 2020-07-05 16:56:41 +02:00
Christian Grothoff
3404fda463
typos 2020-03-31 20:57:11 +02:00
Christian Grothoff
83631bc98f
split reserve closing from main aggregation logic 2020-03-12 10:11:24 +01:00
Christian Grothoff
ffcadbff8c
code cleanup (comments, scoping, naming, indentation) 2020-03-07 00:28:07 +01:00
Christian Grothoff
8ce6d32f63
beautification 2020-01-20 01:23:02 +01:00
Florian Dold
c87eb30e78
some comments on aggregator 2020-01-20 00:07:45 +01:00
Florian Dold
cb58740fbd
remove redundant METHOD option, we can derive it from PAYTO_URI 2020-01-19 19:12:47 +01:00
Florian Dold
6074790867
config syntax for accounts 2020-01-19 18:48:23 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL 2020-01-19 17:03:19 +01:00
Florian Dold
572f350660
add fixme 2020-01-18 01:21:38 +01:00
Christian Grothoff
9443c10d7f
major refactoring, eliminating wire-plugins and moving towards new bank API. main code compiles, testcases known to fail, code sure not to fully work yet 2020-01-11 15:20:17 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules 2019-10-31 12:59:50 +01:00
Florian Dold
eb55997084
re-format code 2019-08-25 16:18:24 +02:00
Marcello Stanisci
6a8c5209c3
fix leaks. 2018-06-14 11:49:20 +02: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