Skip to content

Commit

Permalink
Update install-full-node.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SatoshiNakamotoBitcoin authored Jan 14, 2025
1 parent 47e0879 commit dc54fca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-full-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dc54fca

Please sign in to comment.