commit a951ebe385efd96dbe84ed9798efe0949feae824
parent 360a4eee41ae2276cbf215e2d5b4066039edb5cf
Author: Christian Grothoff <christian@grothoff.org>
Date: Sat, 4 Jul 2020 23:55:17 +0200
begin to document benchmark setup
Diffstat:
2 files changed, 37 insertions(+), 3 deletions(-)
diff --git a/manpages/taler.conf.5.rst b/manpages/taler.conf.5.rst
@@ -239,6 +239,9 @@ DURATION_WITHDRAW
DURATION_SPEND
How long do clients have to spend these coins?
+DURATION_LEGAL
+ How long does the exchange have to keep records for this denomination?
+
FEE_WITHDRAW
What fee is charged for withdrawal?
diff --git a/taler-merchant-manual.rst b/taler-merchant-manual.rst
@@ -1221,6 +1221,40 @@ Benchmarking
NOTE: This section is dated and should be reviewed!
+Setup: create Exchange account and two user accounts ``42`` and ``43`` at
+the bank:
+
+::
+
+ $ taler-bank-manage django add_bank_account Exchange
+ $ taler-bank-manage django add_bank_account 42
+ $ taler-bank-manage django add_bank_account 43
+
+Setup exchange password using:
+
+::
+
+ $ taler-bank-manage django changepassword_unsafe Exchange PASSWORD
+
+Configure merchant and exchange, then run:
+
+::
+
+ $ taler-exchange-dbinit
+ $ taler-exchange-keyup
+ $ taler-merchant-dbinit
+
+Launch bank, exchange and merchant backends:
+
+::
+
+ $ taler-bank-manage serve-http
+ $ taler-exchange-httpd
+ $ taler-merchant-httpd
+
+
+
+
The merchant codebase offers the ``taler-merchant-benchmark`` tool to
populate the database with fake payments. This tool is in charge of
starting a merchant, exchange, and bank processes, and provide them all
@@ -1230,9 +1264,6 @@ own configuration (as they would do in production).
The tool takes all of the values it needs from the command line, with
some of them being mandatory. Among those, we have:
-- ``--currency=K`` Use currency *K*, for example to craft coins to
- withdraw.
-
- ``--bank-url=URL`` Assume that the bank is serving under the base URL
*URL*. This option is only actually used by the tool to check if the
bank was well launched.