Commit Graph

538 Commits

Author SHA1 Message Date
Christian Grothoff
50bc862a68
adapt to new GNUnet sign API (#6164) 2020-04-08 18:18:20 +02:00
Christian Grothoff
c826693e45
update configuration to match latest docs 2020-04-04 15:51:51 +02:00
Christian Grothoff
3404fda463
typos 2020-03-31 20:57:11 +02:00
Christian Grothoff
f34e40bc22
make auditor less verbose 2020-03-31 14:41:55 +02:00
Christian Grothoff
8db48871d6
add missing files to dist 2020-03-29 03:22:55 +02:00
Christian Grothoff
4abb38a36e
address FIXME 2020-03-28 22:05:54 +01:00
Christian Grothoff
e16f463adb
resolved FIXMEs 2020-03-28 22:00:21 +01:00
Christian Grothoff
28492256a5
ignore generated config file 2020-03-28 20:47:43 +01:00
Christian Grothoff
163b23f27a
removing inappropriate i18n code 2020-03-27 20:39:15 +01:00
Florian Dold
2c171055f9
constrain value of denomination to revoke 2020-03-28 00:50:11 +05:30
Christian Grothoff
8d5a0a4061
ERR trap 2020-03-27 18:23:53 +01:00
Christian Grothoff
6951892c68
clean logic 2020-03-27 18:10:59 +01:00
Christian Grothoff
17cfbced1d
fix inconsistency in field naming 2020-03-27 17:32:39 +01:00
Christian Grothoff
1647237c2e
fix #6137 2020-03-27 17:11:06 +01:00
Christian Grothoff
d923f29144
removing warnings 2020-03-27 14:05:59 +01:00
Christian Grothoff
155a4bc11b
fix checks 2020-03-27 13:29:19 +01:00
Christian Grothoff
9f5dbcdfa7
comment fixes 2020-03-27 12:52:15 +01:00
Christian Grothoff
0981203a80
make test quiet 2020-03-27 12:41:44 +01:00
Christian Grothoff
813e412f24
fix test 2020-03-27 12:39:20 +01:00
Christian Grothoff
7a31b051d1
fix test 2020-03-27 12:38:47 +01:00
Christian Grothoff
e3a4bef04c
fix test 2020-03-27 12:36:52 +01:00
Christian Grothoff
a79c41dcc5
fix test 2020-03-27 12:36:25 +01:00
Christian Grothoff
5fc875a80b
renable cleanup 2020-03-27 12:32:08 +01:00
Christian Grothoff
31746d8128
enable test 32 2020-03-27 12:30:31 +01:00
Christian Grothoff
13bbcef87b
adjust test to code changes 2020-03-27 11:26:33 +01:00
Christian Grothoff
4856d8114c
fix inconsistency in field naming 2020-03-27 11:11:45 +01:00
Christian Grothoff
1ced0438c2
improve error logging 2020-03-27 10:44:00 +01:00
Christian Grothoff
9c6aa53c8c
improve coin audit logic 2020-03-27 10:43:49 +01:00
Christian Grothoff
6906538c12
missing break 2020-03-27 09:40:25 +01:00
Christian Grothoff
8a90c8fbcb
expand test suite 2020-03-27 09:35:48 +01:00
Christian Grothoff
62b8ca0bd3
check coin history consistency 2020-03-27 09:35:42 +01:00
Christian Grothoff
f052527ea5
fix recoup-refresh audit logic 2020-03-26 20:54:41 +01:00
Christian Grothoff
394765a1e6
auditor-sign keys generated due to revocations 2020-03-26 20:07:23 +01:00
Christian Grothoff
51bdfab935
increment recoup progress points 2020-03-26 20:06:58 +01:00
Christian Grothoff
8fa6b996ed
generating revocation test DB 2020-03-26 18:58:42 +01:00
Christian Grothoff
28c00bedbf
prepare scripts for revocation testing 2020-03-26 17:21:41 +01:00
Christian Grothoff
4a06d7550a
workaround can die now 2020-03-26 16:08:27 +01:00
Christian Grothoff
3c1c3e704a
more work on revocation test script, now crashing the wallet 2020-03-26 16:07:34 +01:00
Florian Dold
1c5e24a05a
test-revocation: add --no-throttle to wallet invocation 2020-03-24 23:55:15 +05:30
Christian Grothoff
fb70d338fd
stuff 2020-03-24 18:23:08 +01:00
Christian Grothoff
58e703e06c
starting with revocation test 2020-03-24 18:16:01 +01:00
Christian Grothoff
dff81f4577
more testing for auditor logic 2020-03-24 17:35:18 +01:00
Christian Grothoff
9ad9e7e064
add more tests 2020-03-24 17:23:27 +01:00
Christian Grothoff
240b23684d
finish review of coins auditor analysis logic, improve error handling 2020-03-23 22:27:31 +01:00
Christian Grothoff
0bd53ed443
scope reduction, mark possible places for improvement 2020-03-23 21:36:49 +01:00
Christian Grothoff
8acfca6718
refactor to avoid duping all the RSA keys on refresh processing 2020-03-23 21:32:30 +01:00
Christian Grothoff
0ff8ec8da9
fix comments and handling of revocations in coins auditor 2020-03-23 21:00:08 +01:00
Christian Grothoff
3480146a66
first pass at auditor-coins, also reviewing checks around amount arithmetic, can and should be made harsher 2020-03-22 23:32:06 +01:00
Christian Grothoff
488f759a2d
clean up auditor-reserves logic 2020-03-22 22:39:48 +01:00
Christian Grothoff
9add4cf405
doxygen updates 2020-03-22 21:36:42 +01:00
Christian Grothoff
a90ea10d35
more wire cleanup, indentation only 2020-03-22 21:26:53 +01:00
Christian Grothoff
2539956026
first bit of auditor-wire cleanup 2020-03-22 16:23:41 +01:00
Christian Grothoff
ba22ad7a42
clean up auditor-aggregation logic 2020-03-22 16:15:55 +01:00
Christian Grothoff
d3dc8c8c7d
intermediary step on auditor-aggregation cleanup 2020-03-22 15:17:11 +01:00
Christian Grothoff
66fa3559c8
missing tests 2020-03-22 14:52:39 +01:00
Christian Grothoff
bdbe923bf6
check for right type 2020-03-22 14:51:36 +01:00
Christian Grothoff
adef4a91ca
the big EC rename, part II 2020-03-22 01:06:53 +01:00
Christian Grothoff
744322fdda
the big EC rename 2020-03-22 00:50:18 +01:00
Christian Grothoff
db61bc3bbe
cleanup 2020-03-21 19:49:18 +01:00
Christian Grothoff
bad9c719f8
stylefixes 2020-03-21 19:46:21 +01:00
Christian Grothoff
0d2bf1a75e
comment 2020-03-21 19:41:09 +01:00
Christian Grothoff
c277dc2a18
style fixes 2020-03-21 19:39:46 +01:00
Christian Grothoff
e5e6c9b6b4
minor style improvement 2020-03-21 19:30:24 +01:00
Christian Grothoff
f1d3364313
code cleanup, deduplication, DCE 2020-03-21 19:25:53 +01:00
Christian Grothoff
ca943e8c3f
fix FTBFS issue on some platforms 2020-03-21 18:15:11 +01:00
Christian Grothoff
88fd81e5da
completing auditor split 2020-03-21 16:09:22 +01:00
Christian Grothoff
a8b8258e12
steps towards new split-auditor logic 2020-03-21 12:56:16 +01:00
Christian Grothoff
2ace9969b7
rename fest on refactored auditor logic 2020-03-21 11:05:51 +01:00
Christian Grothoff
66616a97d7
working on splitting auditor 2020-03-20 22:34:17 +01:00
Christian Grothoff
59a5b1ceb8
a first, untested stab at #6123, committing intermediate result that passes (existing) tests 2020-03-17 22:13:15 +01:00
Christian Grothoff
4322bbf2f1
move common logic to parse currency into libtalerutil 2020-03-15 20:08:38 +01:00
Christian Grothoff
d9c3627bc5
run closer and transfer with aggregator, check if we actually did get deposit confirmations before running #24 2020-03-14 17:46:53 +01:00
Christian Grothoff
f13f030777
reset is unnecessary, we did just drop and recreate the entire DB 2020-03-13 19:34:52 +01:00
Christian Grothoff
ffcadbff8c
code cleanup (comments, scoping, naming, indentation) 2020-03-07 00:28:07 +01:00
Christian Grothoff
52d41311ac
new coins => fresh coins, also move comments into the database itself 2020-03-05 23:49:47 +01:00
Christian Grothoff
a49bfef2fb
rename for consistency 2020-03-05 23:02:38 +01:00
Christian Grothoff
6cc516427b
minor code clean up, renaming for consistency 2020-03-04 11:47:22 +01:00
Christian Grothoff
113f3891d1
removing dead code, using more named constants, checking return values better 2020-03-01 17:51:46 +01:00
Christian Grothoff
0a2b049864
big rename fest related to #6067 API renaming 2020-02-29 16:42:10 +01:00
Christian Grothoff
30b24448c8
do not NPE if encountering reserve_close for which we have no summary 2020-02-25 14:21:14 +01:00
Christian Grothoff
47e8190e9d
fix pp update logic to not insert multiple pps 2020-02-25 14:20:41 +01:00
Christian Grothoff
548a0cc09d
do not NPE if encountering reserve_close for which we have no summary 2020-02-25 14:12:28 +01:00
Christian Grothoff
bb0952ac8d
fix some auditor assertions (see #6106) 2020-02-23 22:01:27 +01:00
Christian Grothoff
176113a62a
fix some auditor assertions (see #6106) 2020-02-23 21:52:18 +01:00
Christian Grothoff
a66b9e1b8a
fix loglevel 2020-02-23 19:55:59 +01:00
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