[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-docs] branch master updated: -spec name
From: |
gnunet |
Subject: |
[taler-docs] branch master updated: -spec name |
Date: |
Sun, 08 Oct 2023 10:51:15 +0200 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository docs.
The following commit(s) were added to refs/heads/master by this push:
new d2752981 -spec name
d2752981 is described below
commit d2752981469f9cfbd874c8df8ee5ad288e5b6130
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Sun Oct 8 10:51:12 2023 +0200
-spec name
---
design-documents/051-fractional-digits.rst | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/design-documents/051-fractional-digits.rst
b/design-documents/051-fractional-digits.rst
index 7dbbb90a..7126c6c2 100644
--- a/design-documents/051-fractional-digits.rst
+++ b/design-documents/051-fractional-digits.rst
@@ -78,6 +78,8 @@ provisioned by all three services.
.. code-block:: swift
public struct ScopedCurrencyInfo: Codable, Sendable {
+ // e.g. “Japanese Yen” or "Bitcoin (Mainnet)"
+ let name: String
// e.g. “.” for $ and ¥; “,” for €
let decimal_separator: String
// how many digits the user may enter after the decimalSeparator
@@ -116,6 +118,7 @@ section. The map could be given directly in JSON. For
example:
.. code-block:: ini
[currency-euro]
+ ENABLED = TRUE
name = "Euro"
code = "EUR"
decimal_separator = ","
@@ -126,6 +129,7 @@ section. The map could be given directly in JSON. For
example:
alt_unit_names = {0:"€"}
[currency-japanese-yen]
+ ENABLED = TRUE
name = "Japanese Yen"
code = "JPY"
decimal_separator = "."
@@ -136,7 +140,8 @@ section. The map could be given directly in JSON. For
example:
alt_unit_names = {0:"¥"}
[currency-bitcoin-mainnet]
- name = "Bitcoin-Mainnet"
+ ENABLED = TRUE
+ name = "Bitcoin (Mainnet)"
code = "BITCOINBTC"
decimal_separator = "."
num_fractional_input_digits = 8
@@ -146,7 +151,8 @@ section. The map could be given directly in JSON. For
example:
alt_unit_names = {0:"BTC",-3:"mBTC"}
[currency-ethereum]
- name = "WAI-ETHER"
+ ENABLED = TRUE
+ name = "WAI-ETHER (Ethereum)"
code = "EthereumWAI"
decimal_separator = "."
num_fractional_input_digits = 0
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-docs] branch master updated: -spec name,
gnunet <=