Commit Graph

146 Commits

Author SHA1 Message Date
Florian Dold
eb55997084
re-format code 2019-08-25 16:18:24 +02:00
Christian Grothoff
4bf425c902
remove currency field from databases 2019-08-17 21:35:21 +02:00
Christian Grothoff
e042792944
also check for master public key consistency in taler-exchange-keyup 2019-06-26 21:19:07 +02:00
Christian Grothoff
258263a510
fix use after free 2019-06-26 21:13:55 +02:00
Christian Grothoff
0f43ab72ae
have taler-exchange-wire check master public key matches 2019-06-26 21:06:35 +02:00
Christian Grothoff
8d26ab35e0
check return value from GNUNET_PROGRAM_run in taler-wire 2019-06-03 00:31:19 +02:00
ng0
c1d6806b57
Refactor for GNUNET_memcmp 2019-04-17 18:13:14 +00:00
Marcello Stanisci
0d3758807b
Better calculation of # DKs 2019-04-11 00:23:28 +02:00
Marcello Stanisci
f3d80b58f6
Make the API-agnostic iterator work.
This allows to build local histories to be matched
against the ones returned by the bank; in particular,
this version builds those stories regardless of /history
or /history-range being run.
2019-04-10 17:07:13 +02:00
ng0
7333c55c53
Fix leftover memcmp 2019-04-08 18:19:26 +00:00
ng0
d77bf8ab53
Refactor for GNUNET_memcmp and _is_zero 2019-04-08 15:45:52 +00:00
Marcello Stanisci
602093e98c
notes 2019-04-08 02:37:46 +02:00
Christian Grothoff
8b3ee47165
fix #includes 2019-04-07 00:01:16 +02:00
Marcello Stanisci
301f287b2b
Test the big lookahead_sign, plus notes. 2019-04-06 20:17:41 +02:00
Marcello Stanisci
9d37f8e026
keyup:_use_ the timestamp given by the user. 2019-04-03 13:47:00 +02:00
Marcello Stanisci
8d979a92c9
syntax 2019-04-02 16:43:49 +02:00
Marcello Stanisci
201d9e315a
Debug 2019-03-27 13:17:05 +01:00
Christian Grothoff
c3b9ebc1ef
fix format string issue in taler-wire, complete work on #5536 revocation file issue (shift location of revocation file and change content to include denom hash) 2019-03-03 00:35:21 +01:00
Christian Grothoff
4dea098f54
actually disable 100 continue 2019-03-02 19:18:12 +01:00
Marcello Stanisci
9ff3c2fce5
UX 2019-02-13 17:59:25 +01:00
Marcello Stanisci
bb44b9b475
Fix #5558. 2019-02-13 17:53:48 +01:00
Marcello Stanisci
c93c62e8d4
Improve UX 2019-02-12 19:03:25 +01:00
Marcello Stanisci
f22ef3e40c
Fix passing of delta. 2019-02-12 18:34:44 +01:00
Marcello Stanisci
8315e15123
Fix transactions list request. 2019-02-12 17:33:52 +01:00
Marcello Stanisci
82f01f111b
Getting transaction history 60% fixed. 2019-02-12 17:13:08 +01:00
Marcello Stanisci
8aa66c6023
Properly shutdown. 2019-02-12 16:06:37 +01:00
Marcello Stanisci
1f007d83fd
4692. Fix global return code. 2019-02-11 19:55:00 +01:00
Marcello Stanisci
398be48872
4692. UX 2019-02-11 19:52:20 +01:00
Marcello Stanisci
014ae3190b
4692. Putting logic to execute wire transfers. 2019-02-11 19:45:51 +01:00
Marcello Stanisci
ed10fc4acc
fix option names 2019-02-11 18:34:58 +01:00
Marcello Stanisci
066f03f95a
4692. Logic to ask for transaction history. 2019-02-11 18:28:14 +01:00
Marcello Stanisci
cd0b9e8e0a
load wire plugin 2019-02-10 18:35:05 +01:00
Marcello Stanisci
4b4a851ab5
fix log 2019-02-10 18:02:19 +01:00
Marcello Stanisci
865bd196ff
4692. Skeleton. 2019-02-10 17:56:52 +01:00
Marcello Stanisci
7286b5f15f
Starting #4692 2019-02-10 17:30:43 +01:00
Marcello Stanisci
d0231022f2
Remove double closing of a "file stream". 2018-11-23 17:48:36 +01:00
Christian Grothoff
60fe2395fd
clean up struct TALER_ExchangeSigningKeyValidityPS
(long-standing fixme: should not have contained the signature itself)
2018-10-27 18:39:12 +02:00
Christian Grothoff
a56e2e34bc
fix #5434 (no more salt in exchange wire replies) 2018-10-06 15:05:06 +02:00
Christian Grothoff
528faeab81
fix #5315, including more testing 2018-09-15 22:20:07 +02:00
Marcello Stanisci
7d2fbc4796
fix path generation. 2018-05-03 10:33:29 +02:00
Christian Grothoff
8ebb4cda07
fix NULL termination of fee list 2018-04-02 16:35:14 +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
Marcello Stanisci
fe6960cce8
Implement new traits-based tests. 2018-02-12 16:12:07 +01:00
Christian Grothoff
229907c6e2
implement taler-bank-transfer, fixes #5195 2017-12-14 15:33:10 +01:00
Christian Grothoff
40244c9ca8
fix reservemod issue with time rounding 2017-12-08 12:45:25 +01:00
Christian Grothoff
c92d88d944
check rval from TALER_amount_to_string 2017-10-06 22:16:28 +02:00
Christian Grothoff
d86a6615cc
really carefully check strtoll() return value before casting to uint64_t 2017-10-06 22:04:51 +02:00
Christian Grothoff
2daa38fcde
fix more leaks 2017-06-04 12:34:12 +02:00
Christian Grothoff
46c7647b27
handle error code returned by TALER_EXCHANGEDB_denomination_keys_iterate 2017-05-09 13:30:55 +02:00
Christian Grothoff
20aad54c3e
remove dead transfer details field from reserves_in (API, exchangedb, etc.) 2017-05-08 13:18:36 +02:00
Christian Grothoff
76545519c6
updating DB schema for new wire history operations and future auditor checks of wire transfers 2017-05-05 13:41:32 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00
Christian Grothoff
164c125528
introducing closing fee 2017-04-17 14:01:55 +02:00
Christian Grothoff
11b8710a5c
implement checking of denomination revocation status in auditor 2017-04-08 22:52:32 +02:00
Christian Grothoff
209076ebd3
implement denomination key revocation logic in exchangedb and taler-exchange-keyup (part of #3887) 2017-04-07 22:37:00 +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
65457396b3
fix use of uninit value 2017-03-05 17:36:58 +01:00
Christian Grothoff
1c84b3d4af
implementing #4932 2017-03-04 18:09:39 +01:00
Christian Grothoff
f406f96129
implement #4929: add wire transfer fee to /wire (but not yet charged by aggregator) 2017-03-03 20:31:29 +01:00
Christian Grothoff
5b3f346ae1
fix return value check 2017-02-14 13:25:44 +01:00
Florian Dold
f3c4d64329 taler-exchange-wire: infer method from JSON if possible 2016-11-19 18:27:38 +01:00
Christian Grothoff
2948fd6466 fix disting: auditor.conf moved 2016-10-10 17:02:03 +02:00
Christian Grothoff
f5a2134da8 move taler-auditor-sign tool to auditor/ direcotory 2016-10-06 16:38:42 +02:00
Marcello Stanisci
64b7126234 strtol -> strtoll, which made the anchor (see signkey generation algorithm)
always point to the 70s, so new signkeys were always generated
2016-09-20 14:30:38 +02:00
Florian Dold
1078a42847 Regenerate keys before withdraw period is over.
Before, we only would create new denomination keys when
the spending period is over.
2016-09-07 17:41:07 +02:00
Marcello Stanisci
59c6856284 fixing #4594 2016-07-07 17:55:25 +02:00
Christian Grothoff
754c4ef24c nicer reports
-fix leak

-fix leaks
2016-06-15 22:55:02 +02:00
Christian Grothoff
f4b013b3d4 fix leaks 2016-06-11 17:11:38 +02:00
Christian Grothoff
ba0146b878 add -g option to taler-exchange-dbinit 2016-05-31 09:16:09 +02:00
Christian Grothoff
c0451f0982 fix #4533 for exchange (breaks interaction with bank for /admin/add/incoming) 2016-05-26 16:38:59 +02:00
Christian Grothoff
8dfb3b87b4 testing refund, fixing bugs, refund test passes 2016-05-21 19:22:03 +02:00
Christian Grothoff
3526c44a38 refactor code to write signing keys in same module where we read them 2016-05-06 18:33:02 +02:00
Christian Grothoff
07d9978fb9 implementing #4449 2016-05-05 17:40:38 +02:00
Christian Grothoff
6040adab4f fixing #4461 2016-05-05 15:03:43 +02:00
Christian Grothoff
458992dc6f fixes for disting 2016-05-04 10:21:35 +02:00
Christian Grothoff
1cbba4bec1 fixing #4462: avoid temporary schemata altogether 2016-05-02 06:36:58 +02:00
Christian Grothoff
b98a204562 fix #4184 2016-05-02 05:10:40 +02:00
Christian Grothoff
f693e25793 introduce refund fee 2016-04-20 01:50:26 +02:00
Christian Grothoff
dda069f5f9 fix linker issue 2016-04-16 19:53:01 +02:00
Christian Grothoff
719b51b65d fix config parsing for dbinit tool 2016-04-16 19:49:53 +02:00
Christian Grothoff
a34891981c make all exchange-tools load configs properly like other Taler tools 2016-04-16 13:57:22 +02:00
Christian Grothoff
3abb3bc372 use user_config_file as well 2016-04-16 13:10:29 +02:00
Christian Grothoff
f552b7e4c0 use exchange section consistently for master_priv_file option 2016-04-16 12:46:01 +02:00
Christian Grothoff
fe36ba0062 fix taler-exchange-wire way of loading configuration 2016-04-16 12:44:45 +02:00
Christian Grothoff
ecc5b6791f fix taler-exchange-keyup way of loading configuration 2016-04-16 12:37:37 +02:00
Christian Grothoff
480b9cdf39 automatically set 'type' in taler-exchange-wire 2016-04-15 20:08:19 +02:00
Christian Grothoff
aee99021a7 reduce unnecessary #includes 2016-04-11 13:02:58 +02:00
Christian Grothoff
af91cd87d6 use libtalerwire instead of duplicating logic 2016-04-11 13:01:20 +02:00
Christian Grothoff
30d66bcebc fixing #4386: use more sane configuration and data file structure 2016-04-10 17:10:20 +02:00
Christian Grothoff
e00370d4f5 removing duplication of --help logic 2016-04-07 22:52:23 +02:00
Christian Grothoff
1dea7998db fix json generation, use proper json in test 2016-04-03 21:08:24 +02:00
Christian Grothoff
daae3d3ddf change taler-exchange-sepa to a more generic taler-exchange-wire tool using the wire plugins (#4237) 2016-04-02 20:58:22 +02:00
Christian Grothoff
6f8fa678c1 implementing #3987 2016-03-21 01:45:53 +01:00
Christian Grothoff
0d1eced630 first refactoring of JSON logic to address #4150 and #4237 2016-03-19 15:23:11 +01:00
Christian Grothoff
b5cba32510 renaming mint->exchange 2016-03-01 15:35:04 +01:00