summaryrefslogtreecommitdiff
path: root/bin/taler-deployment-prepare
diff options
context:
space:
mode:
authorFlorian Dold <florian@dold.me>2021-01-05 15:39:54 +0100
committerFlorian Dold <florian@dold.me>2021-01-05 15:39:54 +0100
commit70bf09ba02bed0eba4ebe4a64a4225ef06d854d3 (patch)
tree2b907307d03473ff07ed0efee4d1343fb940667c /bin/taler-deployment-prepare
parent8d01068b4b253cba1e42c9ff4a94b11c349c8659 (diff)
downloaddeployment-70bf09ba02bed0eba4ebe4a64a4225ef06d854d3.tar.gz
deployment-70bf09ba02bed0eba4ebe4a64a4225ef06d854d3.tar.bz2
deployment-70bf09ba02bed0eba4ebe4a64a4225ef06d854d3.zip
don't call old exchange tools, adjust config name
Diffstat (limited to 'bin/taler-deployment-prepare')
-rwxr-xr-xbin/taler-deployment-prepare18
1 files 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,24 +94,10 @@ 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"