summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2023-10-05 09:30:04 +0200
committerChristian Grothoff <grothoff@gnunet.org>2023-10-05 09:30:04 +0200
commit93122299a628e2f983c68fb6ea7101397e319881 (patch)
treefce0f00d9262dee23eb2d2987f63f5fcf5f4bd60
parent1114b6e1434a858e70f1c92940a302510263857f (diff)
downloadanastasis-93122299a628e2f983c68fb6ea7101397e319881.tar.gz
anastasis-93122299a628e2f983c68fb6ea7101397e319881.tar.bz2
anastasis-93122299a628e2f983c68fb6ea7101397e319881.zip
towards being able to test with libeufin-bank
-rw-r--r--src/cli/test_reducer.conf10
-rw-r--r--src/testing/test_anastasis_api.conf10
2 files changed, 20 insertions, 0 deletions
diff --git a/src/cli/test_reducer.conf b/src/cli/test_reducer.conf
index f00b2c6..612177f 100644
--- a/src/cli/test_reducer.conf
+++ b/src/cli/test_reducer.conf
@@ -100,6 +100,16 @@ SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2
ALLOW_REGISTRATIONS = YES
SERVE = http
+[libeufin-bank]
+CURRENCY = TESTKUDOS
+DEFAULT_CUSTOMER_DEBT_LIMIT = TESTKUDOS:200
+DEFAULT_ADMIN_DEBT_LIMIT = TESTKUDOS:2000
+REGISTRATION_BONUS_ENABLED = yes
+REGISTRATION_BONUS = TESTKUDOS:100
+SUGGESTED_WITHDRAWAL_EXCHANGE = http://localhost:8081/
+SERVE = tcp
+PORT = 18082
+
[exchangedb]
IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
LEGAL_RESERVE_EXPIRATION_TIME = 7 years
diff --git a/src/testing/test_anastasis_api.conf b/src/testing/test_anastasis_api.conf
index 1faa6c8..862149a 100644
--- a/src/testing/test_anastasis_api.conf
+++ b/src/testing/test_anastasis_api.conf
@@ -23,6 +23,16 @@ DURATION = 7 days
HTTP_PORT = 8082
BASE_URL = http://localhost:8082/
+[libeufin-bank]
+CURRENCY = EUR
+DEFAULT_CUSTOMER_DEBT_LIMIT = EUR:200
+DEFAULT_ADMIN_DEBT_LIMIT = EUR:2000
+REGISTRATION_BONUS_ENABLED = yes
+REGISTRATION_BONUS = EUR:100
+SUGGESTED_WITHDRAWAL_EXCHANGE = http://localhost:8081/
+SERVE = tcp
+PORT = 8082
+
[anastasis]
PORT = 8086
DB = postgres