Commit Graph

3286 Commits

Author SHA1 Message Date
Christian Grothoff
d47241e0e1
fix double continuation scheduling 2020-02-04 00:04:29 +01:00
Christian Grothoff
232606fb57
add IF NOT EXISTS for indices 2020-02-03 23:42:47 +01:00
Christian Grothoff
f4f86d2b01
increse log level on errors 2020-01-26 18:51:25 +01:00
Christian Grothoff
282e4f59ee
address bank_api_credit comment/FIXME from Florian, also adapt debit logic accordingly 2020-01-26 17:48:13 +01:00
Florian Dold
26c9563ef0
return TALER_EC_INVALID instead of TALER_EC_NONE when error JSON doesn't contain code 2020-01-23 15:44:33 +01:00
Florian Dold
0fe82acc1b
better naming, comments and more logging for incoming history 2020-01-22 13:53:11 +01:00
Florian Dold
975d9c9d15
make sure request_uid is actually unique
Allowing duplicate request_uid for different transfer details means that
somebody might eventually rely on this, which is bad.  They should
really be unique, it makes tracing easier.
2020-01-21 16:13:22 +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
52797133a4
fix signal initialization race on startup with shutdown 2020-01-20 12:10:44 +01:00
Christian Grothoff
8a4201c43b
fix 2020-01-20 11:47:47 +01:00
Christian Grothoff
be0a52f23c
fix crash 2020-01-20 11:46:44 +01:00
Christian Grothoff
92080dc8a4
add more tests 2020-01-20 11:38:53 +01:00
Christian Grothoff
85f10a86ff
handle case where get_session() is called from main, i.e. in combination with -f option 2020-01-20 11:15:19 +01:00
Christian Grothoff
72293a25ac
Merge branch 'master' of git+ssh://git.taler.net/exchange 2020-01-20 09:45:05 +01:00
Christian Grothoff
c381a2aba7
troublesome vars, remove 2020-01-20 09:45:01 +01:00
Florian Dold
e6bd2a8328
properly shut down wirewatch 2020-01-20 03:19:54 +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
f616d29005
fix leak 2020-01-20 02:45:21 +01:00
Christian Grothoff
aaa57167db
add exchange key during test 2020-01-20 02:43:48 +01:00
Christian Grothoff
f4b17c3ada
update AFL test suite 2020-01-20 02:15:09 +01:00
Florian Dold
26ad7c8191
spelling of 'mismatch' 2020-01-20 02:11:03 +01:00
Christian Grothoff
f45b1c912b
fix leak 2020-01-20 02:00:55 +01:00
Christian Grothoff
f12ef85960
fix 2020-01-20 01:53:07 +01:00
Christian Grothoff
3fffb93e53
kill goto 2020-01-20 01:44:14 +01:00
Christian Grothoff
b290ca30c0
fix 2020-01-20 01:40:29 +01:00
Christian Grothoff
e090d69cb0
fix 2020-01-20 01:37:49 +01:00
Christian Grothoff
859337eabb
bugfixes 2020-01-20 01:31:24 +01:00
Christian Grothoff
7f60da4971
bugfixes 2020-01-20 01:30:38 +01:00
Christian Grothoff
8ce6d32f63
beautification 2020-01-20 01:23:02 +01:00
Christian Grothoff
500a7fe2bb
simplify 2020-01-20 00:32:17 +01:00
Florian Dold
2e1480dcab
fix copy and paste error 2020-01-20 00:31:48 +01:00
Florian Dold
82d31fed24
address minor fixmes 2020-01-20 00:30:55 +01:00
Christian Grothoff
4bf153fdb0
resolve fixmes 2020-01-20 00:21:50 +01:00
Florian Dold
c87eb30e78
some comments on aggregator 2020-01-20 00:07:45 +01:00
Christian Grothoff
26af6b2328
add single-threaded mode to exchange HTTP for fuzzing 2020-01-19 23:58:07 +01:00
Florian Dold
801592b460
doxygen fix 2020-01-19 23:05:22 +01:00
Florian Dold
73d9ef6c34
minor comment fixes 2020-01-19 22:57:46 +01:00
Christian Grothoff
bb36d40132
named constants please 2020-01-19 22:31:43 +01:00
Christian Grothoff
e5b92f8b5e
enable stdin for -f 2020-01-19 22:30:52 +01:00
Christian Grothoff
e46467510d
leak fixes 2020-01-19 22:24:04 +01:00
Florian Dold
12468e1fd8
denom->amount 2020-01-19 22:01:27 +01:00
Christian Grothoff
6445558065
fix auditor issues 2020-01-19 21:51:13 +01:00
Christian Grothoff
c48e4a8a06
comment on JSON canonicalization 2020-01-19 21:18:03 +01:00
Christian Grothoff
84fd301313
fix option 2020-01-19 21:13:52 +01:00
Christian Grothoff
c3ec8c929d
also check currency unit 2020-01-19 21:05:53 +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
6f3c682722
rename: TALER_config_get_denom->amount 2020-01-19 20:39:27 +01:00
Christian Grothoff
bc812a0a51
indent 2020-01-19 20:37:12 +01:00
Christian Grothoff
a0c6adfa49
split off mhd.c 2020-01-19 20:36:34 +01:00
Christian Grothoff
59398cfd76
separate util.c and url.c 2020-01-19 20:33:07 +01:00
Christian Grothoff
600592dbf6
fix rounding, extend test 2020-01-19 20:11:32 +01:00
Christian Grothoff
e4cfa3d640
annotate 2020-01-19 19:44:29 +01:00
Christian Grothoff
5da9cfc51c
clean up amount logic, fix 2^53 check 2020-01-19 19:39:14 +01:00
Christian Grothoff
1f5c814b73
fix copyright headers as per CA 2020-01-19 19:22:43 +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
Christian Grothoff
c1dc7cc28b
leaks 2020-01-19 17:25:45 +01:00
Christian Grothoff
9031f7340d
try to fix mess for keystate locking 2020-01-19 17:14:14 +01:00
Christian Grothoff
b6543b8f9a
fix merge conflict 2020-01-19 17:06:12 +01:00
Christian Grothoff
707449aa8f
try to fix KS handling 2020-01-19 17:03:36 +01:00
Christian Grothoff
ce5adddaf3
clean up benchmark logic 2020-01-19 17:03:30 +01:00
Florian Dold
fc8bdb9b97
consistently use payto URI instead of URL 2020-01-19 17:03:19 +01:00
Florian Dold
9f522baadc
add missing files and adjust .gitignore rules for testing move 2020-01-19 16:06:29 +01:00
Florian Dold
03bcd50d9a
move libtalertwistertesting into the exchange 2020-01-19 16:02:04 +01:00
Christian Grothoff
ca0bc6fdc1
fix theoretical barrier issue 2020-01-19 15:46:09 +01:00
Christian Grothoff
42ef95d002
duplicate code elimination 2020-01-19 15:38:44 +01:00
Christian Grothoff
fdd8d602ba
fix benchmark 2020-01-19 15:36:49 +01:00
Florian Dold
72a629a8be
move testing logic and integration tests into separate directory 2020-01-19 15:23:33 +01:00
Christian Grothoff
dbf85bbc0d
clarify FIXMEs 2020-01-19 14:53:31 +01:00
Florian Dold
ca7d8434dd
remove obsolete config generation shell script 2020-01-19 14:48:45 +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
Florian Dold
b683fd114a
remove unused/undocumented valgraind suppression file 2020-01-19 01:42:48 +01:00
Christian Grothoff
447ae4da0b
DCE 2020-01-18 23:53:15 +01:00
Christian Grothoff
b90ce2e467
fix dropper 2020-01-18 23:51:17 +01:00
Christian Grothoff
db669ee495
payback -> recoup stranglers 2020-01-18 23:49:37 +01:00
Christian Grothoff
6e17a847e8
fix FTBFS 2020-01-18 23:28:35 +01:00
Christian Grothoff
889644c686
fix FTBFS 2020-01-18 23:28:01 +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
c4493f9e05
fix config 2020-01-18 20:53:25 +01:00
Christian Grothoff
6fc2a5f949
fixes 2020-01-18 20:50:25 +01:00
Christian Grothoff
c1996b7e69
clean up taler-wire tool 2020-01-18 20:36:09 +01:00
Florian Dold
824e6ce9d7
doxygen fixes, remove redundant parameters 2020-01-18 20:20:24 +01:00
Florian Dold
3d431e8d33
doxygen fixes 2020-01-18 20:10:35 +01:00
Florian Dold
34e6425f9d
doxygen fixes / redundant parameter elimination 2020-01-18 20:04:03 +01:00
Christian Grothoff
6bdccb5c7b
add preload obscenity 2020-01-18 19:49:33 +01:00
Christian Grothoff
5c46951821
fix warnings 2020-01-18 19:28:17 +01:00
Christian Grothoff
73ee593b76
make static analysis happy 2020-01-18 19:21:59 +01:00
Christian Grothoff
8dbc19758b
fix compiler warnings 2020-01-18 19:16:44 +01:00
Florian Dold
d53eca8940
do not use macros where a function does the job better 2020-01-18 18:33:18 +01:00
Christian Grothoff
53c21c441b
fix leak 2020-01-18 18:22:10 +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
b3ff66d057
fix leak 2020-01-18 18:09:15 +01:00
Christian Grothoff
8715e2b284
fix leaks 2020-01-18 18:04:59 +01:00
Christian Grothoff
c5c04cb51f
fix -Wextra warnings 2020-01-18 17:53:54 +01:00
Florian Dold
0f214150db
make parameter const 2020-01-18 17:44:06 +01:00
Christian Grothoff
fef001cfdd
fix test_23 2020-01-18 17:38:56 +01:00
Christian Grothoff
684da791cc
fix warnings 2020-01-18 17:22:22 +01:00
Florian Dold
d4abdb7a28
add break_op assertion 2020-01-18 17:08:23 +01:00
Christian Grothoff
47deacaa15
doxygen 2020-01-18 17:06:32 +01:00
Florian Dold
48aab68ff5
minor log improvement 2020-01-18 16:53:22 +01:00
Christian Grothoff
644049274c
doxygen 2020-01-18 16:41:24 +01:00
Christian Grothoff
204b545db1
deal with wire fees from the past in the aggregator 2020-01-18 16:28:42 +01:00
Christian Grothoff
c87722791d
doxygen 2020-01-18 14:36:49 +01:00
Christian Grothoff
5583b7a059
libraries were folded, fold headers as well 2020-01-18 14:24:55 +01:00
Christian Grothoff
5146d62b14
doxygen 2020-01-18 14:16:40 +01:00
Christian Grothoff
9c45958a55
doxygen 2020-01-18 14:13:28 +01:00
Florian Dold
9d86f050f9
fix syntax error 2020-01-18 14:07:53 +01:00
Christian Grothoff
96ac20c3bb
fix FTBFS 2020-01-18 14:01:56 +01:00
Christian Grothoff
ef4cb1b7c9
test 19 is obsolete 2020-01-18 14:01:13 +01:00
Christian Grothoff
0b4008bd84
doxygen 2020-01-18 13:58:42 +01:00
Florian Dold
4993863c4c
allow skipping of denom fees check 2020-01-18 13:52:19 +01:00
Christian Grothoff
ccb8869344
doxygen 2020-01-18 13:35:51 +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
Christian Grothoff
9317d6d69d
doxygen work 2020-01-18 13:23:17 +01:00
Christian Grothoff
dac255329f
doxygen 2020-01-18 13:23:17 +01:00
Florian Dold
f39ebe7402
auditor test: re-generate database with fixed merchant bank account 2020-01-18 13:20:36 +01:00
Christian Grothoff
5abe350a05
doxygen 2020-01-18 12:34:17 +01:00
Florian Dold
8e0180b257
remove more redundant args 2020-01-18 04:39:52 +01:00
Florian Dold
5d19229561
dce: redundant args 2020-01-18 04:31:55 +01:00
Florian Dold
0cebe32fc6
dce: redundant arg 2020-01-18 04:20:29 +01:00
Florian Dold
47698761d0
remove redundant arg 2020-01-18 04:12:51 +01:00
Florian Dold
22bd615fa9
remove redundant exchange_account_url 2020-01-18 04:10:02 +01:00
Florian Dold
add346eb6c
remove redundant bank_url field 2020-01-18 04:00:35 +01:00
Florian Dold
08a447985c
small steps towards removing hard-coded exchange account 2020-01-18 03:50:54 +01:00
Florian Dold
572f350660
add fixme 2020-01-18 01:21:38 +01:00
Florian Dold
d2d7791c69
DCE: only keep x-taler-wire processing functions we actually use/need 2020-01-18 01:13:53 +01:00
Florian Dold
c805e9cf20
DCE: we never have to derrive the wire_gateway_url from the payto URI 2020-01-18 00:43:29 +01:00
Christian Grothoff
cb3c4a520a
update gnunet.tag 2020-01-17 23:56:47 +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
Christian Grothoff
f03bcb65f2
doxygen 2020-01-17 23:06:01 +01:00
Florian Dold
135b53d4a2
test-auditor config 2020-01-17 23:05:39 +01:00