summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-08-23 10:46:37 +0200
committerChristian Grothoff <christian@grothoff.org>2023-08-23 10:46:37 +0200
commit32659fe78b382982bf972ded25881d3ca0c44e81 (patch)
tree52a59afa4795b5677db76d2c0683bbd8076e4246
parent4a64d7210a20f3b45ec62b604bd0d27c6fcc350a (diff)
downloadexchange-32659fe78b382982bf972ded25881d3ca0c44e81.tar.gz
exchange-32659fe78b382982bf972ded25881d3ca0c44e81.tar.bz2
exchange-32659fe78b382982bf972ded25881d3ca0c44e81.zip
set default fraction digits to 2
-rw-r--r--src/exchange/exchange.conf14
1 files changed, 10 insertions, 4 deletions
diff --git a/src/exchange/exchange.conf b/src/exchange/exchange.conf
index da357f642..f7387ced3 100644
--- a/src/exchange/exchange.conf
+++ b/src/exchange/exchange.conf
@@ -10,6 +10,16 @@
# are flagged for AML review.
# AML_THRESHOLD =
+# How many digits does the currency use by default on displays.
+# Hint provided to wallets. Should be 2 for EUR/USD/CHF,
+# and 0 for JPY. Default is 2 as that is most common.
+# Maximum value is 8. Note that this is the number of
+# fractions shown in the wallet by default, it is still
+# possible to configure denominations with more digits
+# and those will then be rendered using 'tiny' fraction
+# capitals (like at gas stations) when present.
+CURRENCY_FRACTION_DIGITS = 2
+
# Specifies a program (binary) to run on KYC attribute data to decide
# whether we should immediately flag an account for AML review.
# The KYC attribute data will be passed on standard-input.
@@ -57,10 +67,6 @@ PORT = 8081
# transfers to enable tracking.
BASE_URL = http://localhost:8081/
-# Maximum number of requests this process should handle before
-# committing suicide.
-# MAX_REQUESTS =
-
# How long should the aggregator sleep if it has nothing to do?
AGGREGATOR_IDLE_SLEEP_INTERVAL = 60 s