Commit Graph

224 Commits

Author SHA1 Message Date
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
Marcello Stanisci
a6a28024db
Benchmark.
Making imported benchmark a stub ; and getting it to compile.
2018-07-24 18:17:34 +02:00
Marcello Stanisci
3ed6d650a6
Fix benchmark.
Importing the _merchant_ benchmark source file here and
including it into the compilation system.
2018-07-24 16:02:22 +02:00
Christian Grothoff
52fa78b448
lookahead/duration options are in [exchange], not [exchange_keys], use consistently 2018-07-04 00:43:24 +02:00
Christian Grothoff
cb55c1a3af
Changing configuration structure to enable multiple accounts.
This change enables using multiple wire plugins at the same time.
Also, we now distinguish between the wire plugin (i.e. EBICS or
taler_bank) and the wire method (i.e. SEPA or x-taler-bank) that
the wire plugin is implementing.  The "taler-bank" wire method
was renamed from "test" to "x-taler-bank".

This also changes the format of the /wire response of the exchange,
as we now need to return multiple accounts.  Note that wire fees
are specified per wire method, not per wire account.

taler-exchange-keyup now automatically signs all of the /wire
responses in the location specified by the configuration.

Account identification in wire plugins was changed to use
payto://-URLs instead of method-specific JSON fields.  Signing
and validation of /wire responses was moved from each wire
plugin to a generic validation method in libtalerutil (crypto)
or libtalerjson (for JSON-formatted inputs).
Convenience methods were added to generate JSON for wire accounts
(salting, signing).

Various section and option names were adjusted to streamline the
configuration and make it more consistent overall.  Documentation
was updated as well.
2018-04-02 14:29:44 +02:00
Florian Dold
e318edb5e5
use url instead of uri consistently 2018-01-30 01:38:04 +01:00
Christian Grothoff
2152a6936e
eliminate use of exchange's /admin/add/incoming with fakebank in taler-exchange-benchmark 2017-12-10 19:00:19 +01:00
Christian Grothoff
499247a480
fixing #5178 2017-11-29 20:23:08 +01:00
Christian Grothoff
2f2930f1ba
major API refactoring, adding planchet generation and coin extraction APIs to the Taler crypto library, thereby simplifying code in withdraw, refresh, tipping, payback and testcases; slight API incompatibilities to previous versions are introduced 2017-10-31 14:02:54 +01:00
Christian Grothoff
e4fe0dc87e
exit more nicely if command line arguments were wrong 2017-10-17 19:53:43 +02:00
Christian Grothoff
837fcd515c
use proper return value, some c99 changes 2017-10-06 22:13:28 +02:00
Christian Grothoff
2f715c27f8
check return value from TALER_JSON_hash 2017-10-06 20:02:28 +02:00