diff options
Diffstat (limited to 'src/auditor/auditor-basedb.conf')
-rw-r--r-- | src/auditor/auditor-basedb.conf | 253 |
1 files changed, 128 insertions, 125 deletions
diff --git a/src/auditor/auditor-basedb.conf b/src/auditor/auditor-basedb.conf index d5f49a132..5688ae54c 100644 --- a/src/auditor/auditor-basedb.conf +++ b/src/auditor/auditor-basedb.conf @@ -1,136 +1,139 @@ -[benchmark] -MERCHANT_DETAILS = merchant_details.json -BANK_DETAILS = bank_details.json +[instance-default] +KEYFILE = ${TALER_DATA_HOME}/merchant/default.priv +NAME = Merchant Inc. -[coin_kudos_10] -rsa_keysize = 1024 -CIPHER = RSA -fee_refund = TESTKUDOS:0.01 -fee_refresh = TESTKUDOS:0.03 -fee_deposit = TESTKUDOS:0.01 -fee_withdraw = TESTKUDOS:0.01 -duration_legal = 3 years -duration_spend = 2 years -duration_withdraw = 7 days -value = TESTKUDOS:10 +[exchange-account-1] +PAYTO_URI = payto://iban/SANDBOXX/DE343625?receiver-name=Exchange+Company +enable_debit = yes +enable_credit = yes -[coin_kudos_8] -rsa_keysize = 1024 -CIPHER = RSA -fee_refund = TESTKUDOS:0.04 -fee_refresh = TESTKUDOS:0.03 -fee_deposit = TESTKUDOS:0.02 -fee_withdraw = TESTKUDOS:0.05 -duration_legal = 3 years -duration_spend = 2 years -duration_withdraw = 7 days -value = TESTKUDOS:8 +[exchange-accountcredentials-1] +WIRE_GATEWAY_URL = http://localhost:8082/facades/test-facade/taler-wire-gateway/ +WIRE_GATEWAY_AUTH_METHOD = basic +USERNAME = exchange +PASSWORD = x -[coin_kudos_5] -rsa_keysize = 1024 -CIPHER = RSA -fee_refund = TESTKUDOS:0.01 -fee_refresh = TESTKUDOS:0.03 -fee_deposit = TESTKUDOS:0.01 -fee_withdraw = TESTKUDOS:0.01 -duration_legal = 3 years -duration_spend = 2 years -duration_withdraw = 7 days -value = TESTKUDOS:5 +[merchant-account-merchant] +PAYTO_URI = payto://x-taler-bank/localhost/42 +HONOR_default = YES +ACTIVE_default = YES -[coin_kudos_4] -rsa_keysize = 1024 -CIPHER = RSA -fee_refund = TESTKUDOS:0.02 -fee_refresh = TESTKUDOS:0.04 -fee_deposit = TESTKUDOS:0.03 -fee_withdraw = TESTKUDOS:0.03 -duration_legal = 3 years -duration_spend = 2 years -duration_withdraw = 7 days -value = TESTKUDOS:4 +[merchant-exchange-default] +MASTER_KEY = Z4NJ4KFAB0Q4BNBQ0ST4MNKHD03YJRAS0X9MC6TAWWGFW0VEQX7G +EXCHANGE_BASE_URL = http://localhost:8081/ +CURRENCY = TESTKUDOS -[coin_kudos_2] -rsa_keysize = 1024 -CIPHER = RSA -fee_refund = TESTKUDOS:0.02 -fee_refresh = TESTKUDOS:0.04 -fee_deposit = TESTKUDOS:0.03 -fee_withdraw = TESTKUDOS:0.03 -duration_legal = 3 years -duration_spend = 2 years -duration_withdraw = 7 days -value = TESTKUDOS:2 +[payments-generator] +currency = TESTKUDOS +instance = default +bank = http://localhost:8082/ +merchant = http://localhost:9966/ +exchange_admin = http://localhost:18080/ +exchange-admin = http://localhost:18080/ +exchange = http://localhost:8081/ -[coin_kudos_1] -rsa_keysize = 1024 -CIPHER = RSA -fee_refund = TESTKUDOS:0.01 -fee_refresh = TESTKUDOS:0.03 -fee_deposit = TESTKUDOS:0.02 -fee_withdraw = TESTKUDOS:0.02 -duration_legal = 3 years -duration_spend = 2 years +[coin_kudos_ct_1] +value = TESTKUDOS:0.01 duration_withdraw = 7 days -value = TESTKUDOS:1 +duration_spend = 2 years +duration_legal = 3 years +fee_withdraw = TESTKUDOS:0.01 +fee_deposit = TESTKUDOS:0.01 +fee_refresh = TESTKUDOS:0.01 +fee_refund = TESTKUDOS:0.01 +CIPHER = RSA +rsa_keysize = 1024 [coin_kudos_ct_10] -rsa_keysize = 1024 -CIPHER = RSA -fee_refund = TESTKUDOS:0.01 -fee_refresh = TESTKUDOS:0.03 -fee_deposit = TESTKUDOS:0.01 -fee_withdraw = TESTKUDOS:0.01 -duration_legal = 3 years -duration_spend = 2 years -duration_withdraw = 7 days value = TESTKUDOS:0.10 - -[coin_kudos_ct_1] -rsa_keysize = 1024 -CIPHER = RSA -fee_refund = TESTKUDOS:0.01 -fee_refresh = TESTKUDOS:0.01 -fee_deposit = TESTKUDOS:0.01 -fee_withdraw = TESTKUDOS:0.01 +duration_withdraw = 7 days +duration_spend = 2 years duration_legal = 3 years +fee_withdraw = TESTKUDOS:0.01 +fee_deposit = TESTKUDOS:0.01 +fee_refresh = TESTKUDOS:0.03 +fee_refund = TESTKUDOS:0.01 +CIPHER = RSA +rsa_keysize = 1024 + +[coin_kudos_1] +value = TESTKUDOS:1 +duration_withdraw = 7 days duration_spend = 2 years +duration_legal = 3 years +fee_withdraw = TESTKUDOS:0.02 +fee_deposit = TESTKUDOS:0.02 +fee_refresh = TESTKUDOS:0.03 +fee_refund = TESTKUDOS:0.01 +CIPHER = RSA +rsa_keysize = 1024 + +[coin_kudos_2] +value = TESTKUDOS:2 duration_withdraw = 7 days -value = TESTKUDOS:0.01 +duration_spend = 2 years +duration_legal = 3 years +fee_withdraw = TESTKUDOS:0.03 +fee_deposit = TESTKUDOS:0.03 +fee_refresh = TESTKUDOS:0.04 +fee_refund = TESTKUDOS:0.02 +CIPHER = RSA +rsa_keysize = 1024 -[payments-generator] -exchange = http://localhost:8081/ -exchange-admin = http://localhost:18080/ -exchange_admin = http://localhost:18080/ -merchant = http://localhost:9966/ -bank = http://localhost:8082/ -instance = default -currency = TESTKUDOS +[coin_kudos_4] +value = TESTKUDOS:4 +duration_withdraw = 7 days +duration_spend = 2 years +duration_legal = 3 years +fee_withdraw = TESTKUDOS:0.03 +fee_deposit = TESTKUDOS:0.03 +fee_refresh = TESTKUDOS:0.04 +fee_refund = TESTKUDOS:0.02 +CIPHER = RSA +rsa_keysize = 1024 -[merchant-exchange-default] -CURRENCY = TESTKUDOS -EXCHANGE_BASE_URL = http://localhost:8081/ -MASTER_KEY = EBN9WPH07EP1SCEXWH9CGZ83S6ERGFXANDD78WF3SV4AKF8X4QH0 +[coin_kudos_5] +value = TESTKUDOS:5 +duration_withdraw = 7 days +duration_spend = 2 years +duration_legal = 3 years +fee_withdraw = TESTKUDOS:0.01 +fee_deposit = TESTKUDOS:0.01 +fee_refresh = TESTKUDOS:0.03 +fee_refund = TESTKUDOS:0.01 +CIPHER = RSA +rsa_keysize = 1024 -[merchant-account-merchant] -ACTIVE_default = YES -HONOR_default = YES -PAYTO_URI = payto://x-taler-bank/localhost/42 +[coin_kudos_8] +value = TESTKUDOS:8 +duration_withdraw = 7 days +duration_spend = 2 years +duration_legal = 3 years +fee_withdraw = TESTKUDOS:0.05 +fee_deposit = TESTKUDOS:0.02 +fee_refresh = TESTKUDOS:0.03 +fee_refund = TESTKUDOS:0.04 +CIPHER = RSA +rsa_keysize = 1024 -[exchange-accountcredentials-1] -PASSWORD = x -USERNAME = exchange -WIRE_GATEWAY_AUTH_METHOD = basic -WIRE_GATEWAY_URL = http://localhost:8082/facades/test-facade/taler-wire-gateway/ +[coin_kudos_10] +value = TESTKUDOS:10 +duration_withdraw = 7 days +duration_spend = 2 years +duration_legal = 3 years +fee_withdraw = TESTKUDOS:0.01 +fee_deposit = TESTKUDOS:0.01 +fee_refresh = TESTKUDOS:0.03 +fee_refund = TESTKUDOS:0.01 +CIPHER = RSA +rsa_keysize = 1024 -[exchange-account-1] -enable_credit = yes -enable_debit = yes -PAYTO_URI = payto://x-taler-bank/localhost/Exchange +[benchmark] +BANK_DETAILS = bank_details.json +MERCHANT_DETAILS = merchant_details.json -[instance-default] -NAME = Merchant Inc. -KEYFILE = ${TALER_DATA_HOME}/merchant/default.priv +[arm] +CONFIG = /research/taler/exchange/src/auditor/auditor-basedb.conf [taler] CURRENCY_ROUND_UNIT = TESTKUDOS:0.01 @@ -140,10 +143,10 @@ CURRENCY = TESTKUDOS CONFIG = postgres:///auditor-basedb [merchant] -DEFAULT_MAX_WIRE_FEE = TESTKUDOS:0.10 -KEYFILE = ${TALER_DATA_HOME}/merchant/merchant.priv -DEFAULT_MAX_DEPOSIT_FEE = TESTKUDOS:0.1 WIREFORMAT = default +DEFAULT_MAX_DEPOSIT_FEE = TESTKUDOS:0.1 +KEYFILE = ${TALER_DATA_HOME}/merchant/merchant.priv +DEFAULT_MAX_WIRE_FEE = TESTKUDOS:0.10 WIRE_TRANSFER_DELAY = 1 minute FORCE_AUDIT = YES UNIXPATH = ${TALER_RUNTIME_DIR}/merchant.http @@ -152,18 +155,18 @@ UNIXPATH = ${TALER_RUNTIME_DIR}/merchant.http CONFIG = postgres:///auditor-basedb [exchange] -LOOKAHEAD_SIGN = 32 weeks 1 day +MASTER_PUBLIC_KEY = Z4NJ4KFAB0Q4BNBQ0ST4MNKHD03YJRAS0X9MC6TAWWGFW0VEQX7G SIGNKEY_DURATION = 4 weeks -MASTER_PUBLIC_KEY = EBN9WPH07EP1SCEXWH9CGZ83S6ERGFXANDD78WF3SV4AKF8X4QH0 +LOOKAHEAD_SIGN = 32 weeks 1 day SIGNKEY_LEGAL_DURATION = 4 weeks UNIXPATH = ${TALER_RUNTIME_DIR}/exchange.http [bank] -SERVE = http -ALLOW_REGISTRATIONS = YES -SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2 -SUGGESTED_EXCHANGE = http://localhost:8081/ HTTP_PORT = 8082 +SUGGESTED_EXCHANGE = http://localhost:8081/ +SUGGESTED_EXCHANGE_PAYTO = payto://x-taler-bank/localhost/2 +ALLOW_REGISTRATIONS = YES +SERVE = http MAX_DEBT_BANK = TESTKUDOS:100000.0 MAX_DEBT = TESTKUDOS:50.0 DATABASE = postgres:///auditor-basedb @@ -172,9 +175,9 @@ DATABASE = postgres:///auditor-basedb CONFIG = postgres:///auditor-basedb [auditor] -PUBLIC_KEY = VZ14T1ZX99S51PCHBKFTGGNJ89ZF9FRY1BSDQXBYZ9H5W2PWETX0 -TINY_AMOUNT = TESTKUDOS:0.01 BASE_URL = http://localhost:8083/ +TINY_AMOUNT = TESTKUDOS:0.01 +PUBLIC_KEY = CSAW3FERD7GE9NHEP49C9GT20TBKGVMVWFFKNZJW85Q7N2S64Y2G [PATHS] TALER_CACHE_HOME = $TALER_HOME/.cache/taler/ |