diff options
author | Christian Grothoff <christian@grothoff.org> | 2022-09-07 10:12:38 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2022-09-07 10:12:38 +0200 |
commit | 479455508a41a75f4fd8d4137b9021d86cc17083 (patch) | |
tree | 415b502995767cb12847ce1228bbe26134389efa | |
parent | 673517d4367054b6793a65de676b8f7cf943676f (diff) | |
download | deployment-479455508a41a75f4fd8d4137b9021d86cc17083.tar.gz deployment-479455508a41a75f4fd8d4137b9021d86cc17083.tar.bz2 deployment-479455508a41a75f4fd8d4137b9021d86cc17083.zip |
-add global fees
-rwxr-xr-x | bin/taler-gv | 20 |
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([ |