Commit Graph

339 Commits

Author SHA1 Message Date
Christian Grothoff
b7a77805dc
fix configuration 2020-01-17 17:21:58 +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
Christian Grothoff
e88ad199e6
FIXME is not needed, explain why 2020-01-17 15:02:27 +01:00
Christian Grothoff
0145609890
fix FIXME: total up irregular paybacks and add to report 2020-01-17 15:00:32 +01:00
Christian Grothoff
7242b9b960
add TODO 2020-01-17 13:10:42 +01:00
Christian Grothoff
4e125d8eda
check for key expiration 2020-01-17 13:09:20 +01:00
Christian Grothoff
31b413fed2
simplify DB logic in auditor-httpd 2020-01-17 13:06:28 +01:00
Christian Grothoff
862448305c
simplify DB logic in auditor-httpd 2020-01-17 13:06:12 +01:00
Christian Grothoff
11a9dc2b4f
simplify DB logic in auditor-httpd 2020-01-17 13:05:29 +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
d61c2e400a
kill another FIXME 2020-01-16 23:49:34 +01:00
Christian Grothoff
0305cf5f9e
move function to libtalerexchangedb, as planned 2020-01-16 22:40:12 +01:00
Christian Grothoff
19922fa046
pointless to check denom_sig, do not return 2020-01-16 22:21:18 +01:00
Christian Grothoff
6dcd37504a
fix 2020-01-16 20:41:50 +01:00
Florian Dold
da5b3ba8ae
round amounts based on config, do unit test for rounding 2020-01-15 15:17:25 +01:00
Marcello Stanisci
d822035216
Remove preflight checks where redundant. 2020-01-15 14:34:35 +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
88cb57de83
fix link 2020-01-13 23:14:50 +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
3a9d7afe33
another fix where hardcoded serial number can point to the wrong transaction 2019-12-24 22:53:13 +01:00
Christian Grothoff
0ec3301cfb
make auditor more robust to DB permutations 2019-12-24 22:28:27 +01:00
Christian Grothoff
202a464bb3
new DB 2019-12-24 21:20:40 +01:00
Christian Grothoff
8baf591ded
use wait 2019-12-24 21:20:32 +01:00
Christian Grothoff
2a8383dd94
just to be sure 2019-12-24 21:20:15 +01:00
Christian Grothoff
9e1c7cc152
clean up shell script, fix heisenbug 2019-12-24 21:16:28 +01:00
Christian Grothoff
df0237ab94
support -l/-L options, improve logging 2019-12-24 20:21:54 +01:00
Christian Grothoff
8b5a0278df
nicer logging 2019-12-24 16:19:53 +01:00
Christian Grothoff
1970b7687c
report cases of missing denomination keys more nicely 2019-12-24 16:04:30 +01:00
Christian Grothoff
32ec655418
handle denomination key not found better 2019-12-24 15:58:23 +01:00
Christian Grothoff
a3b56975a4
use acceptable bank debit limit 2019-12-23 12:28:15 +01:00
Christian Grothoff
d5b8089264
use taler-bank-manage-testing wrapper in auditor test logic as well 2019-12-23 12:13:10 +01:00
Christian Grothoff
e0cf954ad9
make exchange test suite work with current bank 2019-12-23 11:47:16 +01:00
Christian Grothoff
8af89ff197
misc release preparations: mostly fixing 'make dist' target 2019-12-20 20:10:46 +01:00
Christian Grothoff
dd66d2ae7b
work on test 2019-12-07 22:08:58 +01:00
Christian Grothoff
0d53d893f5
fix start time 2019-12-07 21:59:05 +01:00
Christian Grothoff
fdb768653e
regenerate test DB with latest crypto 2019-12-07 21:32:52 +01:00
Christian Grothoff
91a418fe80
add valgrind prefix capability 2019-12-07 17:02:20 +01:00
Christian Grothoff
5a96c528b3
mark unused argument 2019-12-07 16:51:24 +01:00
Christian Grothoff
b164e090dc
check total loss initially 2019-12-07 14:27:55 +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
f1639c09a2
implement #5740 2019-12-01 13:31:45 +01:00
Christian Grothoff
633ae7edd1
cleanup 2019-11-23 22:27:27 +01:00
Christian Grothoff
7510b6310b
more libtalermhd migration 2019-11-23 22:26:27 +01:00
Christian Grothoff
7aae6c9045
use CONFLICT for double spending to distinguish properly from FORBIDDEN for bad signatures 2019-11-23 22:21:47 +01:00
Christian Grothoff
e8a88392da
more refactoring towards using libtalermhd 2019-11-23 18:47:07 +01:00
Christian Grothoff
8bca461ea9
first uses of libtalermhd 2019-11-23 17:55:47 +01:00
Christian Grothoff
385b3e77df
tighten formatting rules 2019-10-31 12:59:50 +01:00
Christian Grothoff
55dd10e947
activate now passing test #25" 2019-10-29 11:36:25 +01:00
Christian Grothoff
a1b01f1195
better auditor logging 2019-10-29 11:31:56 +01:00
Christian Grothoff
956f6dcab4
disable failing test 2019-10-26 22:36:57 +02:00
Christian Grothoff
c308e89eaa
add test to check deposit inconsistency detection logic 2019-10-26 22:36:40 +02:00
Christian Grothoff
7b1d8024db
modify auditor generator to properly create deposit confirmations 2019-10-26 21:49:50 +02:00
Christian Grothoff
88bbb91dce
force auditor reporting when generating auditor test 2019-10-26 21:04:01 +02:00
Christian Grothoff
bfb6306d18
add auditor test #24: wire out amount inconsistency detection 2019-10-17 21:52:54 +02:00
Christian Grothoff
9adc4c9ffc
fix ftbfs 2019-10-11 19:02:07 +02:00
Christian Grothoff
d40f01b634
expand test to cover withdrawing expired denominations, fix auditor-report template 2019-10-09 14:23:37 +02:00
Christian Grothoff
4e54a41fe3
use denomination key issue data from adb, not edb 2019-10-09 14:22:42 +02:00
Christian Grothoff
0d5a3d7b6f
more comprehensive test-auditor.sh, including generate-auditor-basedb now 2019-10-08 18:49:25 +02:00
Christian Grothoff
bde4c742de
add logic to generate fresh database 2019-10-08 18:11:22 +02:00
Christian Grothoff
d585c40996
add test for missing wire transfer for reserve closure 2019-10-06 20:49:18 +02:00
Christian Grothoff
c776a5f51e
ignore 2019-10-06 16:57:39 +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
e308d83f1b
fix totaling up 2019-10-06 12:46:57 +02:00
Christian Grothoff
97075502e0
fix testcase, enable new testcases 2019-10-06 12:32:49 +02:00
Christian Grothoff
03439cac91
re-add database 2019-10-06 12:32:20 +02:00
Christian Grothoff
5bc1db27dd
re-enable auditor test 2019-10-06 12:32:13 +02:00
Christian Grothoff
7bd1a8ff09
re-add database 2019-10-06 12:31:56 +02:00
Christian Grothoff
e387a11593
disable test-auditor.sh, need working taler-wallet-cli first 2019-10-05 15:47:45 +02:00
Christian Grothoff
52bbfe926b
add uncrustify pre-commit hook 2019-10-05 15:12:47 +02:00
Christian Grothoff
041ba85c6a
add test for wire transfer subject malformed (mark as done) 2019-09-30 22:12:13 +02:00
Christian Grothoff
11b643dd83
add test for wire transfer subject malformed 2019-09-30 22:11:24 +02:00
Marcello Stanisci
6b2a84dfe1
Allow uWSGI to TERMinate on slower systems. 2019-09-29 14:50:05 +02:00
Christian Grothoff
160a4ef52c
add test for emergencies, and associated bugfixes to auditor and auditor report 2019-09-28 20:53:44 +02:00
Christian Grothoff
14c7e45e97
nicer message in -r error case 2019-09-26 10:29:43 +02:00
Christian Grothoff
3b3daa75a8
fix #5903 2019-09-26 10:23:50 +02:00
Christian Grothoff
0647bec86c
ign 2019-09-15 13:10:11 +02:00
Christian Grothoff
3a8581bc5e
hide kill output 2019-09-15 12:01:42 +02:00
Marcello Stanisci
5a132a2f0f
to lower case.. 2019-09-13 21:22:51 +02:00
Marcello Stanisci
4428469556
FPRINTF -> fprintf 2019-09-13 13:01:28 +02:00
Christian Grothoff
049e9c89c1
update Makefile.am 2019-09-06 03:08:49 +02:00
Christian Grothoff
07502333a7
notes 2019-09-06 03:08:23 +02:00
Christian Grothoff
58c3e4d98f
move basedb generation to auditor/ 2019-09-06 02:45:57 +02:00
Marcello Stanisci
b93fbac1cc
fix auditor test 2019-09-05 14:17:13 +02:00
Christian Grothoff
fa54d42dc3
give up launching bank eventually 2019-09-05 14:09:39 +02:00
Christian Grothoff
1576a1d048
make test more robust 2019-09-05 11:59:10 +02:00
Christian Grothoff
997b40e705
fix tests 2019-09-05 10:59:03 +02:00
Christian Grothoff
8e9ce98661
bugnotes, minor fix 2019-09-05 10:40:44 +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
e0979ecf5e
fix test wrt lag 2019-09-05 10:21:33 +02:00
Christian Grothoff
afe455c0b6
more auditor tests 2019-09-05 10:04:17 +02:00
Christian Grothoff
b7454aadc4
add test 14 2019-09-05 08:14:58 +02:00
Christian Grothoff
f16a4c5b21
add test for hung refresh and wrong refresh sig, fix audit report formatting issue(s) 2019-09-05 06:30:36 +02:00
Christian Grothoff
d4905d7e2c
handle wirefee issues better 2019-09-05 05:49:45 +02:00
Christian Grothoff
cc5297a7f1
pass wire fees to aggregator in test case 2019-09-05 05:49:25 +02:00
Christian Grothoff
dc5a779195
fix memory leak 2019-09-05 03:56:27 +02:00