gnunet-svn
[Top][All Lists]
Advanced

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

[taler-deployment] branch master updated: add settings for age-restricti


From: gnunet
Subject: [taler-deployment] branch master updated: add settings for age-restrictions to demo
Date: Mon, 05 Sep 2022 20:39:16 +0200

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

grothoff pushed a commit to branch master
in repository deployment.

The following commit(s) were added to refs/heads/master by this push:
     new ab41384  add settings for age-restrictions to demo
ab41384 is described below

commit ab413849da994d99490033db6a85f67c692f69f4
Author: Christian Grothoff <grothoff@gnunet.org>
AuthorDate: Mon Sep 5 20:39:09 2022 +0200

    add settings for age-restrictions to demo
---
 bin/taler-gv | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/bin/taler-gv b/bin/taler-gv
index 9e6693c..2cb0a73 100755
--- a/bin/taler-gv
+++ b/bin/taler-gv
@@ -936,7 +936,7 @@ def prepare(postgres_db_name):
             f_refund="0.01",
             rsa_keysize="2048",
         ):
-            sec = "coin_" + currency + "_" + name
+            sec = "coin_" + currency + "_" + name + "_age_restricted"
             obj.cfg_put(sec, "cipher", "RSA")
             obj.cfg_put(sec, "value", currency + ":" + value)
             obj.cfg_put(sec, "duration_withdraw", d_withdraw)
@@ -947,6 +947,19 @@ def prepare(postgres_db_name):
             obj.cfg_put(sec, "fee_refund", currency + ":" + f_refund)
             obj.cfg_put(sec, "fee_deposit", currency + ":" + f_deposit)
             obj.cfg_put(sec, "rsa_keysize", rsa_keysize)
+            obj.cfg_put(sec, "age_restricted", "YES")
+            sec2 = "coin_" + currency + "_" + name
+            obj.cfg_put(sec, "cipher", "RSA")
+            obj.cfg_put(sec, "value", currency + ":" + value)
+            obj.cfg_put(sec, "duration_withdraw", d_withdraw)
+            obj.cfg_put(sec, "duration_spend", d_spend)
+            obj.cfg_put(sec, "duration_legal", d_legal)
+            obj.cfg_put(sec, "fee_withdraw", currency + ":" + f_withdraw)
+            obj.cfg_put(sec, "fee_refresh", currency + ":" + f_refresh)
+            obj.cfg_put(sec, "fee_refund", currency + ":" + f_refund)
+            obj.cfg_put(sec, "fee_deposit", currency + ":" + f_deposit)
+            obj.cfg_put(sec, "rsa_keysize", rsa_keysize)
+            obj.cfg_put(sec, "age_restricted", "NO")
 
         obj = ConfigFile("taler.conf")
         obj.cfg_put("paths", "TALER_DATA_HOME", str(TALER_DATA_DIR))
@@ -981,7 +994,10 @@ def prepare(postgres_db_name):
         obj.cfg_put("kyc-legitimization-merge", "REQUIRED_CHECKS", "DUMMY");
         obj.cfg_put("kyc-legitimization-merge", "THRESHOLD", f"{currency}:15");
         obj.cfg_put("kyc-legitimization-merge", "TIMEFRAME", "1d");
-
+        obj.cfg_put("exchange-extension-age_restriction", "ENABLED", "YES");
+        obj.cfg_put("exchange-extension-age_restriction", "AGE_GROUPS", 
"8:10:12:14:16:18");
+        
+        
         obj.cfg_put("donations", "serve", "http")
         obj.cfg_put("donations", "http_serve", "unix")
         obj.cfg_put("donations", "http_unixpath", str(unix_sockets_dir / 
"donations.http"))

-- 
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]