Commit Graph

403 Commits

Author SHA1 Message Date
Christian Grothoff
65434a0e00
fix return value in auditor logic, and check it as well; adding FIXME to mark improperly handled case 2020-02-23 19:55:21 +01:00
Christian Grothoff
730a9b966f
check return value 2020-02-17 20:00:03 +01:00
Christian Grothoff
37c2915769
do not report missing reserve closures of amount 0.0 2020-02-08 17:55:22 +01:00
Christian Grothoff
db46491db9
fix uninitialized session 2020-02-08 17:49:56 +01:00
Christian Grothoff
964cd7a459
adding test for #6054 (duplicate WTID) 2020-02-08 17:41:27 +01:00
Christian Grothoff
9e0a813b38
implement auditor's exchange signing key caching (#6052) 2020-02-05 21:12:03 +01:00
Christian Grothoff
5a11839002
add timetravel option for testing/debugging 2020-02-04 15:47:57 +01:00
Christian Grothoff
4c8f7799da
add config option for new bank 2020-01-20 14:26:42 +01:00
Christian Grothoff
5604a266d0
new DB 2020-01-20 14:22:56 +01:00
Christian Grothoff
43f7cf3d07
push mpub 2020-01-20 03:02:05 +01:00
Christian Grothoff
df37433f4d
useless 2020-01-20 02:53:23 +01:00
Christian Grothoff
aaa57167db
add exchange key during test 2020-01-20 02:43:48 +01:00
Florian Dold
26ad7c8191
spelling of 'mismatch' 2020-01-20 02:11:03 +01:00
Christian Grothoff
6445558065
fix auditor issues 2020-01-19 21:51:13 +01:00
Christian Grothoff
84fd301313
fix option 2020-01-19 21:13:52 +01:00
Christian Grothoff
9cc2c7a208
fix option 2020-01-19 21:01:57 +01:00
Christian Grothoff
4f4b0349a5
add missing option 2020-01-19 21:01:33 +01:00
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
Christian Grothoff
5da9cfc51c
clean up amount logic, fix 2^53 check 2020-01-19 19:39:14 +01:00
Christian Grothoff
d22a52cc7a
fix copyright headers as per CA 2020-01-19 19:21:58 +01:00
Christian Grothoff
cf2e77c929
fix section name 2020-01-19 19:19:20 +01:00
Florian Dold
cb58740fbd
remove redundant METHOD option, we can derive it from PAYTO_URI 2020-01-19 19:12:47 +01:00
Florian Dold
6074790867
config syntax for accounts 2020-01-19 18:48:23 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL 2020-01-19 17:03:19 +01:00
Christian Grothoff
dbf85bbc0d
clarify FIXMEs 2020-01-19 14:53:31 +01:00
Christian Grothoff
fbc375092f
old DBs only 2020-01-19 14:27:49 +01:00
Christian Grothoff
342cccc384
do not rely on filetime, as Git does not preserve it 2020-01-19 14:22:34 +01:00
Christian Grothoff
52bdff7867
get auditor to pass with refund 2020-01-19 02:46:17 +01:00
Christian Grothoff
58e5780917
fix aggregator fee calculation logic 2020-01-19 02:28:14 +01:00
Christian Grothoff
021a2003d5
adjust tests 2020-01-19 02:28:14 +01:00
Christian Grothoff
db669ee495
payback -> recoup stranglers 2020-01-18 23:49:37 +01:00
Christian Grothoff
ff35a1d229
deduplicate doxyfiles, integrate with build 2020-01-18 23:19:48 +01:00
Christian Grothoff
dfd58b33e8
fix leaks 2020-01-18 22:08:06 +01:00
Christian Grothoff
6fc2a5f949
fixes 2020-01-18 20:50:25 +01:00
Christian Grothoff
5c46951821
fix warnings 2020-01-18 19:28:17 +01:00
Christian Grothoff
d58af13887
fix assertion 2020-01-18 18:17:38 +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
fef001cfdd
fix test_23 2020-01-18 17:38:56 +01:00
Christian Grothoff
ef4cb1b7c9
test 19 is obsolete 2020-01-18 14:01:13 +01:00
Christian Grothoff
e0fbfb68fd
provide account_section for all wire out inconsistencies 2020-01-18 13:35:43 +01:00
Christian Grothoff
d972a26e1b
generate 11.5-compatible db 2020-01-18 13:27:29 +01:00
Florian Dold
f39ebe7402
auditor test: re-generate database with fixed merchant bank account 2020-01-18 13:20:36 +01:00
Florian Dold
8e0180b257
remove more redundant args 2020-01-18 04:39:52 +01:00
Christian Grothoff
86cd17e265
fix SQL 2020-01-17 23:56:03 +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
f0d8311b1c
fix test 2020-01-17 23:34:42 +01:00
Christian Grothoff
1255ec9a15
update DB 2020-01-17 23:32:06 +01:00
Christian Grothoff
4dc8092f83
auditor fixes 2020-01-17 23:27:40 +01:00
Christian Grothoff
96543f62ef
updates to auditor test 2020-01-17 23:21:14 +01:00
Florian Dold
135b53d4a2
test-auditor config 2020-01-17 23:05:39 +01:00
Christian Grothoff
379d261769
fix format string 2020-01-17 23:02:55 +01:00
Florian Dold
d567bfe237
adjust config and timeouts 2020-01-17 23:02:33 +01:00
Christian Grothoff
b322614eb2
doxygen 2020-01-17 23:01:17 +01:00
Florian Dold
404888b0a2
fix config 2020-01-17 22:43:55 +01:00
Christian Grothoff
72f07dde5b
doxygen 2020-01-17 22:40:18 +01:00
Christian Grothoff
59f0fb9fe7
regenerate DB 2020-01-17 22:32:08 +01:00
Florian Dold
3083dc76e4
auditor basedb config 2020-01-17 22:25:14 +01:00
Christian Grothoff
108bf01f11
doxygen fixes 2020-01-17 22:24:18 +01:00
Christian Grothoff
be476659a3
link to bug report 2020-01-17 20:53:48 +01:00
Christian Grothoff
23cc4a521f
TODO is already done 2020-01-17 20:02:25 +01:00
Florian Dold
7378b5a081
amount rounding a la Christian 2020-01-17 18:59:15 +01:00
Christian Grothoff
2ffabd394c
fix reserve_pub-via-reserve_priv FIXME 2020-01-17 17:29:44 +01:00
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