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


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