merchant

Merchant backend to process payments, run by merchants
Log | Files | Refs | Submodules | README | LICENSE

commit bbd91d3d5694eb35f8273df0e3563d76509cdc04
parent 5b1083f5c30084fb0f780f4b23c9d5942368d5fe
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date:   Mon,  7 May 2018 14:09:58 +0200

Make test configs more autocomplete.

Diffstat:
Msrc/lib/test_merchant_api.conf | 17+++++++++++++++++
Msrc/lib/test_merchant_api_new.c | 5++++-
2 files changed, 21 insertions(+), 1 deletion(-)

diff --git a/src/lib/test_merchant_api.conf b/src/lib/test_merchant_api.conf @@ -138,6 +138,23 @@ CURRENCY = EUR # Configuration for the exchange for the testcase # ################################################### +[exchange_keys] + +# how long is one signkey valid? +signkey_duration = 4 weeks + +# how long are the signatures with the signkey valid? +legal_duration = 2 years + +# how long do we generate denomination and signing keys +# ahead of time? +lookahead_sign = 32 weeks 1 day + +# how long do we provide to clients denomination and signing keys +# ahead of time? +lookahead_provide = 4 weeks 1 day + + [exchange] # How to access our database DB = postgres diff --git a/src/lib/test_merchant_api_new.c b/src/lib/test_merchant_api_new.c @@ -322,6 +322,7 @@ run (void *cls, "pass62", "create-reserve-2", EXCHANGE_URL), + CMD_EXEC_WIREWATCH ("wirewatch-2"), TALER_TESTING_cmd_check_bank_transfer @@ -738,7 +739,9 @@ run (void *cls, TALER_TESTING_cmd_check_bank_transfer ("check_bank_transfer-11", EXCHANGE_URL, - "EUR:10.02", USER_ACCOUNT_NO, EXCHANGE_ACCOUNT_NO), + "EUR:10.02", + USER_ACCOUNT_NO, + EXCHANGE_ACCOUNT_NO), TALER_TESTING_cmd_withdraw_amount ("withdraw-coin-11a", is->exchange,