Commit Graph

89 Commits

Author SHA1 Message Date
Christian Grothoff
5ddbdfe91b
do NOT drop deposit confirmations on taler-auditor restart (-r) 2019-10-29 11:32:25 +01:00
Christian Grothoff
316a77a245
adaptions to libgnunetpq api change (#5733) 2019-10-11 23:28:25 +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
13707999f1
fix leaks in auditordb 2019-09-15 11:25:35 +02:00
Marcello Stanisci
d7faa83915
fix tests 2019-09-05 11:41:56 +02:00
Christian Grothoff
997b40e705
fix tests 2019-09-05 10:59:03 +02:00
Christian Grothoff
67aeb85a13
misc. auditor bugfixes 2019-09-02 08:01:55 +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
71ae493c7a
refactor wire auditor to properly handle multiple accounts 2019-08-24 22:49:35 +02:00
Christian Grothoff
318f94bf90
update ignores 2019-08-22 15:30:02 +02:00
Christian Grothoff
6a373d1e56
update ChangeLog 2019-08-17 22:04:44 +02:00
Christian Grothoff
4bf425c902
remove currency field from databases 2019-08-17 21:35:21 +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
e9f43adb5b
use proper default configuration 2019-06-30 17:44:58 +02:00
ng0
391895d883
Refactor test_auditordb.c for GNUNET_memcmp 2019-04-08 15:29:21 +00:00
Christian Grothoff
5bd7ede31f
fix ftbfs 2019-02-14 21:22:29 +01:00
Christian Grothoff
a98825675b
add option to be selective about dropping the exchange list 2019-02-14 14:23:16 +01:00
Marcello Stanisci
48b76fc089
fix auditordb 2019-01-30 15:28:52 +01:00
Marcello Stanisci
0b0b22c8db
Minor fix auditordb. 2019-01-28 16:50:15 +01:00
Marcello Stanisci
368f3a9a66
Minor changes to make tests pass/no-skip again. 2018-11-19 23:02:37 +01:00
Christian Grothoff
428ecee396
do not crash if session is NULL 2018-11-18 13:56:41 +01:00
Christian Grothoff
ac850bfcd2
add auditing of deposit confirmations to auditor (#5447) 2018-11-04 17:36:56 +01:00
Christian Grothoff
33441042a9
add auditordb constraints to enforce exchange's master_pub is added first 2018-11-04 10:58:59 +01:00
Christian Grothoff
126e3911ec
extend test to also test insert/delete exchange operation 2018-11-04 10:54:20 +01:00
Christian Grothoff
b39c3f9ca6
add missing default configs for auditor-httpd, make -u not mandatory as it is not needed for -r and check URL is well-formed if given; fix auditordb exchange insertion/removal logic 2018-11-04 10:48:32 +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
Marcello Stanisci
8eda33bbe8
Fix auditordb.
Wrong columns names.
2018-10-22 12:44:56 +02:00
Florian Dold
7e426913ce
auditor: fix SQL syntax and semantic errors 2018-10-21 04:31:17 +02:00
Christian Grothoff
a0d88973b2
fix newlines 2018-10-20 19:40:32 +02:00
Christian Grothoff
4f37950a40
extend auditordb API with function to store deposit confirmations 2018-10-20 19:40:09 +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
5540747ca2
patch to address #5183: always round time before giving it to DB, tolerate DB answering without rounded time 2017-11-30 17:17:37 +01: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
1139f74ffe
fix minor wire auditor bugs, add samples of output 2017-11-08 18:44:12 +01:00
Christian Grothoff
298d7dd367
assertion only holds if we did get results 2017-10-17 19:53:42 +02:00
Marcello Stanisci
88cdaf70c9
adding missing table in the drop method 2017-10-16 16:47:14 +02: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
d55050652d
BLOB is BYTEA in Postgres 2017-10-06 21:31:07 +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
3a0e643b68
add UNIQUE constraint on BIGSERIAL columns as that is not automatic in Postgres 2017-07-14 17:56:47 +02:00
Christian Grothoff
2c6956f32a
clean up PQ tables (renamings, remove redunant column), and primarily fix #4751 2017-07-14 17:43:07 +02:00
Christian Grothoff
5d6dfde044
fix #4955 in auditordb, clean up fix in exchangedb 2017-07-04 23:33:57 +02:00
Christian Grothoff
f9950799fc
eliminate dead macros 2017-07-04 23:28:03 +02:00
Christian Grothoff
560051e6b0
migrating auditordb to new API to address #5010 2017-06-24 23:06:44 +02:00