diff --git a/install-full-node.sh b/install-full-node.sh index 6959fd32..2467a161 100644 --- a/install-full-node.sh +++ b/install-full-node.sh @@ -551,9 +551,9 @@ stop_bitcoin_core() { check_bitcoin_core() { if [ -f $TARGET_DIR/.bitcoin/bitcoind.pid ]; then if [ -f $TARGET_DIR/bin/bitcoin-cli ]; then - print_info "\nChecking Bitcoin Core.." + print_info "\nChecking Bitcoin Core in 30 seconds.." sleep 5 - $TARGET_DIR/bin/bitcoin-cli -conf=$TARGET_DIR/.bitcoin/bitcoin.conf -datadir=$TARGET_DIR/.bitcoin getnetworkinfo + $TARGET_DIR/bin/bitcoin-cli -conf=$TARGET_DIR/.bitcoin/bitcoin.conf -datadir=$TARGET_DIR/.bitcoin -getinfo fi reachable=$(curl -I https://bitnodes.io/api/v1/nodes/me-$PORT/ 2> /dev/null | head -n 1 | cut -d ' ' -f2)