Skip to content

Commit

Permalink
Update install-full-tor-node.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
SatoshiNakamotoBitcoin authored Jan 14, 2025
1 parent 7a1a2c4 commit 3ae8296
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions install-full-tor-node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -554,8 +554,8 @@ check_bitcoin_core() {
if [ -f $TARGET_DIR/.bitcoin/bitcoind.pid ]; then
if [ -f $TARGET_DIR/bin/bitcoin-cli ]; then
print_info "\nChecking Bitcoin Core.."
sleep 7
$TARGET_DIR/bin/bitcoin-cli -conf=$TARGET_DIR/.bitcoin/bitcoin.conf -datadir=$TARGET_DIR/.bitcoin getnetworkinfo
sleep 30
$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 3ae8296

Please sign in to comment.