better config: parse file + crunch
This commit is contained in:
parent
6a2871492f
commit
467900a01c
9 changed files with 244 additions and 280 deletions
|
|
@ -1,52 +0,0 @@
|
|||
# comment 1
|
||||
# foo
|
||||
# barr
|
||||
[currency-EUR]
|
||||
enabled = NO
|
||||
# comment 2
|
||||
code= "EUR"
|
||||
name =euro
|
||||
fractional_input_digits = 2
|
||||
fractional_normal_digits =2
|
||||
fractional_trailing_zero_digits= 2
|
||||
% comment 3
|
||||
alt_unit_names = "{"0":"€","3":"k€"}"
|
||||
% comment 4
|
||||
|
||||
[dummy-section]
|
||||
dummy = "blah"
|
||||
|
||||
[currency-EUR]
|
||||
enabled= NO
|
||||
code= EUR
|
||||
name= euro
|
||||
fractional_input_digits= 2
|
||||
fractional_normal_digits= 2
|
||||
fractional_trailing_zero_digits= 2
|
||||
alt_unit_names= "{"0":"€","3":"k€"}"
|
||||
|
||||
[exchange]
|
||||
currency = EUR
|
||||
currency_round_unit = EUR:0.01
|
||||
db = postgres
|
||||
attribute_encryption_key = "deadbeef"
|
||||
port = 3434
|
||||
bind_to = localhost
|
||||
master_public_key = "8MQF2XPWCKCW4199JFPE08X7Y9XAX21SF2HD8NZKXM3PY3CMCJ90===="
|
||||
stefan_abs = EUR:0.00
|
||||
stefan_log = EUR:0.00
|
||||
stefan_lin = 0.00
|
||||
aggregator_idle_sleep_interval = "1 hour"
|
||||
closer_idle_sleep_interval = "1 hour"
|
||||
transfer_idle_sleep_interval = "1 hour"
|
||||
wirewatch_idle_sleep_interval = "1 hour"
|
||||
signkey_legal_duration = "1 year"
|
||||
max_keys_caching = "4 weeks"
|
||||
enable_kyc = NO
|
||||
|
||||
[exchangedb]
|
||||
idle_reserve_expiration_time = "1 year 2 weeks 3 hours 4 minutes 5 seconds"
|
||||
legal_reserve_expiration_time = "1 year"
|
||||
aggregator_shift = "1 year"
|
||||
max_aml_program_runtime = "1 year"
|
||||
default_purse_limit = 9999
|
||||
Loading…
Add table
Add a link
Reference in a new issue