exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

test-taler-exchange-wirewatch-postgres.conf (1956B)


      1 # This file is in the public domain.
      2 
      3 [PATHS]
      4 # Persistent data storage for the testcase
      5 TALER_TEST_HOME = test_taler_exchange_httpd_home/
      6 
      7 [taler-exchange-secmod-rsa]
      8 LOOKAHEAD_SIGN = 24 days
      9 
     10 [taler-exchange-secmod-eddsa]
     11 LOOKAHEAD_SIGN = 24 days
     12 DURATION = 14 days
     13 
     14 [exchange]
     15 CURRENCY = EUR
     16 CURRENCY_ROUND_UNIT = EUR:0.01
     17 TINY_AMOUNT = EUR:0.01
     18 AML_THRESHOLD = EUR:1000000
     19 DB = postgres
     20 PORT = 8081
     21 MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
     22 BASE_URL = "http://localhost:8081/"
     23 
     24 [exchangedb]
     25 # This is THE test that requires a short reserve expiration time!
     26 IDLE_RESERVE_EXPIRATION_TIME = 4 s
     27 
     28 [exchangedb-postgres]
     29 CONFIG = "postgres:///talercheck"
     30 
     31 [auditor]
     32 BASE_URL = "http://localhost:8083/"
     33 PORT = 8083
     34 TINY_AMOUNT = EUR:0.01
     35 
     36 [auditordb-postgres]
     37 CONFIG = "postgres:///talercheck"
     38 
     39 [exchange-account-1]
     40 # What is the account URL?
     41 PAYTO_URI = "payto://x-taler-bank/localhost/2?receiver-name=2"
     42 ENABLE_DEBIT = YES
     43 ENABLE_CREDIT = YES
     44 
     45 [exchange-accountcredentials-1]
     46 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/"
     47 WIRE_GATEWAY_AUTH_METHOD = basic
     48 USERNAME = Exchange
     49 PASSWORD = password
     50 
     51 [admin-accountcredentials-1]
     52 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/2/taler-wire-gateway/"
     53 WIRE_GATEWAY_AUTH_METHOD = basic
     54 USERNAME = Exchange
     55 PASSWORD = password
     56 
     57 [bank]
     58 HTTP_PORT = 8082
     59 
     60 [libeufin-bank]
     61 CURRENCY = EUR
     62 DEFAULT_CUSTOMER_DEBT_LIMIT = EUR:200
     63 DEFAULT_ADMIN_DEBT_LIMIT = EUR:2000
     64 REGISTRATION_BONUS_ENABLED = yes
     65 REGISTRATION_BONUS = EUR:100
     66 SUGGESTED_WITHDRAWAL_EXCHANGE = http://localhost:8081/
     67 SERVE = tcp
     68 PORT = 8082
     69 PWD_HASH_CONFIG = { "cost": 4 }
     70 PWD_AUTH_COMPAT = yes
     71 
     72 # Need at least one coin, otherwise Exchange
     73 # refuses to start.
     74 [coin_eur_ct_1]
     75 value = EUR:0.01
     76 duration_withdraw = 7 days
     77 duration_spend = 2 years
     78 duration_legal = 3 years
     79 fee_withdraw = EUR:0.00
     80 fee_deposit = EUR:0.00
     81 fee_refresh = EUR:0.01
     82 fee_refund = EUR:0.01
     83 CIPHER = RSA
     84 rsa_keysize = 1024