merchant

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

commit b07f9ea519ae9a7fb73a4978b394edb66c7f7884
parent 6cf98569a969d37d19c8c483fa25b0a88811d37a
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sat, 17 Oct 2026 17:04:21 +0200

add new purse expiration limit option

Diffstat:
Msrc/backend/test.conf | 3+++
Msrc/backenddb/test.conf | 3+++
Msrc/merchant-tools/benchmark-common.conf | 3+++
Msrc/testing/test.conf | 3+++
Msrc/testing/test_key_rotation.conf | 4++++
Msrc/testing/test_kyc_api.conf | 3+++
Msrc/testing/test_merchant_api.conf | 3+++
Msrc/testing/test_template.conf | 3+++
8 files changed, 25 insertions(+), 0 deletions(-)

diff --git a/src/backend/test.conf b/src/backend/test.conf @@ -90,6 +90,9 @@ CURRENCY = EUR ################################################### [exchange] +# A purse must not outlive the denominations of the coins in it, see the +# comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. +PURSE_EXPIRATION_LIMIT = 3 years # How to access our database DB = postgres diff --git a/src/backenddb/test.conf b/src/backenddb/test.conf @@ -90,6 +90,9 @@ CURRENCY = EUR ################################################### [exchange] +# A purse must not outlive the denominations of the coins in it, see the +# comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. +PURSE_EXPIRATION_LIMIT = 3 years # How to access our database DB = postgres diff --git a/src/merchant-tools/benchmark-common.conf b/src/merchant-tools/benchmark-common.conf @@ -3,6 +3,9 @@ TALER_TEST_HOME=exchange_benchmark_home/ [exchange] +# A purse must not outlive the denominations of the coins in it, see the +# comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. +PURSE_EXPIRATION_LIMIT = 3 years CURRENCY=EUR CURRENCY_ROUND_UNIT=EUR:0.01 diff --git a/src/testing/test.conf b/src/testing/test.conf @@ -92,6 +92,9 @@ CURRENCY = EUR ################################################### [exchange] +# A purse must not outlive the denominations of the coins in it, see the +# comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. +PURSE_EXPIRATION_LIMIT = 3 years AML_THRESHOLD = EUR:1000000 diff --git a/src/testing/test_key_rotation.conf b/src/testing/test_key_rotation.conf @@ -6,6 +6,10 @@ TALER_CACHE_HOME = $TALER_HOME/.cache/taler/ TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/taler-system-runtime/ [exchange] +# The denominations of this test are legally valid for 120 s only, so +# neither a purse nor the default expiration of a purse may outlive them. +PURSE_EXPIRATION_LIMIT = 120 s +DEFAULT_P2P_EXPIRATION = 120 s CURRENCY = TESTKUDOS CURRENCY_ROUND_UNIT = TESTKUDOS:0.01 TINY_AMOUNT = TESTKUDOS:0.01 diff --git a/src/testing/test_kyc_api.conf b/src/testing/test_kyc_api.conf @@ -48,6 +48,9 @@ TINY_AMOUNT = EUR:0.01 CONFIG = postgres:///talercheck [exchange] +# A purse must not outlive the denominations of the coins in it, see the +# comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. +PURSE_EXPIRATION_LIMIT = 3 years CURRENCY = EUR CURRENCY_ROUND_UNIT = EUR:0.01 TINY_AMOUNT = EUR:0.01 diff --git a/src/testing/test_merchant_api.conf b/src/testing/test_merchant_api.conf @@ -58,6 +58,9 @@ EXCHANGE_BASE_URL = http://localhost:8081/ CURRENCY = EUR [exchange] +# A purse must not outlive the denominations of the coins in it, see the +# comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. +PURSE_EXPIRATION_LIMIT = 3 years CURRENCY = EUR CURRENCY_ROUND_UNIT = EUR:0.01 TINY_AMOUNT = EUR:0.01 diff --git a/src/testing/test_template.conf b/src/testing/test_template.conf @@ -8,6 +8,9 @@ DISABLED = YES DISABLED = YES [exchange] +# A purse must not outlive the denominations of the coins in it, see the +# comment on PURSE_EXPIRATION_LIMIT in the exchange's exchange.conf. +PURSE_EXPIRATION_LIMIT = 3 years CURRENCY = TESTKUDOS CURRENCY_ROUND_UNIT = TESTKUDOS:0.01 TINY_AMOUNT = TESTKUDOS:0.01