gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-docs] branch master updated (211e9311 -> fdd6bb20)


From: gnunet
Subject: [taler-docs] branch master updated (211e9311 -> fdd6bb20)
Date: Sun, 01 Sep 2024 11:08:18 +0200

This is an automated email from the git hooks/post-receive script.

grothoff pushed a change to branch master
in repository docs.

    from 211e9311 libeufin/bank-manual: fix passwd command
     new 6889d9d7 -whitespace
     new fdd6bb20 expose more generic hard limits information in /keys

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 core/api-exchange.rst              | 34 ++++++++++++++++++----------------
 design-documents/023-taler-kyc.rst |  6 ++++--
 manpages/taler.conf.5.rst          | 14 ++------------
 taler-auditor-manual.rst           |  1 -
 4 files changed, 24 insertions(+), 31 deletions(-)

diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index 5dcdce04..22395c4b 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -211,19 +211,12 @@ possibly by using HTTPS.
       // Currency must match ``currency``.
       wallet_balance_limit_without_kyc?: Amount[];
 
-      // Maximum amount for individual transactions.
-      // Optional, unlimited if not given.
-      // Must be enforced by both compliant wallets and merchants.
-      // Currency must match ``currency``.
-      // Since protocol **v20**.
-      transaction_amount_limit?: Amount;
-
-      // Maximum amount for individual refunds.
-      // Optional, unlimited if not given.
-      // Must be enforced by both compliant wallets and merchants.
-      // Currency must match ``currency``.
-      // Since protocol **v20**.
-      refund_amount_limit?: Amount;
+      // Array of limits that apply to all accounts.
+      // All of the given limits will be hard limits.
+      // Wallets and merchants are expected to obey them
+      // and not even allow the user to cross them.
+      // Since protocol **v21**.
+      hard_limits: AccountLimit[];
 
       // Denominations offered by this exchange
       denominations: DenomGroup[];
@@ -4820,11 +4813,15 @@ regulatory compliance.
     interface AccountLimit {
 
       // Operation that is limited.
-      // Must be one of "WITHDRAW", "DEPOSIT", "P2P-RECEIVE"
-      // or "WALLET-BALANCE".
+      // Must be one of "WITHDRAW", "DEPOSIT",
+      // (p2p) "MERGE", (wallet) "BALANCE",
+      // (reserve) "CLOSE", "AGGREGATE",
+      // "TRANSACTION" or "REFUND".
       operation_type: string;
 
       // Timeframe during which the limit applies.
+      // Not applicable for all operation_types
+      // (but always present in this object anyway).
       timeframe: RelativeTime;
 
       // Maximum amount allowed during the given timeframe.
@@ -4838,7 +4835,8 @@ regulatory compliance.
       // Clients that are aware of hard limits *should*
       // inform users about the hard limit and prevent flows
       // in the UI that would cause violations of hard limits.
-      soft_limit: boolean;
+      // Made optional in **v21** with a default of 'false' if missing.
+      soft_limit?: boolean;
     }
 
 .. http:get:: /kyc-spa/$ACCESS_TOKEN
@@ -5433,6 +5431,10 @@ and freeze or unfreeze accounts suspected of money 
laundering.
     interface KycRule {
 
       // Type of operation to which the rule applies.
+      // Must be one of "WITHDRAW", "DEPOSIT",
+      // (p2p) "MERGE", (wallet) "BALANCE",
+      // (reserve) "CLOSE", "AGGREGATE",
+      // "TRANSACTION" or "REFUND".
       operation_type: string;
 
       // The measures will be taken if the given
diff --git a/design-documents/023-taler-kyc.rst 
b/design-documents/023-taler-kyc.rst
index 4a48df7a..3c25a608 100644
--- a/design-documents/023-taler-kyc.rst
+++ b/design-documents/023-taler-kyc.rst
@@ -1056,8 +1056,10 @@ configuration section:
   [kyc-rule-$RULE_NAME]
 
   # Operation that triggers this rule.
-  # Must be one of WITHDRAW, DEPOSIT, MERGE,
-  # AGGREGATE or BALANCE.
+  # Must be one of "WITHDRAW", "DEPOSIT",
+  # (p2p) "MERGE", (wallet) "BALANCE",
+  # (reserve) "CLOSE", "AGGREGATE",
+  # "TRANSACTION" or "REFUND".
   OPERATION_TYPE = WITHDRAW
 
   # Space-separated list of next measures to be performed.
diff --git a/manpages/taler.conf.5.rst b/manpages/taler.conf.5.rst
index 2f3129c2..128e19dd 100644
--- a/manpages/taler.conf.5.rst
+++ b/manpages/taler.conf.5.rst
@@ -165,16 +165,6 @@ STEFAN_LOG
   in the STEFAN fee approximation curve (see DD47).
   Defaults to CURRENCY:0 if not specified.
 
-TRANSACTION_LIMIT
-  Maximum amount allowed per transaction.
-  Must be respected by both merchants and wallets.
-  Defaults to unlimited if not specified.
-
-REFUND_LIMIT
-  Maximum refund allowed per transaction.
-  Must be respected by both merchants and wallets.
-  Defaults to unlimited if not specified.
-
 STEFAN_LIN
   Linear floating point factor to be multiplied by the total amount
   to use in the STEFAN fee approximation curve (see DD47).
@@ -451,8 +441,8 @@ The following options must be in "[kyc-rule-$RULE_NAME]" 
sections.
 
 OPERATION_TYPE = WITHDRAW
   Operation that triggers this rule.
-  Must be one of WITHDRAW, DEPOSIT, MERGE
-  or BALANCE.
+  Must be one of WITHDRAW, DEPOSIT, MERGE, BALANCE,
+  CLOSE, AGGREGATE, TRANSACTION or REFUND.
 
 NEXT_MEASURES
   Space-separated list of next measures to be performed.
diff --git a/taler-auditor-manual.rst b/taler-auditor-manual.rst
index 0e8eb985..70ed572e 100644
--- a/taler-auditor-manual.rst
+++ b/taler-auditor-manual.rst
@@ -487,7 +487,6 @@ Web page offering the respective pairing.
 FIXME-DOLD: explain how that Web page works, once it works...
 
 
-
 .. _AuditorExchange:
 
 Exchange

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]