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


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