[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-deployment] 01/02: don't call old exchange tools, adjust config n
From: |
gnunet |
Subject: |
[taler-deployment] 01/02: don't call old exchange tools, adjust config name |
Date: |
Tue, 05 Jan 2021 15:44:14 +0100 |
This is an automated email from the git hooks/post-receive script.
dold pushed a commit to branch master
in repository deployment.
commit 70bf09ba02bed0eba4ebe4a64a4225ef06d854d3
Author: Florian Dold <florian@dold.me>
AuthorDate: Tue Jan 5 15:39:54 2021 +0100
don't call old exchange tools, adjust config name
---
bin/taler-deployment-prepare | 18 ++----------------
1 file changed, 2 insertions(+), 16 deletions(-)
diff --git a/bin/taler-deployment-prepare b/bin/taler-deployment-prepare
index 9378c5b..633d1cb 100755
--- a/bin/taler-deployment-prepare
+++ b/bin/taler-deployment-prepare
@@ -73,7 +73,7 @@ esac
case $TALER_ENV_NAME in
demo|test|int|local)
EXCHANGE_PUB=$(gnunet-ecc -p
"$HOME/deployment/private-keys/${TALER_ENV_NAME}-exchange-master.priv")
- EXCHANGE_PRIV_FILE=$(taler-config -f -s exchange -o master_priv_file)
+ EXCHANGE_PRIV_FILE=$(taler-config -f -s exchange-offline -o
master_priv_file)
if [[ -e "$EXCHANGE_PRIV_FILE" ]]; then
EXCHANGE_PUB2=$(gnunet-ecc -p "$EXCHANGE_PRIV_FILE")
if [[ "$EXCHANGE_PUB" != "$EXCHANGE_PUB2" ]]; then
@@ -94,23 +94,9 @@ taler-auditor-exchange \
-m "$EXCHANGE_MASTER_PUB" \
-u "$(taler-config -s exchange -o base_url)" || true
-rm -f auditor.in
-taler-exchange-keyup -o auditor.in
-taler-auditor-sign -m "$EXCHANGE_MASTER_PUB" -r auditor.in -o auditor.out ||
true
-rm -f auditor.in auditor.out # we don't actually use the auditor's signatures
in the demo!
-
# Make configuration accessible to auditor
chmod 750 "$HOME/.config"
-##
-## Step 3: Sign the exchange's wire information
-##
-
-WIRE_RESPONSE=$(taler-config -s exchange-account-1 -o wire_response -f)
-
-taler-exchange-wire
-
-
##
## Step 4: Set up the bank
##
@@ -144,7 +130,7 @@ case $TALER_ENV_NAME in
;;
esac
-# Configure instances.
+# Configure merchant instances.
taler-deployment-arm -s
if taler-deployment-arm -I | grep "^taler-merchant" > /dev/null; then
echo "Merchant backend runs already, please call 'taler-config-instances'
manually"
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.