Commit Graph

92 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
Christian Grothoff
a166ca7fec
fix #5281 for exchange: do preflight check that an old transaction is no longer running by accident 2018-03-12 11:33:10 +01:00
Christian Grothoff
0906696ec2
bugfixes in auditor and rendering 2018-01-04 10:38:16 +01:00
Christian Grothoff
7d60d3a618
nicer formatting, some DCE 2018-01-04 09:22:33 +01:00
Christian Grothoff
5587732f52
fix auditor to properly verify wire fee signatures and more gracefully handle arithmetic amount issue 2018-01-04 00:41:19 +01:00
Christian Grothoff
76769e9429
fix test for '*' accepted encoding 2017-12-10 00:18:48 +01:00
Christian Grothoff
af6e9f134a
fix potential NPE 2017-12-09 23:51:49 +01:00
Christian Grothoff
1d40d2973c
initialize rev_rowid always 2017-12-09 23:35:04 +01:00
Christian Grothoff
499247a480
fixing #5178 2017-11-29 20:23:08 +01:00
Christian Grothoff
11269125fa
implement #5177 (not yet tested) 2017-11-20 14:20:09 +01:00
Christian Grothoff
53be6c6337
update bug refs to #5177 2017-11-12 15:51:53 +01:00
Christian Grothoff
f299130c50
make -m option optional for taler-auditor and taler-wire-auditor 2017-11-12 14:11:05 +01:00
Christian Grothoff
1665941154
fix misc typos in auditor report logic 2017-11-08 19:07:21 +01:00
Christian Grothoff
45c443f348
update auditor report format to capture nicely all diagnostics that may currently be generated by the auditor (closes #4962) 2017-11-06 19:11:43 +01:00
Christian Grothoff
cc09fbbb29
working on #4962 2017-11-06 14:54:52 +01:00
Christian Grothoff
c5f9c0ca88
work on making auditor reports nicer (#4962) 2017-11-06 00:03:08 +01:00
Christian Grothoff
a946dc30bb
start template for generating nicely formatted auditor reports 2017-10-26 22:39:59 +02:00
Christian Grothoff
4a84520514
resolve #4963 2017-10-16 17:57:29 +02:00
Christian Grothoff
2cddf524a8
work on #4963 for taler-auditor 2017-10-16 17:57:29 +02:00
Christian Grothoff
7a232a0941
add references to Mantis bugs to TODO/FIXME comments in code 2017-10-12 20:56:16 +02:00
Christian Grothoff
1261971987
yet another TALER_amount_get_zero with missing rval check 2017-10-06 22:08:35 +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
7f37c2ae00
more return value checks on TALER_amount_get_zero 2017-10-06 21:21:20 +02:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash 2017-10-06 20:02:28 +02:00
Christian Grothoff
ba95b05256
log interesting errors always 2017-06-25 12:59:46 +02:00
Christian Grothoff
4c6ef74358
update taler-auditor to fix #5010 in auditor as well, technically done, but untested 2017-06-25 01:46:19 +02:00
Christian Grothoff
c42d544736
convert rest of exchangedb plugin API to fix #5010-issues 2017-06-24 16:15:42 +02:00
Christian Grothoff
92e6744ac0
address #5010 for /refund 2017-06-19 16:07:34 +02:00
Christian Grothoff
a57cf67f31
a bit more work on #5010 2017-06-11 02:12:56 +02:00
Florian Dold
85350ced32
rename proposal_data to contract_terms (see #4879) 2017-05-29 01:15:41 +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
27c921c7c4
finished implementing #4956 in principle, but not yet tested 2017-04-20 21:38:02 +02:00
Christian Grothoff
487237381d
fix misc doxygen issues 2017-04-20 07:49:56 +02:00
Christian Grothoff
b0811dd868
add support for closed reserves to taler-auditor 2017-04-19 21:41:53 +02:00
Christian Grothoff
123b1868ab
implement #4983 2017-04-19 13:46:38 +02:00
Christian Grothoff
62afe341b7
fix #4984 2017-04-16 17:21:26 +02:00
Christian Grothoff
be6dde89db
fix use of uninit value on PAYBACK path in auditor 2017-04-16 02:16:41 +02:00
Christian Grothoff
11b8710a5c
implement checking of denomination revocation status in auditor 2017-04-08 22:52:32 +02:00
Christian Grothoff
d27f7f34b4
have auditor report command to handle denomination key revocation on emergency-detection (#3887) 2017-04-08 20:11:37 +02:00
Christian Grothoff
930101256e
check payback signatures in auditor 2017-04-04 17:05:38 +02:00
Christian Grothoff
4b5efa4e81
towards supporting #3887 in the auditor 2017-04-04 16:27:27 +02:00
Christian Grothoff
4b82a591c5
handle /payback in auditor when checking reserves 2017-04-04 15:38:58 +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
e4b209c724
use nicer text for audit report 2017-03-20 04:40:52 +01:00
Christian Grothoff
ab0286f583
finish #3775, including addition of man page 2017-03-20 04:38:08 +01:00
Christian Grothoff
3186dbf58a
fix log level of auditor, elimintate REFERENCES constraint for now, unclear if it is needed/useful 2017-03-20 04:29:42 +01:00
Christian Grothoff
73321daf5a
deal with persisting wire/aggregation fee data in auditor 2017-03-20 04:17:06 +01:00
Christian Grothoff
9fe8da0cc6
deal with aggregation fee lookup and calculations in auditor 2017-03-20 03:58:51 +01:00
Christian Grothoff
4599b25895
report wire amount minus aggregation fee in wire_out table, start logic in auditor to check wire amounts including wire fees 2017-03-20 03:32:16 +01:00