Commit Graph

47 Commits

Author SHA1 Message Date
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
Christian Grothoff
5ddbdfe91b
do NOT drop deposit confirmations on taler-auditor restart (-r) 2019-10-29 11:32:25 +01: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
67aeb85a13
misc. auditor bugfixes 2019-09-02 08:01:55 +02:00
Florian Dold
eb55997084
re-format code 2019-08-25 16:18:24 +02:00
Christian Grothoff
71ae493c7a
refactor wire auditor to properly handle multiple accounts 2019-08-24 22:49:35 +02:00
Christian Grothoff
d1c0c0f197
update auditordb to include payback losses 2019-07-25 19:26:25 +02:00
Christian Grothoff
03af37ef23
add ppc progress points for payback ops 2019-07-24 14:13:25 +02:00
Christian Grothoff
a98825675b
add option to be selective about dropping the exchange list 2019-02-14 14:23:16 +01:00
Christian Grothoff
debe0d05ad
improve auditor support in libtalertesting 2018-11-11 15:46:06 +01:00
Christian Grothoff
ac850bfcd2
add auditing of deposit confirmations to auditor (#5447) 2018-11-04 17:36:56 +01:00
Christian Grothoff
bd40aad7dc
track number of coins issued per denomination in auditor (not yet used) 2018-10-28 11:30:02 +01:00
Christian Grothoff
fb0d7110e8
extend auditordb with storing information about list of exchanges and their signing keys 2018-10-28 10:26:32 +01:00
Christian Grothoff
7b62deabac
split up progress points of auditor by coin/reserve/aggregation to minimize DB conflicts 2018-10-27 21:27:23 +02:00
Christian Grothoff
2024ccd2f9
complete auditor httpd side of deposit confirmation handling (auditordb not yet ready, though) 2018-10-27 19:26:17 +02:00
Christian Grothoff
4ad39b6b73
first skeleton of /deposit-confirmation API implementation; not yet complete, cannot work as-is, see FIXMEs 2018-10-21 20:52:26 +02:00
Christian Grothoff
4f37950a40
extend auditordb API with function to store deposit confirmations 2018-10-20 19:40:09 +02: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
92d616b076
add last_timestamp to wire auditor progress point; fix confusion in param/result specs between 'auto' and 'absolute time' 2017-11-19 22:12:30 +01:00
Christian Grothoff
cb13afaf54
complete first pass of taler-wre-auditor's wire-out audit logic 2017-10-12 20:46:42 +02:00
Christian Grothoff
6a4f6b1836
also store wire position in auditordb 2017-09-30 20:47:52 +02:00
Christian Grothoff
96e04d33e1
update auditordb API to support logic for taler-wire-auditor 2017-09-30 20:29:19 +02:00
Christian Grothoff
560051e6b0
migrating auditordb to new API to address #5010 2017-06-24 23:06:44 +02:00
Christian Grothoff
0e6c4ba898
work on #5010 2017-06-15 22:10:12 +02:00
Christian Grothoff
4b82a591c5
handle /payback in auditor when checking reserves 2017-04-04 15:38:58 +02:00
Christian Grothoff
73321daf5a
deal with persisting wire/aggregation fee data in auditor 2017-03-20 04:17:06 +01:00
Christian Grothoff
3fde028650
fix auditor progress point issue 2017-03-20 02:45:33 +01:00
Christian Grothoff
b42ce7e80a
alpha-renaming to better describe what functions/tables do 2017-03-19 01:09:00 +01:00
Christian Grothoff
e4a4a7e193
finish sync_denomination() implementation 2017-03-18 23:03:00 +01:00
Christian Grothoff
0f5ce284c4
deal with some minor FIXMEs in auditor 2017-03-18 22:38:31 +01:00
Christian Grothoff
69ac028a13
add required separate risk balance per denomination to auditordb 2017-03-18 22:20:48 +01:00
Christian Grothoff
a9f9161c3a
simplify auditordb API to match actual requirements better 2017-03-18 22:06:27 +01:00
Christian Grothoff
8ea9b0dad7
more work on coin/denomination audit 2017-03-17 17:17:07 +01:00
Christian Grothoff
36195e85ea
skeleton logic for analyze_coins() 2017-03-15 14:19:57 +01:00
Christian Grothoff
54b3a9e930
add required rowid for diagnostics 2017-03-15 13:36:47 +01:00
Christian Grothoff
a3db0d4a8c
introduce 'struct TALER_AUDITORDB_ProgressPoint' 2017-03-15 13:12:45 +01:00
Christian Grothoff
296f919ce4
more work on auditor, listing open TODOs 2017-03-14 18:00:17 +01:00
tg(x)
247b8e33b3 auditordb postgres plugin: auditor_progress implementation + tests 2016-11-06 14:24:17 +01:00
Christian Grothoff
02d28bc81c
add missing functions to deal with auditor_progress to the auditordb API 2016-11-06 13:39:22 +01:00
tg(x)
59fa9d8255 auditordb postgres plugin: sql fixes, callback return value 2016-11-04 00:34:09 +01:00
tg(x)
20a8a569ad auditordb postgres plugin 2016-11-03 13:01:36 +01:00
Christian Grothoff
808dc10bf4 add skeletons for new DB API functions 2016-10-09 01:17:37 +02:00
Christian Grothoff
8bbcf86678 more work on auditordb plugin API 2016-10-08 23:37:55 +02:00
Christian Grothoff
b68adb93c6 adding skeleton code for auditor 2016-10-06 15:17:10 +02:00