diff options
author | Florian Dold <florian@dold.me> | 2021-08-02 14:32:31 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2021-08-02 14:32:31 +0200 |
commit | 9bf2dfbce24a2afcc67e670a6a4fef16cfdb5f0d (patch) | |
tree | 8bc7d0683e84eadf22e925757c288a8c966fcf52 | |
parent | 2028805fc6ae6d2ad12ea63fcbf13836ae585c32 (diff) | |
download | exchange-9bf2dfbce24a2afcc67e670a6a4fef16cfdb5f0d.tar.gz exchange-9bf2dfbce24a2afcc67e670a6a4fef16cfdb5f0d.zip |
put coin configuration in separate config file
m--------- | contrib/gana | 0 | ||||
-rw-r--r-- | debian/etc-taler-exchange/taler/conf.d/exchange-business.conf | 29 | ||||
-rw-r--r-- | debian/etc-taler-exchange/taler/conf.d/exchange-coins.conf | 33 |
3 files changed, 33 insertions, 29 deletions
diff --git a/contrib/gana b/contrib/gana | |||
Subproject a92cff199209cbe850a2a0dc39f11a4a342c33b | Subproject 755e752e3a235df0be8d45374835b109f7843c1 | ||
diff --git a/debian/etc-taler-exchange/taler/conf.d/exchange-business.conf b/debian/etc-taler-exchange/taler/conf.d/exchange-business.conf index 92d968f4d..3fae902ea 100644 --- a/debian/etc-taler-exchange/taler/conf.d/exchange-business.conf +++ b/debian/etc-taler-exchange/taler/conf.d/exchange-business.conf | |||
@@ -19,32 +19,3 @@ BASE_URL = | |||
19 | # specification on Etags. | 19 | # specification on Etags. |
20 | # TERMS_ETAG = | 20 | # TERMS_ETAG = |
21 | # PRIVACY_ETAG = | 21 | # PRIVACY_ETAG = |
22 | |||
23 | |||
24 | # You must specify the various denominations to be offered by your exchange | ||
25 | # in sections called "coin_". | ||
26 | # What follows is an example. | ||
27 | |||
28 | # [coin_FOO] | ||
29 | ## Actual value of the coin | ||
30 | #VALUE = KUDOS:1 | ||
31 | |||
32 | ## How long will one key be used for withdrawals? | ||
33 | #DURATION_WITHDRAW = 7 days | ||
34 | |||
35 | ## How long do users have to spend their coins? | ||
36 | #DURATION_SPEND = 2 years | ||
37 | |||
38 | ## How long does the exchange keep the proofs around for legal disputes? | ||
39 | #DURATION_LEGAL = 6 years | ||
40 | |||
41 | ## Fees charged. Note that for the lowest denomination, the | ||
42 | ## fee must precisely be the lowest denomination, or zero. | ||
43 | #FEE_WITHDRAW = KUDOS:0 | ||
44 | #FEE_DEPOSIT = KUDOS:0 | ||
45 | #FEE_REFRESH = KUDOS:0 | ||
46 | #FEE_REFUND = KUDOS:0 | ||
47 | |||
48 | ## How long should the RSA keys be. Do not change unless you really know | ||
49 | ## what you are doing (consult your local cryptographer first!). | ||
50 | #RSA_KEYSIZE = 2048 | ||
diff --git a/debian/etc-taler-exchange/taler/conf.d/exchange-coins.conf b/debian/etc-taler-exchange/taler/conf.d/exchange-coins.conf new file mode 100644 index 000000000..8294525cb --- /dev/null +++ b/debian/etc-taler-exchange/taler/conf.d/exchange-coins.conf | |||
@@ -0,0 +1,33 @@ | |||
1 | # | ||
2 | # This configuration file specifies the various denominations offered by your | ||
3 | # exchange. | ||
4 | # | ||
5 | # Each denomination must be specified in a sections starting with | ||
6 | # "coin_". | ||
7 | # | ||
8 | # What follows is an example. | ||
9 | # | ||
10 | |||
11 | # [coin_FOO] | ||
12 | ## Actual value of the coin | ||
13 | #VALUE = KUDOS:1 | ||
14 | |||
15 | ## How long will one key be used for withdrawals? | ||
16 | #DURATION_WITHDRAW = 7 days | ||
17 | |||
18 | ## How long do users have to spend their coins? | ||
19 | #DURATION_SPEND = 2 years | ||
20 | |||
21 | ## How long does the exchange keep the proofs around for legal disputes? | ||
22 | #DURATION_LEGAL = 6 years | ||
23 | |||
24 | ## Fees charged. Note that for the lowest denomination, the | ||
25 | ## fee must precisely be the lowest denomination, or zero. | ||
26 | #FEE_WITHDRAW = KUDOS:0 | ||
27 | #FEE_DEPOSIT = KUDOS:0 | ||
28 | #FEE_REFRESH = KUDOS:0 | ||
29 | #FEE_REFUND = KUDOS:0 | ||
30 | |||
31 | ## How long should the RSA keys be. Do not change unless you really know | ||
32 | ## what you are doing (consult your local cryptographer first!). | ||
33 | #RSA_KEYSIZE = 2048 | ||