exchange

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

benchmark-common.conf (2893B)


      1 # This file is in the public domain.
      2 [paths]
      3 TALER_TEST_HOME=exchange_benchmark_home/
      4 
      5 [taler]
      6 CURRENCY=EUR
      7 CURRENCY_ROUND_UNIT=EUR:0.01
      8 
      9 [exchange]
     10 # A purse must not outlive the denominations of the coins in it, see the
     11 # comment on PURSE_EXPIRATION_LIMIT in exchange.conf.
     12 PURSE_EXPIRATION_LIMIT = 3 years
     13 SIGNKEY_LEGAL_DURATION=2 years
     14 PORT=8081
     15 MASTER_PUBLIC_KEY=98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
     16 DB=postgres
     17 BASE_URL="http://localhost:8081/"
     18 # Only set this option if you are actually running
     19 # multiple aggregators!
     20 # AGGREGATOR_SHARD_SIZE=67108864
     21 WIREWATCH_IDLE_SLEEP_INTERVAL=5 ms
     22 
     23 [exchangedb-postgres]
     24 CONFIG="postgres:///talercheck"
     25 
     26 [exchange-offline]
     27 MASTER_PRIV_FILE=${TALER_TEST_HOME}/.local/share/taler/exchange/offline-keys/master.priv
     28 
     29 [taler-exchange-secmod-rsa]
     30 LOOKAHEAD_SIGN="1 d"
     31 
     32 [taler-exchange-secmod-cs]
     33 LOOKAHEAD_SIGN="1 d"
     34 
     35 [taler-exchange-secmod-eddsa]
     36 DURATION="2 d"
     37 LOOKAHEAD_SIGN="1 d"
     38 
     39 # account-2 is suitable for fakebank
     40 [exchange-account-1]
     41 PAYTO_URI = "payto://x-taler-bank/localhost/exchange?receiver-name=exchange"
     42 ENABLE_DEBIT = YES
     43 ENABLE_CREDIT = YES
     44 
     45 [exchange-accountcredentials-1]
     46 WIRE_GATEWAY_AUTH_METHOD = none
     47 WIRE_GATEWAY_URL = "http://localhost:8080/accounts/exchange/taler-wire-gateway/"
     48 
     49 [admin-accountcredentials-1]
     50 WIRE_GATEWAY_AUTH_METHOD = none
     51 WIRE_GATEWAY_URL = "http://localhost:8080/accounts/exchange/taler-wire-gateway/"
     52 
     53 # account-2 is suitable for libeufin
     54 [exchange-account-2]
     55 ENABLE_DEBIT = YES
     56 ENABLE_CREDIT = YES
     57 PAYTO_URI = payto://iban/SANDBOXX/DE033310?receiver-name=Exchange+Company
     58 
     59 [exchange-accountcredentials-2]
     60 WIRE_GATEWAY_AUTH_METHOD = basic
     61 USERNAME = exchange
     62 PASSWORD = password
     63 WIRE_GATEWAY_URL = "http://localhost:8080/accounts/exchange/taler-wire-gateway/"
     64 
     65 [admin-accountcredentials-2]
     66 WIRE_GATEWAY_AUTH_METHOD = basic
     67 USERNAME = admin
     68 PASSWORD = secret-password
     69 WIRE_GATEWAY_URL = "http://localhost:8080/accounts/exchange/taler-wire-gateway/"
     70 
     71 
     72 # Trust local exchange for "EUR" currency
     73 [merchant-exchange-benchmark]
     74 EXCHANGE_BASE_URL = http://localhost:8081/
     75 MASTER_KEY=98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG
     76 # If currency does not match [TALER] section, the exchange
     77 # will be ignored!
     78 CURRENCY = EUR
     79 
     80 
     81 [merchantdb-postgres]
     82 CONFIG="postgres:///talercheck"
     83 
     84 [auditordb-postgres]
     85 CONFIG="postgres:///talercheck"
     86 
     87 [syncdb-postgres]
     88 CONFIG="postgres:///talercheck"
     89 
     90 [exchange]
     91 WIREWATCH_IDLE_SLEEP_INTERVAL = 5000 ms
     92 
     93 [bank]
     94 HTTP_PORT=8080
     95 SERVE=http
     96 RAM_LIMIT=10000000
     97 
     98 [libeufin-bank]
     99 PORT = 8080
    100 WIRE_TYPE = iban
    101 IBAN_PAYTO_BIC = SANDBOXXX
    102 CURRENCY = EUR
    103 PWD_HASH_CONFIG = { "cost": 4 }
    104 PWD_AUTH_COMPAT = yes
    105 DEFAULT_DEBT_LIMIT = EUR:2000000
    106 
    107 [libeufin-bankdb-postgres]
    108 CONFIG = postgresql:///talercheck
    109 
    110 [libeufin-nexus]
    111 DB_CONNECTION="postgresql:///talercheck"
    112 
    113 [libeufin-sandbox]
    114 DB_CONNECTION="postgresql:///talercheck"
    115 
    116 [auditor]
    117 BASE_URL="http://localhost:8083/"