summaryrefslogtreecommitdiff
path: root/src/lib/test_exchange_api_keys_cherry_picking.conf
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2019-02-19 15:48:52 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2019-02-19 15:48:52 +0100
commit7c5a277b34856173f5fd73a8c538b4421d677ce0 (patch)
tree62b65c1dbe19646b1f8d62553649b26d22e88025 /src/lib/test_exchange_api_keys_cherry_picking.conf
parentcf5eb8689b16c12e6ff0a685db2b366512ab7725 (diff)
downloadexchange-7c5a277b34856173f5fd73a8c538b4421d677ce0.tar.gz
exchange-7c5a277b34856173f5fd73a8c538b4421d677ce0.tar.bz2
exchange-7c5a277b34856173f5fd73a8c538b4421d677ce0.zip
Make cherry-picking test more isolated.
Diffstat (limited to 'src/lib/test_exchange_api_keys_cherry_picking.conf')
-rw-r--r--src/lib/test_exchange_api_keys_cherry_picking.conf41
1 files changed, 17 insertions, 24 deletions
diff --git a/src/lib/test_exchange_api_keys_cherry_picking.conf b/src/lib/test_exchange_api_keys_cherry_picking.conf
index e65d1e009..e8473d468 100644
--- a/src/lib/test_exchange_api_keys_cherry_picking.conf
+++ b/src/lib/test_exchange_api_keys_cherry_picking.conf
@@ -2,7 +2,7 @@
#
[PATHS]
# Persistent data storage for the testcase
-TALER_TEST_HOME = test_exchange_api_home/
+TALER_TEST_HOME = test_exchange_api_keys_cherry_picking_home/
[taler]
# Currency supported by the exchange (can only be one)
@@ -16,19 +16,24 @@ PORT = 8083
[exchange]
+KEYDIR = ${TALER_TEST_HOME}/.local/share/taler/exchange/live-keys/
+
# how long is one signkey valid?
signkey_duration = 5 seconds
# how long are the signatures with the signkey valid?
legal_duration = 2 years
-# how long do we provide to clients denomination and signing keys
-# ahead of time?
-lookahead_provide = 30 seconds
-
-# Keep it short so we can prolong later!
-LOOKAHEAD_SIGN = 60 s
+# This vaule causes keys to be *RETURNED* in a /keys response.
+# It's a relative time that materializes always in now+itsvalue.
+# We keep it very high, so as to not introduce divergencies between
+# keys that have been created and keys that are returned along /keys.
+lookahead_provide = 10000 seconds
+# This value causes keys to be *CREATED*. The rule is that
+# at any given time there are always N keys whose all the withdraw
+# durations sum up to a time window as big as lookahead_sign.
+lookahead_sign = 60 s
# HTTP port the exchange listens to
PORT = 8081
@@ -133,26 +138,14 @@ CLOSING-FEE-2024 = EUR:0.01
CLOSING-FEE-2025 = EUR:0.01
CLOSING-FEE-2026 = EUR:0.01
-[coin_eur_ct_1]
-value = EUR:0.01
-duration_overlap = 1 s
-duration_withdraw = 25 s
-duration_spend = 40 s
-duration_legal = 60 s
-fee_withdraw = EUR:0.00
-fee_deposit = EUR:0.00
-fee_refresh = EUR:0.01
-fee_refund = EUR:0.01
-rsa_keysize = 1024
-
-[coin_eur_ct_2]
-value = EUR:0.02
+[coin_eur_1]
+value = EUR:1
duration_overlap = 1 s
-duration_withdraw = 25 s
-duration_spend = 40 s
+duration_withdraw = 80 s
+duration_spend = 80 s
duration_legal = 60 s
fee_withdraw = EUR:0.01
fee_deposit = EUR:0.01
-fee_refresh = EUR:0.01
+fee_refresh = EUR:0.03
fee_refund = EUR:0.01
rsa_keysize = 1024