Commit Graph

235 Commits

Author SHA1 Message Date
Christian Grothoff
2ee33e3cbc
remove exchange-url argument from /admin/add/incoming 2020-01-11 23:06:24 +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
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
385b3e77df
tighten formatting rules 2019-10-31 12:59:50 +01:00
Christian Grothoff
ee6d7d75d9
do use main_cb/main_cb_cls 2019-09-10 05:49:30 +02:00
Christian Grothoff
58c3e4d98f
move basedb generation to auditor/ 2019-09-06 02:45:57 +02:00
Christian Grothoff
4831e7ac76
remove AS integer for Postgres backwards-commpatibility of the dump 2019-09-05 12:06:16 +02:00
Christian Grothoff
aa3655d35e
remove AS integer for Postgres backwards-commpatibility of the dump 2019-09-05 12:05:32 +02:00
Christian Grothoff
7d5808f129
do not dump db owner 2019-09-05 11:51:15 +02:00
Christian Grothoff
ecfc8ace55
also record fees for basedb 2019-09-05 05:48:38 +02:00
Christian Grothoff
da18859edc
regenerating basedb with latest wallet 2019-09-05 02:41:00 +02:00
Christian Grothoff
380bf67de6
generate with fast deposits in the future 2019-09-03 04:16:06 +02:00
Christian Grothoff
67aeb85a13
misc. auditor bugfixes 2019-09-02 08:01:55 +02:00
Christian Grothoff
3d8b67ab5c
enable fees for all coins to test fee logic in auditor 2019-09-02 03:33:22 +02:00
Florian Dold
eb55997084
re-format code 2019-08-25 16:18:24 +02:00
Florian Dold
a199215b98
add missing line continuation 2019-08-25 15:20:11 +02:00
Christian Grothoff
cbcfc56e5a
regenerate DB with new auditor db structure 2019-08-24 22:56:00 +02:00
Christian Grothoff
33217d730f
integrate bank when generating auditor test database 2019-08-23 14:22:23 +02:00
Christian Grothoff
6e6d6013be
fix test-auditor.sh check for no emergencies 2019-08-23 13:26:51 +02:00
Christian Grothoff
1b27509242
also dump mpub 2019-08-22 15:02:33 +02:00
Christian Grothoff
cd705a4df2
logic to create database for auditor test 2019-08-22 14:26:32 +02:00
Christian Grothoff
bad3e3dc4a
fix benchmark FTBFS 2019-07-24 14:13:02 +02:00
Marcello Stanisci
00817ba528
fix FTBFS 2019-06-30 20:50:05 +02:00
Christian Grothoff
e9f43adb5b
use proper default configuration 2019-06-30 17:44:58 +02:00
Christian Grothoff
4f846eab96
fix #5756, also change sepa->iban as per payto:// spec 2019-06-08 19:55:18 +02:00
Christian Grothoff
256910e28d
getchar() result is intentionally discarded, make this clear 2019-06-03 11:17:40 +02:00
Christian Grothoff
c241694ccb
check more return values 2019-06-03 10:44:57 +02:00
Florian Dold
5dd3c2191a
benchmark: don't print result as exchange worker 2019-05-02 23:45:31 +02:00
Florian Dold
feec6e30e6
benchmark: terminate exchange slave properly 2019-05-01 20:52:43 +02:00
Florian Dold
88f9e693f6
benchmar: wait for exchange worker to terminate 2019-05-01 19:44:00 +02:00
Florian Dold
8e391e8bfb
Don't free null strings.
When running in client-only mode, this string will never be allocated,
but the code tried to free it ...
2019-05-01 04:00:29 +02:00
Christian Grothoff
81e8b65836
fix swapped arguments, and add const where required, do not free const ptr 2019-03-16 02:28:42 +01:00
Marcello Stanisci
bdd8d67be3
Swapping parameters 2019-03-13 17:53:38 +01:00
Marcello Stanisci
6ee5346b20
fix double-free 2019-03-13 17:15:57 +01:00
Christian Grothoff
bb38ff98d1
stop wirewatch if launching exchange fails 2019-03-13 04:16:22 +01:00
Christian Grothoff
ae4b240ec2
return proper error message instead of aborting, fix a few minor memory leaks in taler-exchange-benchmark 2019-03-13 04:11:35 +01:00
Christian Grothoff
54fc83ee6b
fix cyclic dependency by combining exchange-lib and auditor-lib directories 2019-01-11 21:43:15 +01:00
Marcello Stanisci
93ff2d93cc
/withdraw: #5284. 2018-12-18 17:35:23 +01:00
Marcello Stanisci
2fc84dd07f
/refresh/*: #5284. 2018-12-18 16:27:50 +01:00
Marcello Stanisci
c38f521dd8
/deposit: #5284. 2018-12-18 16:09:17 +01:00
Christian Grothoff
277f90bf2b
preparing test logic for new auditor requirements (incomplete) 2018-11-10 19:28:28 +01:00
Florian Dold
34f12d3f06
benchmark: variable 'refresh rate' 2018-10-02 21:08:59 +02:00
Florian Dold
b7bbc4cc70
print CPU time for benchmark descendant processes 2018-10-02 17:26:42 +02:00
Florian Dold
ca80a4f1c8
result must be signed 2018-09-21 17:36:19 +02:00
Florian Dold
ff96695e47
benchmark: don't crash on --help 2018-09-21 15:15:30 +02:00
Florian Dold
9316f63b7f
exchange benchmark: add option to linger around after we're done 2018-08-23 22:47:50 +02:00
Florian Dold
aa360e0ccd
remove automatically generated file that always changes 2018-08-23 22:47:19 +02:00
Christian Grothoff
efd65a63ac
fix preflight check failure 2018-08-19 18:40:13 +02:00
Christian Grothoff
190a1fadaf
re-init logging so we can tell by PID who it is 2018-08-19 17:19:27 +02:00
Christian Grothoff
0df2028f96
make transactions smaller to try to reduce rollbacks 2018-08-19 16:01:57 +02:00
Christian Grothoff
ddca1f5c68
add logic to allow fakebank transfers to be retried 2018-08-19 14:19:17 +02:00
Christian Grothoff
7663baf2e2
retry instantly if /keys download fails during testcase startup 2018-08-19 13:27:21 +02:00
Florian Dold
2d7e9bc5aa
increase client limit 2018-08-19 13:08:05 +02:00
Christian Grothoff
433fab96c9
add logic to retry /keys if /keys download fails 2018-08-19 12:12:00 +02:00
Florian Dold
ec08232b3f
increase listen backlog for fakebank 2018-08-19 11:37:42 +02:00
Florian Dold
7ba7a46f24
benchmark: remove odd macro 2018-08-19 01:13:17 +02:00
Florian Dold
96e047b186
add remote benchmarking 2018-08-19 00:49:16 +02:00
Christian Grothoff
f0a796a3f6
make curl check saner, use AS_IF 2018-08-16 14:22:01 +02:00
Christian Grothoff
a1f289512e
make wirewatch batch size adaptive to transaction success/failure 2018-08-11 11:29:45 +02:00
Christian Grothoff
96c2fb8e10
implement retries for a few more commands 2018-08-11 11:29:02 +02:00
Christian Grothoff
30191a8ae5
be aggressive 2018-08-11 06:31:43 +02:00
Christian Grothoff
2637c1b682
add multi-reserve support, improve load balancing by not reusing connections in benchmark 2018-08-11 02:48:49 +02:00
Christian Grothoff
e0585f2dac
resign account-2 2018-08-10 22:32:44 +02:00
Christian Grothoff
1314b5fe20
use timeout option in benchmark 2018-08-10 22:31:46 +02:00
Christian Grothoff
e0935af764
add a few more FOR UPDATE where appropriate 2018-08-10 19:12:57 +02:00
Christian Grothoff
9887077ea2
launch wirewatch in the background for benchmarking 2018-08-10 18:48:45 +02:00
Christian Grothoff
e17121fd1c
use retry in benchmark 2018-08-10 18:48:44 +02:00
Christian Grothoff
db65bc69bf
fix bug wrt signature handling during withdraw (with/without optimistic signing) 2018-08-10 18:37:25 +02:00
Christian Grothoff
04055de75a
spaceing 2018-08-09 22:30:45 +02:00
Christian Grothoff
9384234555
use correct HTTP status code for commit failures 2018-08-09 21:15:27 +02:00
Christian Grothoff
c51b19512b
report ore precisely where commands went wrong 2018-08-09 21:10:56 +02:00
Christian Grothoff
e3f7083b3e
fix KS state freeing on exit 2018-08-09 20:51:42 +02:00
Christian Grothoff
d9474aab0f
fix benchmark tool output and time measurement 2018-08-09 20:25:30 +02:00
Christian Grothoff
a05859ad13
use only one fakebank instance in multi-process benchmark 2018-08-09 19:47:23 +02:00
Christian Grothoff
f17ad4de76
in parallel tests, only launch one exchange -- still broken: code attempts to launch multiple fakebanks 2018-08-09 10:33:21 +02:00
Christian Grothoff
4693708b8c
use fprintf / stdout for final benchmark result 2018-08-09 10:15:04 +02:00
Christian Grothoff
3197125dbe
first quick hack for parallelizing benchmark 2018-08-07 22:10:38 +02:00
Christian Grothoff
46047a6c14
fix build 2018-08-06 15:18:29 +02:00
Marcello Stanisci
5c18695bc0
Remove unnecessary code. 2018-07-27 16:18:51 +02:00
Marcello Stanisci
dddf7f52a5
Salt and sig not to be kept on tracking. 2018-07-27 14:53:45 +02:00
Marcello Stanisci
d9738553b2
Benchmark,
extract bank url from the configuration; then
make example config usable.
2018-07-27 14:47:02 +02:00
Marcello Stanisci
1c541596d6
Add make target to clean blobs from the benchmark. 2018-07-27 12:12:13 +02:00
Marcello Stanisci
e850dc09c4
Make benchmark config file working. 2018-07-27 11:58:54 +02:00
Marcello Stanisci
880ce0bdb3
Remove old note. 2018-07-25 16:19:45 +02:00
Marcello Stanisci
6eaa415f90
Benchmark.
Building the /wire response object inside the tool.
2018-07-25 16:18:49 +02:00
Marcello Stanisci
953a2bd382
Add benchmark example config file. 2018-07-25 15:43:27 +02:00
Marcello Stanisci
3af3a9fdc3
Give default loglev at benchmark. 2018-07-25 13:36:33 +02:00
Marcello Stanisci
de925a3556
Benchmark.
Removing "-new" part from the source file.
2018-07-25 13:26:47 +02:00
Marcello Stanisci
9f8b6a6b5d
Prefer strncpy() 2018-07-25 13:08:18 +02:00
Marcello Stanisci
2393e26b02
Use proper exchange preparator (benchmark) 2018-07-25 12:36:38 +02:00
Marcello Stanisci
7a1d4e4d65
no ApiKey for benchmark 2018-07-25 12:05:55 +02:00
Marcello Stanisci
d7789d0984
Fix segfault. 2018-07-25 12:03:26 +02:00
Marcello Stanisci
7aee3ddc95
Benchmark uses fakebank now. 2018-07-25 11:57:15 +02:00
Marcello Stanisci
207c975902
Benchmark.
Measuring time and print outcome.
2018-07-25 11:45:14 +02:00
Marcello Stanisci
2952c84fdf
Benchmark.
Fix default runs' number and payto construction.
2018-07-25 10:54:48 +02:00
Marcello Stanisci
9460206749
Benchmark.
Batching all the commands together.
2018-07-25 10:40:38 +02:00
Marcello Stanisci
5f0b98a298
Benchmark.
Define the "unity" benchmark: a array of CMDs containing
at least a withdraw+deposit, and _possibly_ a refresh operation.
2018-07-25 10:23:40 +02:00
Marcello Stanisci
64cb473ff4
Benchmark.
Calculating total amount for the (unique) reserve.
2018-07-25 09:31:18 +02:00
Marcello Stanisci
92dc0c285a
Benchmark.
Iterations are counted "per coin".  Basically,
the user expresses how many coins they want to
instantiate for a single invocation of the command.
2018-07-24 18:23:39 +02:00