Commit Graph

103 Commits

Author SHA1 Message Date
Christian Grothoff
4b16198b43
moved SQL elimination 2020-01-17 03:11:25 +01:00
Christian Grothoff
097e968e1d
fix 2020-01-17 03:09:05 +01:00
Christian Grothoff
d4fded4b66
fix build system 2020-01-17 03:08:30 +01:00
Christian Grothoff
da0a2f39d0
GNUnet PQ API change 2020-01-17 02:24:21 +01:00
Christian Grothoff
8ea2af444f
more work towards DB versioning 2020-01-17 01:55:01 +01:00
Christian Grothoff
0a415262da
add bug note to FIXME 2020-01-16 22:31:46 +01:00
Marcello Stanisci
90e1572039
Adapting wirewatch tests to new style. 2020-01-16 00:12:25 +01:00
Christian Grothoff
19d9369ff6
add another interpreter command to check incoming wire transfers 2020-01-15 15:44:24 +01:00
Marcello Stanisci
e77ccd0390
Preflight checks:
put preflight check inside exchangedb start()
function, and provide a preflight method for
auditordb.
2020-01-15 12:36:09 +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
75aec331fb
fixing auditor test failure root cause 2019-12-24 20:10:50 +01:00
Marcello Stanisci
d36700ed98
Fix auditordb.
Include (forgotten) table within the "drop_tables()" command.
2019-12-22 12:43:33 +01:00
Christian Grothoff
40d9674856
fix warnings 2019-11-01 14:34:50 +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
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