test_reducer.conf (5682B)
1 [PATHS] 2 TALER_HOME = ${PWD}/test_reducer_home/ 3 TALER_DATA_HOME = $TALER_HOME/.local/share/taler/ 4 TALER_CONFIG_HOME = $TALER_HOME/.config/taler/ 5 TALER_CACHE_HOME = $TALER_HOME/.cache/taler/ 6 # per-user: a fixed /tmp path breaks as soon as another user on the machine 7 # created it first (the secmod sockets live in here) 8 TALER_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/taler-system-runtime-${USER}/ 9 10 [anastasis] 11 CURRENCY = TESTKUDOS 12 DB = postgres 13 ANNUAL_FEE = TESTKUDOS:0 14 # 4.99 15 TRUTH_UPLOAD_FEE = TESTKUDOS:0.0 16 UPLOAD_LIMIT_MB = 1 17 INSURANCE = TESTKUDOS:1.0 18 ANNUAL_POLICY_UPLOAD_LIMIT = 42 19 20 [anastasis-merchant-backend] 21 PAYMENT_BACKEND_URL = http://localhost:9966/ 22 23 [authorization-question] 24 CURRENCY = TESTKUDOS 25 COST = TESTKUDOS:0.0 26 27 [authorization-totp] 28 CURRENCY = TESTKUDOS 29 COST = TESTKUDOS:0 30 ENABLED = yes 31 32 33 [exchange] 34 CURRENCY = TESTKUDOS 35 CURRENCY_ROUND_UNIT = TESTKUDOS:0.01 36 TINY_AMOUNT = TESTKUDOS:0.01 37 DEFAULT_P2P_EXPIRATION = 4 weeks 38 # placeholder; taler-unified-setup.sh patches this to the key it generates 39 MASTER_PUBLIC_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG 40 MAX_KEYS_CACHING = forever 41 DB = postgres 42 MASTER_PRIV_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/master.priv 43 SERVE = tcp 44 UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http 45 UNIXPATH_MODE = 660 46 PORT = 8081 47 BASE_URL = http://localhost:8081/ 48 SIGNKEY_DURATION = 2 weeks 49 SIGNKEY_LEGAL_DURATION = 2 years 50 LEGAL_DURATION = 2 years 51 LOOKAHEAD_SIGN = 3 weeks 1 day 52 LOOKAHEAD_PROVIDE = 2 weeks 1 day 53 KEYDIR = ${TALER_DATA_HOME}/exchange/live-keys/ 54 REVOCATION_DIR = ${TALER_DATA_HOME}/exchange/revocations/ 55 TERMS_ETAG = 0 56 PRIVACY_ETAG = 0 57 STEFAN_ABS = "TESTKUDOS:5" 58 59 [exchange-offline] 60 MASTER_PRIV_FILE = ${TALER_DATA_HOME}/exchange/offline-keys/master.priv 61 62 [merchant] 63 SERVE = tcp 64 PORT = 9966 65 UNIXPATH = ${TALER_RUNTIME_DIR}/merchant.http 66 UNIXPATH_MODE = 660 67 DEFAULT_WIRE_FEE_AMORTIZATION = 1 68 DB = postgres 69 WIREFORMAT = default 70 # Set very low, so we can be sure that the database generated 71 # will contain wire transfers "ready" for the aggregator. 72 WIRE_TRANSFER_DELAY = 1 minute 73 DEFAULT_PAY_DEADLINE = 1 day 74 DEFAULT_MAX_DEPOSIT_FEE = TESTKUDOS:0.1 75 KEYFILE = ${TALER_DATA_HOME}/merchant/merchant.priv 76 DEFAULT_MAX_WIRE_FEE = TESTKUDOS:0.10 77 78 [libeufin-bank] 79 CURRENCY = TESTKUDOS 80 SERVE = tcp 81 PORT = 8082 82 BASE_URL = http://localhost:8082/ 83 DEFAULT_CUSTOMER_DEBT_LIMIT = TESTKUDOS:200 84 DEFAULT_ADMIN_DEBT_LIMIT = TESTKUDOS:2000 85 REGISTRATION_BONUS_ENABLED = yes 86 REGISTRATION_BONUS = TESTKUDOS:100 87 SUGGESTED_WITHDRAWAL_EXCHANGE = http://localhost:8081/ 88 WIRE_TYPE = x-taler-bank 89 X_TALER_BANK_PAYTO_HOSTNAME = localhost 90 ALLOW_REGISTRATION = YES 91 IBAN_PAYTO_BIC = SANDBOXX 92 # keep the tests fast 93 PWD_HASH_CONFIG = { "cost": 4 } 94 PWD_AUTH_COMPAT = yes 95 96 [libeufin-bankdb-postgres] 97 CONFIG = postgres:///talercheck 98 99 [exchangedb] 100 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks 101 LEGAL_RESERVE_EXPIRATION_TIME = 7 years 102 103 [exchange-account-1] 104 # 'exchange' is the account taler-unified-setup.sh registers at libeufin-bank 105 PAYTO_URI = payto://x-taler-bank/localhost/exchange?receiver-name=Exchange+Company 106 ENABLE_DEBIT = YES 107 ENABLE_CREDIT = YES 108 109 [exchange-accountcredentials-1] 110 WIRE_GATEWAY_URL = "http://localhost:8082/accounts/exchange/taler-wire-gateway/" 111 WIRE_GATEWAY_AUTH_METHOD = basic 112 USERNAME = exchange 113 PASSWORD = password 114 115 [merchant-exchange-default] 116 EXCHANGE_BASE_URL = http://localhost:8081/ 117 CURRENCY = TESTKUDOS 118 # placeholder; taler-unified-setup.sh -r patches this to the exchange's key, 119 # without which the merchant does not trust the exchange and refuses orders 120 MASTER_KEY = 98NJW3CQHZQGQXTY3K85K531XKPAPAVV4Q5V8PYYRR00NJGZWNVG 121 122 [coin_kudos_ct_1] 123 value = TESTKUDOS:0.01 124 duration_withdraw = 7 days 125 duration_spend = 2 years 126 duration_legal = 3 years 127 fee_withdraw = TESTKUDOS:0.01 128 fee_deposit = TESTKUDOS:0.01 129 fee_refresh = TESTKUDOS:0.01 130 fee_refund = TESTKUDOS:0.01 131 rsa_keysize = 1024 132 CIPHER = RSA 133 134 [coin_kudos_ct_10] 135 value = TESTKUDOS:0.10 136 duration_withdraw = 7 days 137 duration_spend = 2 years 138 duration_legal = 3 years 139 fee_withdraw = TESTKUDOS:0.01 140 fee_deposit = TESTKUDOS:0.01 141 fee_refresh = TESTKUDOS:0.03 142 fee_refund = TESTKUDOS:0.01 143 rsa_keysize = 1024 144 CIPHER = RSA 145 146 [coin_kudos_1] 147 value = TESTKUDOS:1 148 duration_withdraw = 7 days 149 duration_spend = 2 years 150 duration_legal = 3 years 151 fee_withdraw = TESTKUDOS:0.02 152 fee_deposit = TESTKUDOS:0.02 153 fee_refresh = TESTKUDOS:0.03 154 fee_refund = TESTKUDOS:0.01 155 rsa_keysize = 1024 156 CIPHER = RSA 157 158 [coin_kudos_2] 159 value = TESTKUDOS:2 160 duration_withdraw = 7 days 161 duration_spend = 2 years 162 duration_legal = 3 years 163 fee_withdraw = TESTKUDOS:0.03 164 fee_deposit = TESTKUDOS:0.03 165 fee_refresh = TESTKUDOS:0.04 166 fee_refund = TESTKUDOS:0.02 167 rsa_keysize = 1024 168 CIPHER = RSA 169 170 [coin_kudos_4] 171 value = TESTKUDOS:4 172 duration_withdraw = 7 days 173 duration_spend = 2 years 174 duration_legal = 3 years 175 fee_withdraw = TESTKUDOS:0.03 176 fee_deposit = TESTKUDOS:0.03 177 fee_refresh = TESTKUDOS:0.04 178 fee_refund = TESTKUDOS:0.02 179 rsa_keysize = 1024 180 CIPHER = RSA 181 182 [coin_kudos_5] 183 value = TESTKUDOS:5 184 duration_withdraw = 7 days 185 duration_spend = 2 years 186 duration_legal = 3 years 187 fee_withdraw = TESTKUDOS:0.01 188 fee_deposit = TESTKUDOS:0.01 189 fee_refresh = TESTKUDOS:0.03 190 fee_refund = TESTKUDOS:0.01 191 rsa_keysize = 1024 192 CIPHER = RSA 193 194 [coin_kudos_8] 195 value = TESTKUDOS:8 196 duration_withdraw = 7 days 197 duration_spend = 2 years 198 duration_legal = 3 years 199 fee_withdraw = TESTKUDOS:0.05 200 fee_deposit = TESTKUDOS:0.02 201 fee_refresh = TESTKUDOS:0.03 202 fee_refund = TESTKUDOS:0.04 203 rsa_keysize = 1024 204 CIPHER = RSA 205 206 [coin_kudos_10] 207 value = TESTKUDOS:10 208 duration_withdraw = 7 days 209 duration_spend = 2 years 210 duration_legal = 3 years 211 fee_withdraw = TESTKUDOS:0.01 212 fee_deposit = TESTKUDOS:0.01 213 fee_refresh = TESTKUDOS:0.03 214 fee_refund = TESTKUDOS:0.01 215 rsa_keysize = 1024 216 CIPHER = RSA