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


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