|
@ -142,6 +142,7 @@ waitUntilChainNetworkIsReady() |
|
|
|
|
|
|
|
|
# check for missing blockchain data |
|
|
# check for missing blockchain data |
|
|
blockchainsize=$(du /mnt/hdd/bitcoin | head -n1 | awk '{print $1;}') |
|
|
blockchainsize=$(du /mnt/hdd/bitcoin | head -n1 | awk '{print $1;}') |
|
|
|
|
|
echo "blockchainsize(${blockchainsize})" |
|
|
if [ ${#blockchainsize} -gt 0 ]; then |
|
|
if [ ${#blockchainsize} -gt 0 ]; then |
|
|
if [ ${blockchainsize} -lt 1000000 ]; then |
|
|
if [ ${blockchainsize} -lt 1000000 ]; then |
|
|
echo "Mission Bloclchain Data ..." |
|
|
echo "Mission Bloclchain Data ..." |
|
@ -149,6 +150,7 @@ waitUntilChainNetworkIsReady() |
|
|
sleep 3 |
|
|
sleep 3 |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
fi |
|
|
|
|
|
sleep 5 |
|
|
|
|
|
|
|
|
if [ ${#clienterror} -gt 0 ]; then |
|
|
if [ ${#clienterror} -gt 0 ]; then |
|
|
|
|
|
|
|
|