[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: finish revocation DB generation
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: finish revocation DB generation fixes: add timetravel for helpers |
Date: |
Wed, 16 Dec 2020 14:39:58 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new 0336e62c finish revocation DB generation fixes: add timetravel for
helpers
0336e62c is described below
commit 0336e62ccaf32854aa3133bcb44587d746573dfd
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Wed Dec 16 14:39:56 2020 +0100
finish revocation DB generation fixes: add timetravel for helpers
---
src/auditor/generate-revoke-basedb.sh | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
diff --git a/src/auditor/generate-revoke-basedb.sh
b/src/auditor/generate-revoke-basedb.sh
index 18a55269..82c9c50b 100755
--- a/src/auditor/generate-revoke-basedb.sh
+++ b/src/auditor/generate-revoke-basedb.sh
@@ -103,7 +103,9 @@ TFN=`which taler-exchange-httpd`
TBINPFX=`dirname $TFN`
TLIBEXEC=${TBINPFX}/../lib/taler/libexec/
$TLIBEXEC/taler-helper-crypto-eddsa -c $CONF 2> taler-helper-crypto-eddsa.log &
+SIGNKEY_HELPER_PID=$!
$TLIBEXEC/taler-helper-crypto-rsa -c $CONF 2> taler-helper-crypto-rsa.log &
+DENOM_HELPER_PID=$!
taler-exchange-httpd -c $CONF 2> taler-exchange-httpd.log &
EXCHANGE_PID=$!
taler-merchant-httpd -c $CONF -L INFO 2> taler-merchant-httpd.log &
@@ -272,6 +274,12 @@ export TIMETRAVEL="--timetravel=604800000000"
echo "Launching exchange 1 week in the future"
kill -TERM $EXCHANGE_PID
+kill -TERM $DENOM_HELPER_PID
+kill -TERM $SIGNKEY_HELPER_PID
+$TLIBEXEC/taler-helper-crypto-eddsa $TIMETRAVEL -c $CONF 2>
taler-helper-crypto-eddsa.log &
+SIGNKEY_HELPER_PID=$!
+$TLIBEXEC/taler-helper-crypto-rsa $TIMETRAVEL -c $CONF 2>
taler-helper-crypto-rsa.log &
+DENOM_HELPER_PID=$!
taler-exchange-httpd $TIMETRAVEL -c $CONF 2> taler-exchange-httpd.log &
export EXCHANGE_PID=$!
@@ -372,12 +380,8 @@ echo "Dumping database"
pg_dump -O $TARGET_DB | sed -e '/AS integer/d' > ${BASEDB}.sql
echo $MASTER_PUB > ${BASEDB}.mpub
-
-WIRE_FEE_DIR=`taler-config -c $CONF -f -s exchangedb -o WIREFEE_BASE_DIR`
-cp $WIRE_FEE_DIR/x-taler-bank.fee ${BASEDB}.fees
date +%s > ${BASEDB}.age
-
# clean up
echo "Final clean up"
dropdb $TARGET_DB
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: finish revocation DB generation fixes: add timetravel for helpers,
gnunet <=