test_donau_httpd.conf (2850B)
1 [PATHS] 2 # Persistent data storage for the testcase 3 DONAU_TEST_HOME = test_donau_httpd_home/ 4 DONAU_RUNTIME_DIR = ${TMPDIR:-${TMP:-/tmp}}/${USER:-}/donau-system-runtime/ 5 6 [exchange] 7 BASE_URL = http://localhost:8888/ 8 CURRENCY = EUR 9 10 [donau] 11 # Currency supported by the Donau (can only be one) 12 CURRENCY = EUR 13 CURRENCY_ROUND_UNIT = EUR:0.01 14 SERVE = tcp 15 16 # Base url of the Donau 17 LEGAL_DOMAIN = "Bern" 18 BASE_URL = "http://localhost:8080/" 19 20 # Directory with our terms of service. 21 TERMS_DIR = ../../contrib/tos 22 23 # Etag / filename for the terms of service. 24 TERMS_ETAG = 0 25 26 SIGNKEY_LEGAL_DURATION = 4 years 27 28 # Directory with our privacy policy. 29 PRIVACY_DIR = ../../contrib/pp 30 31 # Etag / filename for the privacy policy. 32 PRIVACY_ETAG = 0 33 34 # how long is one signkey valid? 35 SIGNKEY_DURATION = 2 years 36 37 # how long do we generate denomination and signing keys 38 # ahead of time? 39 LOOKAHEAD_SIGN = 2 years 40 41 # HTTP port the donau listens to 42 PORT = 8089 43 44 # How to access our database 45 DB = postgres 46 47 # Legal expiry for signing keys in years 48 EXPIRE_LEGAL_YEARS = 5 49 50 51 [donaudb] 52 # After how long do we close idle reserves? The donau 53 # and the auditor must agree on this value. We currently 54 # expect it to be globally defined for the whole system, 55 # as there is no way for wallets to query this value. Thus, 56 # it is only configurable for testing, and should be treated 57 # as constant in production. 58 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks 59 60 61 [donaudb-postgres] 62 CONFIG = "postgres:///donaucheck" 63 64 # Docos for the tests. 65 [doco_eur_ct_1_rsa] 66 value = EUR:0.01 67 duration_withdraw = 1 year 68 duration_spend = 2 years 69 duration_legal = 3 years 70 fee_withdraw = EUR:0.00 71 fee_deposit = EUR:0.00 72 fee_refresh = EUR:0.01 73 fee_refund = EUR:0.01 74 CIPHER = RSA 75 rsa_keysize = 1024 76 77 [doco_eur_ct_1_cs] 78 value = EUR:0.01 79 duration_withdraw = 1 year 80 duration_spend = 2 years 81 duration_legal = 3 years 82 fee_withdraw = EUR:0.00 83 fee_deposit = EUR:0.00 84 fee_refresh = EUR:0.01 85 fee_refund = EUR:0.01 86 CIPHER = CS 87 88 [doco_eur_ct_10_rsa] 89 value = EUR:0.10 90 duration_withdraw = 1 year 91 duration_spend = 2 years 92 duration_legal = 3 years 93 fee_withdraw = EUR:0.01 94 fee_deposit = EUR:0.01 95 fee_refresh = EUR:0.03 96 fee_refund = EUR:0.01 97 CIPHER = RSA 98 rsa_keysize = 1024 99 100 [doco_eur_ct_10_cs] 101 value = EUR:0.10 102 duration_withdraw = 1 year 103 duration_spend = 2 years 104 duration_legal = 3 years 105 fee_withdraw = EUR:0.01 106 fee_deposit = EUR:0.01 107 fee_refresh = EUR:0.03 108 fee_refund = EUR:0.01 109 CIPHER = CS 110 111 [doco_eur_1_rsa] 112 value = EUR:1 113 duration_withdraw = 1 year 114 duration_spend = 2 years 115 duration_legal = 3 years 116 fee_withdraw = EUR:0.01 117 fee_deposit = EUR:0.01 118 fee_refresh = EUR:0.03 119 fee_refund = EUR:0.01 120 CIPHER = RSA 121 rsa_keysize = 1024 122 123 [doco_eur_1_cs] 124 value = EUR:1 125 duration_withdraw = 1 year 126 duration_spend = 2 years 127 duration_legal = 3 years 128 fee_withdraw = EUR:0.01 129 fee_deposit = EUR:0.01 130 fee_refresh = EUR:0.03 131 fee_refund = EUR:0.01 132 CIPHER = CS