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_httpd.conf (3205B)


      1 [PATHS]
      2 # Persistent data storage for the testcase
      3 TALER_TEST_HOME = test_taler_exchange_httpd_home/
      4 TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/taler-system-runtime/
      5 
      6 [taler]
      7 # Currency supported by the exchange (can only be one)
      8 CURRENCY = EUR
      9 CURRENCY_ROUND_UNIT = EUR:0.01
     10 
     11 [auditor]
     12 TINY_AMOUNT = EUR:0.01
     13 
     14 [exchange]
     15 
     16 AML_THRESHOLD = EUR:1000000
     17 
     18 # Directory with our terms of service.
     19 TERMS_DIR = ../../contrib/tos
     20 
     21 # Etag / filename for the terms of service.
     22 TERMS_ETAG = 0
     23 
     24 SIGNKEY_LEGAL_DURATION = 2 years
     25 
     26 # Directory with our privacy policy.
     27 PRIVACY_DIR = ../../contrib/pp
     28 
     29 # Etag / filename for the privacy policy.
     30 PRIVACY_ETAG = 0
     31 
     32 # MAX_REQUESTS = 2
     33 # how long is one signkey valid?
     34 SIGNKEY_DURATION = 4 weeks
     35 
     36 # how long do we generate denomination and signing keys
     37 # ahead of time?
     38 LOOKAHEAD_SIGN = 32 weeks 1 day
     39 
     40 # HTTP port the exchange listens to
     41 PORT = 8081
     42 
     43 # Master public key used to sign the exchange's various keys
     44 MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
     45 
     46 # How to access our database
     47 DB = postgres
     48 
     49 
     50 [exchangedb]
     51 # After how long do we close idle reserves?  The exchange
     52 # and the auditor must agree on this value.  We currently
     53 # expect it to be globally defined for the whole system,
     54 # as there is no way for wallets to query this value.  Thus,
     55 # it is only configurable for testing, and should be treated
     56 # as constant in production.
     57 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
     58 
     59 
     60 [exchangedb-postgres]
     61 CONFIG = "postgres:///talercheck"
     62 
     63 [exchange-account-1]
     64 PAYTO_URI = "payto://x-taler-bank/localhost:8082/3?receiver-name=exchange"
     65 ENABLE_DEBIT = YES
     66 ENABLE_CREDIT = YES
     67 
     68 [exchange-accountcredentials-1]
     69 WIRE_GATEWAY_AUTH_METHOD = basic
     70 USERNAME = Exchange
     71 PASSWORD = password
     72 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/3/taler-wire-gateway/"
     73 
     74 # Coins for the tests.
     75 [coin_eur_ct_1_rsa]
     76 value = EUR:0.01
     77 duration_withdraw = 7 days
     78 duration_spend = 2 years
     79 duration_legal = 3 years
     80 fee_withdraw = EUR:0.00
     81 fee_deposit = EUR:0.00
     82 fee_refresh = EUR:0.01
     83 fee_refund = EUR:0.01
     84 CIPHER = RSA
     85 rsa_keysize = 1024
     86 
     87 [coin_eur_ct_1_cs]
     88 value = EUR:0.01
     89 duration_withdraw = 7 days
     90 duration_spend = 2 years
     91 duration_legal = 3 years
     92 fee_withdraw = EUR:0.00
     93 fee_deposit = EUR:0.00
     94 fee_refresh = EUR:0.01
     95 fee_refund = EUR:0.01
     96 CIPHER = CS
     97 
     98 [coin_eur_ct_10_rsa]
     99 value = EUR:0.10
    100 duration_withdraw = 7 days
    101 duration_spend = 2 years
    102 duration_legal = 3 years
    103 fee_withdraw = EUR:0.01
    104 fee_deposit = EUR:0.01
    105 fee_refresh = EUR:0.03
    106 fee_refund = EUR:0.01
    107 CIPHER = RSA
    108 rsa_keysize = 1024
    109 
    110 [coin_eur_ct_10_cs]
    111 value = EUR:0.10
    112 duration_withdraw = 7 days
    113 duration_spend = 2 years
    114 duration_legal = 3 years
    115 fee_withdraw = EUR:0.01
    116 fee_deposit = EUR:0.01
    117 fee_refresh = EUR:0.03
    118 fee_refund = EUR:0.01
    119 CIPHER = CS
    120 
    121 [coin_eur_1_rsa]
    122 value = EUR:1
    123 duration_withdraw = 7 days
    124 duration_spend = 2 years
    125 duration_legal = 3 years
    126 fee_withdraw = EUR:0.01
    127 fee_deposit = EUR:0.01
    128 fee_refresh = EUR:0.03
    129 fee_refund = EUR:0.01
    130 CIPHER = RSA
    131 rsa_keysize = 1024
    132 
    133 [coin_eur_1_cs]
    134 value = EUR:1
    135 duration_withdraw = 7 days
    136 duration_spend = 2 years
    137 duration_legal = 3 years
    138 fee_withdraw = EUR:0.01
    139 fee_deposit = EUR:0.01
    140 fee_refresh = EUR:0.03
    141 fee_refund = EUR:0.01
    142 CIPHER = CS