exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

exchangedb.conf (966B)


      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?  Should be above
     17 # the legal expiration timeframe of withdrawn coins.
     18 LEGAL_RESERVE_EXPIRATION_TIME = 7 years
     19 
     20 # What is the desired delay between a transaction being ready and the
     21 # aggregator triggering on it?
     22 AGGREGATOR_SHIFT = 1 s
     23 
     24 # How many concurrent purses may be opened by a reserve
     25 # if the reserve is paid for a year?
     26 DEFAULT_PURSE_LIMIT = 1
     27 
     28 # How long are AML programs allowed to run?
     29 MAX_AML_PROGRAM_RUNTIME = 60 s