From 32659fe78b382982bf972ded25881d3ca0c44e81 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 23 Aug 2023 10:46:37 +0200 Subject: set default fraction digits to 2 --- src/exchange/exchange.conf | 14 ++++++++++---- 1 file 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 -- cgit v1.2.3