exchange

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

test-exchange-db-postgres.conf (1008B)


      1 [exchange]
      2 #The DB plugin to use
      3 DB = postgres
      4 
      5 BASE_URL = http://localhost/
      6 
      7 [exchangedb-postgres]
      8 
      9 #The connection string the plugin has to use for connecting to the database
     10 CONFIG = postgres:///talercheck
     11 
     12 # Where are the SQL files to setup our tables?
     13 SQL_DIR = ${DATADIR}sql/
     14 
     15 [exchange]
     16 CURRENCY = EUR
     17 
     18 [exchangedb]
     19 
     20 MAX_AML_PROGRAM_RUNTIME = 1 minute
     21 
     22 # After how long do we close idle reserves?  The exchange
     23 # and the auditor must agree on this value.  We currently
     24 # expect it to be globally defined for the whole system,
     25 # as there is no way for wallets to query this value.  Thus,
     26 # it is only configurable for testing, and should be treated
     27 # as constant in production.
     28 IDLE_RESERVE_EXPIRATION_TIME = 4 weeks
     29 
     30 # After how long do we forget about reserves?  Should be above
     31 # the legal expiration timeframe of withdrawn coins.
     32 LEGAL_RESERVE_EXPIRATION_TIME = 7 years
     33 
     34 # Shift to apply before aggregating.
     35 AGGREGATOR_SHIFT = 1s
     36 
     37 # Number of purses per account by default.
     38 DEFAULT_PURSE_LIMIT = 1