Commit Graph

82 Commits

Author SHA1 Message Date
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
2152a6936e
eliminate use of exchange's /admin/add/incoming with fakebank in taler-exchange-benchmark 2017-12-10 19:00:19 +01:00
Christian Grothoff
499247a480
fixing #5178 2017-11-29 20:23:08 +01:00
Christian Grothoff
2f2930f1ba
major API refactoring, adding planchet generation and coin extraction APIs to the Taler crypto library, thereby simplifying code in withdraw, refresh, tipping, payback and testcases; slight API incompatibilities to previous versions are introduced 2017-10-31 14:02:54 +01:00
Christian Grothoff
e4fe0dc87e
exit more nicely if command line arguments were wrong 2017-10-17 19:53:43 +02:00
Christian Grothoff
837fcd515c
use proper return value, some c99 changes 2017-10-06 22:13:28 +02:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash 2017-10-06 20:02:28 +02:00
Christian Grothoff
d77c4160ec
implement logic to check protocol version compatibility (#5035) 2017-07-01 14:15:26 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879) 2017-05-29 01:15:41 +02:00
Christian Grothoff
57964b6ae9
fix indentation 2017-05-04 20:19:57 +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
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00
Christian Grothoff
8d9dc14227
renaming GNUNET_GETOPT-symbols to match latest changes in GNUnet 2017-03-25 23:39:30 +01:00
Christian Grothoff
ae3e850c94
update getopt config parsing style to match 'getopt' GNUnet branch API change 2017-03-15 12:01:06 +01:00
Christian Grothoff
4d2faa5ec9
changing wire plugin specification from [exchange]WIREFORMAT to [exchange-wire-PLUGIN]enable=YES/NO 2017-03-03 19:24:08 +01:00
Florian Dold
92246c3e88
remove transaction_id, only one payment per proposal allowed 2017-02-07 15:09:10 +01:00
Florian Dold
8c820b6916
contract terminology renaming (#4877) 2017-02-06 15:43:06 +01:00
Christian Grothoff
f032706fef
fixing taler-benchmark build issues introduced by recent API changes 2016-10-20 21:20:31 +02:00
Christian Grothoff
265fc74b65 check return values, fix use of uninit memory on certain error handling paths 2016-09-23 16:52:13 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
9035b9d324 -distfix 2016-06-20 17:45:02 +02:00
Marcello Stanisci
17c8741e20 typo 2016-06-16 11:22:07 +02:00
Marcello Stanisci
c22a25c22b typo 2016-06-16 00:22:20 +02:00
Christian Grothoff
8c7406cb42 check refresh amounts add up correctly, fix linker issue 2016-06-15 22:55:05 +02:00
Christian Grothoff
c38a7c5518 more sanity checks, better clean up 2016-06-15 22:55:05 +02:00
Christian Grothoff
754c4ef24c nicer reports
-fix leak

-fix leaks
2016-06-15 22:55:02 +02:00
Christian Grothoff
0c3f6dde25 add support to collect basic metrics and to terminate automatically 2016-06-15 22:55:02 +02:00
Christian Grothoff
c2bb85ffdd first working version of benchmark logic 2016-06-15 22:55:01 +02:00
Christian Grothoff
f59246e763 clean up blobs
clean up blobs

clean up blobs

clean up blobs

pass -c option to taler services, ship with reasonable config

exclude live-keys from config
2016-06-15 22:54:58 +02:00
Christian Grothoff
3876b70eb4 merge refresh closure into struct Coin 2016-06-15 16:42:43 +02:00
Christian Grothoff
e4b9a151a6 restructure benchmark logic so that we can schedule each operation independently 2016-06-15 16:36:17 +02:00
Christian Grothoff
b31c62039d avoid passing int's as void*'s in benchmark logic 2016-06-15 16:04:29 +02:00
Christian Grothoff
7588f08238 make exchange URI a command-line option 2016-06-15 15:41:17 +02:00
Christian Grothoff
c32cc081ee misc minor stylistic fixes to benchmark tool: 2016-06-15 15:09:57 +02:00
Marcello Stanisci
7b9272d3e8 left=0 after successful reveal 2016-06-14 15:58:25 +02:00
Marcello Stanisci
1a7619d54e comments 2016-06-14 15:53:48 +02:00
Marcello Stanisci
a34a2873ca reconstructing array of denominations for coins gotten
by melting dynamically; as reported in msg (0010890) of
#4576'
2016-06-14 15:51:58 +02:00
Marcello Stanisci
18c22e3e2e fixing corrupted DLL (resulting from double call to json_decref()) 2016-06-13 23:40:00 +02:00
Christian Grothoff
62b7bbabed Merge branch 'master' of git+ssh://git.taler.net/var/git/exchange 2016-06-13 16:36:13 +02:00
Christian Grothoff
6cd71bebbf implement #4569 2016-06-13 16:36:10 +02:00
Marcello Stanisci
738d0d008e adding re-withdrawing of spent and non-refreshed coins 2016-06-13 15:42:08 +02:00
Marcello Stanisci
4f4bad310b placing refreshed coins where all coins are 2016-06-11 18:01:57 +02:00
Marcello Stanisci
6bd7d2fc85 defining struct for refreshed coins 2016-06-11 17:35:15 +02:00
Marcello Stanisci
3d9e2b89be addressing #4572 2016-06-11 16:31:33 +02:00
Marcello Stanisci
afb10e1d9e fixing segfault (due to a double free) 2016-06-11 16:11:00 +02:00
Marcello Stanisci
809cf5d604 polishing comments 2016-06-11 16:07:33 +02:00
Marcello Stanisci
d7f38a845a addressing compiler warnings 2016-06-11 14:33:52 +02:00
Marcello Stanisci
dd7687a5f7 fixing segfault 2016-06-10 22:35:38 +02:00
Marcello Stanisci
1db423907e fixing melting according to the refresh_probability=1 used in debugging circumstances' 2016-06-10 16:27:31 +02:00