Commit Graph

66 Commits

Author SHA1 Message Date
Christian Grothoff
4fac247bc7
use TALER_config_get_amount() consistently, require currency rounding option to exist instead of defaulting 2020-01-19 20:57:32 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL 2020-01-19 17:03:19 +01:00
Christian Grothoff
dfd58b33e8
fix leaks 2020-01-18 22:08:06 +01:00
Christian Grothoff
ee6b2d5286
fix leak 2020-01-18 18:14:33 +01:00
Christian Grothoff
c5c04cb51f
fix -Wextra warnings 2020-01-18 17:53:54 +01:00
Christian Grothoff
e0fbfb68fd
provide account_section for all wire out inconsistencies 2020-01-18 13:35:43 +01:00
Florian Dold
8e0180b257
remove more redundant args 2020-01-18 04:39:52 +01:00
Christian Grothoff
788fd67984
doxygen 2020-01-17 23:50:49 +01:00
Florian Dold
d95f2a9e43
DCE, part one 2020-01-17 23:40:44 +01:00
Christian Grothoff
b322614eb2
doxygen 2020-01-17 23:01:17 +01:00
Christian Grothoff
1759b63b2f
abort wire audit if bank fails to return histories 2020-01-17 15:14:07 +01:00
Christian Grothoff
263d36f7a5
report affected account 2020-01-17 15:09:36 +01:00
Florian Dold
cc862fb279
payto fixes WIP 2020-01-17 02:23:48 +01:00
Florian Dold
6faf6fc732
payto fixes WIP 2020-01-17 01:23:32 +01:00
Christian Grothoff
0305cf5f9e
move function to libtalerexchangedb, as planned 2020-01-16 22:40:12 +01:00
Christian Grothoff
7b1909bc99
make fakebank and banklib match specifified new API 2020-01-13 22:01:45 +01:00
Christian Grothoff
2d16cddfd9
die, dead #include, die 2020-01-13 18:19:21 +01:00
Christian Grothoff
4d6ef1da29
eliminate libtalerwire 2020-01-13 18:16:01 +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
0d53d893f5
fix start time 2019-12-07 21:59:05 +01:00
Christian Grothoff
25a0b60f12
implement #5967: have ranges in auditor reports, untested because right now tests somehow do not work 2019-12-03 12:39:32 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules 2019-10-31 12:59:50 +01:00
Christian Grothoff
d585c40996
add test for missing wire transfer for reserve closure 2019-10-06 20:49:18 +02:00
Christian Grothoff
165929a877
consider reserve closures as well when auditing outgoing wire transfers 2019-10-06 16:54:09 +02:00
Christian Grothoff
52bbfe926b
add uncrustify pre-commit hook 2019-10-05 15:12:47 +02:00
Christian Grothoff
11b643dd83
add test for wire transfer subject malformed 2019-09-30 22:11:24 +02:00
Christian Grothoff
1e685a0241
use shorter sleep, tolerate slight execution date disagreements between exchange and bank in auditor 2019-09-05 10:36:14 +02:00
Christian Grothoff
afe455c0b6
more auditor tests 2019-09-05 10:04:17 +02:00
Christian Grothoff
e5cf603963
fix taler-wire-auditor crash 2019-09-05 03:52:26 +02:00
Christian Grothoff
5cabe157dc
fix lag reporting 2019-09-04 05:16:04 +02:00
Christian Grothoff
97ca10d835
more auditor tests, misc auditor bugfixes 2019-09-04 04:06:16 +02:00
Christian Grothoff
7b20ee8c8d
minor auditor report generation bugfixes: 2019-08-26 03:18:32 +02:00
Florian Dold
eb55997084
re-format code 2019-08-25 16:18:24 +02:00
Christian Grothoff
5cfb3d3b96
fix ftbfs 2019-08-25 15:40:47 +02:00
Christian Grothoff
1457e0adfc
skip accounts not configured for credit/debit 2019-08-24 23:14:15 +02:00
Christian Grothoff
322e97cb11
shutdown when done 2019-08-24 23:06:18 +02:00
Christian Grothoff
9044449f5b
round time 2019-08-24 22:53:32 +02:00
Christian Grothoff
71ae493c7a
refactor wire auditor to properly handle multiple accounts 2019-08-24 22:49:35 +02:00
Christian Grothoff
b5dd2bcdbb
indentation, discuss logic flaw, discuss todo in test-auditor.sh script 2019-08-23 21:14:50 +02:00
ng0
79dcb72760
Refactor auditor/taler-wire-auditor.c for GNUNET_memcmp 2019-04-08 14:58:21 +00:00
Christian Grothoff
a98825675b
add option to be selective about dropping the exchange list 2019-02-14 14:23:16 +01:00
Christian Grothoff
aea82d3dcd
allow auditor to operate per-account 2018-04-02 21:12:18 +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
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
042616899f
largely fix #5077 2017-12-06 19:24:00 +01:00
Christian Grothoff
111abd5944
do not break on issues we log to JSON 2017-11-20 21:56:06 +01:00
Christian Grothoff
7749a683ba
fix issue in wire auditor's history processing 2017-11-20 21:55:24 +01:00
Christian Grothoff
11269125fa
implement #5177 (not yet tested) 2017-11-20 14:20:09 +01:00
Christian Grothoff
8f48db8fdf
implementing #4961: detection of missing aggregate transfers 2017-11-19 22:36:58 +01:00
Christian Grothoff
53be6c6337
update bug refs to #5177 2017-11-12 15:51:53 +01:00