debug for testnet

This commit is contained in:
rootzoll 2018-09-21 15:53:49 +02:00
parent aa4698abd9
commit e3b22c283b

View file

@ -39,7 +39,11 @@ while [ ${chainIsReady} -eq 0 ]
echo "result(${result})" echo "result(${result})"
echo "error(${error})" echo "error(${error})"
if [ ${#error} -gt 0 ]; then if [ ${#error} -gt 0 ]; then
sudo tail -n 5 /mnt/hdd/bitcoin/debug.log testnetAdd=""
if [ '${chain}' -ew 'test' ]; then
testnetAdd="testnet3/"
fi
sudo tail -n 5 /mnt/hdd/bitcoin/${testnetAdd}debug.log
echo "Waiting 1 minute and then trying again ..." echo "Waiting 1 minute and then trying again ..."
sleep 60 sleep 60
echo "" echo ""