exchangedb.conf (1243B)
1 # This file is in the public domain. 2 # 3 # Database-backend independent specification for the exchangedb module. 4 # 5 [exchangedb] 6 7 # After how long do we close idle reserves? The exchange 8 # and the auditor must agree on this value. We currently 9 # expect it to be globally defined for the whole system, 10 # as there is no way for wallets to query this value. Thus, 11 # it is only configurable for testing, and should be treated 12 # as constant in production. 13 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks 14 15 16 # After how long do we forget about reserves? Must be above the legal 17 # expiration timeframe of withdrawn coins: a withdrawal has to stay in the 18 # database until the auditor is done accounting for the denomination it 19 # was made with, so this has to be at least DURATION_WITHDRAW plus 20 # DURATION_SPEND plus DURATION_LEGAL of every denomination. The exchange 21 # refuses to start if it is not. 22 LEGAL_RESERVE_EXPIRATION_TIME = 10 years 23 24 # What is the desired delay between a transaction being ready and the 25 # aggregator triggering on it? 26 AGGREGATOR_SHIFT = 1 s 27 28 # How many concurrent purses may be opened by a reserve 29 # if the reserve is paid for a year? 30 DEFAULT_PURSE_LIMIT = 1 31 32 # How long are AML programs allowed to run? 33 MAX_AML_PROGRAM_RUNTIME = 60 s