[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: removing old wire
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: removing old wireformat generation (for exchanges) |
Date: |
Mon, 03 Jun 2019 15:42:55 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new a832d65 removing old wireformat generation (for exchanges)
a832d65 is described below
commit a832d65c0dabf95925580370c511fc28582078ae
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Jun 3 15:41:45 2019 +0200
removing old wireformat generation (for exchanges)
---
config/generate-config | 29 -----------------------------
1 file changed, 29 deletions(-)
diff --git a/config/generate-config b/config/generate-config
index 07b5e2f..715823a 100755
--- a/config/generate-config
+++ b/config/generate-config
@@ -266,22 +266,6 @@ def merchant_wf(envname, acct_no, standalone):
return json.dumps(data, indent=2)
-def exchange_wf(envname, wfname, acct_no, name, standalone):
- if standalone:
- bank_url = "https://env.taler.net/{}/bank/".format(envname)
- else:
- bank_url = "https://bank.{}.taler.net/".format(envname)
-
- bank_host = urllib.parse.urlparse(bank_url).netloc
- data = OrderedDict(
- name=name,
- type=wfname,
- bank_url=bank_url,
- account_number=acct_no,
- url="payto://x-taler-bank/{}/{}".format(bank_host, acct_no)
- )
- return (wfname, json.dumps(data, indent=2))
-
@click.command()
@click.option("--currency", default="KUDOS")
@click.option("--envname", default="demo")
@@ -306,10 +290,6 @@ def main(currency, envname, outdir, shared_outdir,
exchange_pub, standalone):
config(currency, envname, exchange_pub, standalone)
- exchange_wireformats = [
- exchange_wf(envname, "test", 2, "The exchange", standalone)
- ]
-
merchant_wireformats = [
merchant_wf(envname, 3, standalone)
]
@@ -332,16 +312,7 @@ def main(currency, envname, outdir, shared_outdir,
exchange_pub, standalone):
f.write(data)
f.close()
-
- d = os.path.join(shared_outdir, "exchange", "wire")
os.makedirs(d, exist_ok=True)
- for name, data in exchange_wireformats:
- # These files must be signed by the exchange in
- # a later step
- filename = os.path.join(d, name+".json")
- f = open(filename, "w")
- f.write(data)
- f.close()
else:
cfg_write(sys.stdout)
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: removing old wireformat generation (for exchanges),
gnunet <=