diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-01-13 19:47:45 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-01-13 19:47:45 +0100 |
commit | e3a0bc0d1f1d14123b56b041b475c8090d20ec1c (patch) | |
tree | b765a4c2d22baa25c4dd458bd703a3f95b71bbb0 /src/auditor/test-sync-in.conf | |
parent | 52513dcc2690716bb88cba506088b0422a53eb4a (diff) | |
download | exchange-e3a0bc0d1f1d14123b56b041b475c8090d20ec1c.tar.xz |
fix sync issues, add rudimentary test
Diffstat (limited to 'src/auditor/test-sync-in.conf')
-rw-r--r-- | src/auditor/test-sync-in.conf | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/auditor/test-sync-in.conf b/src/auditor/test-sync-in.conf new file mode 100644 index 000000000..ef79cf90d --- /dev/null +++ b/src/auditor/test-sync-in.conf @@ -0,0 +1,29 @@ +[exchange] +#The DB plugin to use +DB = postgres + +[exchangedb-postgres] + +#The connection string the plugin has to use for connecting to the database +CONFIG = postgres:///talercheck-in + +# Where are the SQL files to setup our tables? +SQL_DIR = $DATADIR/sql/exchange/ + + +[taler] +CURRENCY = EUR + +[exchangedb] + +# After how long do we close idle reserves? The exchange +# and the auditor must agree on this value. We currently +# expect it to be globally defined for the whole system, +# as there is no way for wallets to query this value. Thus, +# it is only configurable for testing, and should be treated +# as constant in production. +IDLE_RESERVE_EXPIRATION_TIME = 4 weeks + +# After how long do we forget about reserves? Should be above +# the legal expiration timeframe of withdrawn coins. +LEGAL_RESERVE_EXPIRATION_TIME = 7 years |