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 (1928B)


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