[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: default currency specification
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: default currency specification |
Date: |
Sun, 08 Oct 2023 11:22:41 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new da30a706 default currency specification
da30a706 is described below
commit da30a706a864661d85f40d4a5b03f6a9e9e0aa7b
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sun Oct 8 11:22:37 2023 +0200
default currency specification
---
src/util/Makefile.am | 1 +
src/util/currencies.conf | 99 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 100 insertions(+)
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index 9d1ec9d4..4ebd6397 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -10,6 +10,7 @@ endif
pkgcfgdir = $(prefix)/share/taler/config.d/
pkgcfg_DATA = \
+ currencies.conf \
paths.conf \
taler-exchange-secmod-eddsa.conf \
taler-exchange-secmod-rsa.conf \
diff --git a/src/util/currencies.conf b/src/util/currencies.conf
new file mode 100644
index 00000000..4e923943
--- /dev/null
+++ b/src/util/currencies.conf
@@ -0,0 +1,99 @@
+[currency-euro]
+ENABLED = YES
+name = "Euro"
+code = "EUR"
+decimal_separator = ","
+num_fractional_input_digits = 2
+num_fractional_normal_digits = 2
+num_fractional_trailing_zero_digits = 2
+is_currency_name_leading = NO
+alt_unit_names = {"0":"€"}
+
+[currency-swiss-francs]
+ENABLED = YES
+name = "Swiss Francs"
+code = "CHF"
+decimal_separator = "."
+num_fractional_input_digits = 2
+num_fractional_normal_digits = 2
+num_fractional_trailing_zero_digits = 2
+is_currency_name_leading = YES
+alt_unit_names = {"0":"Fr.","-2":"Rp."}
+
+[currency-forint]
+ENABLED = NO
+name = "Hungarian Forint"
+code = "HUF"
+decimal_separator = ","
+num_fractional_input_digits = 0
+num_fractional_normal_digits = 0
+num_fractional_trailing_zero_digits = 0
+is_currency_name_leading = NO
+alt_unit_names = {"0":"Ft"}
+
+[currency-us-dollar]
+ENABLED = NO
+name = "US Dollar"
+code = "USD"
+decimal_separator = "."
+num_fractional_input_digits = 2
+num_fractional_normal_digits = 2
+num_fractional_trailing_zero_digits = 2
+is_currency_name_leading = YES
+alt_unit_names = {"0":"$"}
+
+[currency-kudos]
+ENABLED = YES
+name = "Kudos (Taler Demonstrator)"
+code = "KUDOS"
+decimal_separator = ","
+num_fractional_input_digits = 2
+num_fractional_normal_digits = 2
+num_fractional_trailing_zero_digits = 2
+is_currency_name_leading = NO
+alt_unit_names = {"0":"ク"}
+
+[currency-testkudos]
+ENABLED = YES
+name = "Test-kudos (Taler Demonstrator)"
+code = "TESTKUDOS"
+decimal_separator = "."
+num_fractional_input_digits = 2
+num_fractional_normal_digits = 2
+num_fractional_trailing_zero_digits = 2
+is_currency_name_leading = NO
+alt_unit_names = {"0":"テ","3":"kテ","-3":"mテ"}
+
+[currency-japanese-yen]
+ENABLED = NO
+name = "Japanese Yen"
+code = "JPY"
+decimal_separator = "."
+num_fractional_input_digits = 2
+num_fractional_normal_digits = 0
+num_fractional_trailing_zero_digits = 2
+is_currency_name_leading = YES
+alt_unit_names = {"0":"¥"}
+
+[currency-bitcoin-mainnet]
+ENABLED = NO
+name = "Bitcoin (Mainnet)"
+code = "BITCOINBTC"
+decimal_separator = "."
+num_fractional_input_digits = 8
+num_fractional_normal_digits = 3
+num_fractional_trailing_zero_digits = 0
+is_currency_name_leading = NO
+alt_unit_names = {"0":"BTC","-3":"mBTC"}
+
+[currency-ethereum]
+ENABLED = NO
+name = "WAI-ETHER (Ethereum)"
+code = "EthereumWAI"
+decimal_separator = "."
+num_fractional_input_digits = 0
+num_fractional_normal_digits = 0
+num_fractional_trailing_zero_digits = 0
+is_currency_name_leading = NO
+alt_unit_names =
{"0":"WAI","3":"KWAI","6":"MWAI","9":"GWAI","12":"Szabo","15":"Finney","18":"Ether","21":"KEther","24":"MEther"}
+
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: default currency specification,
gnunet <=