summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-09-07 10:12:38 +0200
committerChristian Grothoff <christian@grothoff.org>2022-09-07 10:12:38 +0200
commit479455508a41a75f4fd8d4137b9021d86cc17083 (patch)
tree415b502995767cb12847ce1228bbe26134389efa
parent673517d4367054b6793a65de676b8f7cf943676f (diff)
downloaddeployment-479455508a41a75f4fd8d4137b9021d86cc17083.tar.gz
deployment-479455508a41a75f4fd8d4137b9021d86cc17083.tar.bz2
deployment-479455508a41a75f4fd8d4137b9021d86cc17083.zip
-add global fees
-rwxr-xr-xbin/taler-gv20
1 files changed, 20 insertions, 0 deletions
diff --git a/bin/taler-gv b/bin/taler-gv
index 569e311..baf7ffa 100755
--- a/bin/taler-gv
+++ b/bin/taler-gv
@@ -1376,6 +1376,26 @@ def prepare(postgres_db_name):
],
custom_name="set-wire-fee"
).run()
+ print_nn("Setting global fees for the next 5 years...")
+ for year in range(YEAR, YEAR+5):
+ Command(
+ [
+ f"{TALER_PREFIX}/bin/taler-exchange-offline",
+ "-c", CFG_OUTDIR / "taler.conf",
+ "global-fee",
+ str(year),
+ CURRENCY + ":0.00",
+ CURRENCY + ":0.00",
+ CURRENCY + ":0.00",
+ CURRENCY + ":0.00",
+ "3000s",
+ "30000s",
+ "300000s",
+ "0",
+ "upload"
+ ],
+ custom_name="set-wire-fee"
+ ).run()
print(" OK")
print_nn("Reset and init auditor DB..")
Command([