Refactor wallet-autoconnect configuration

Removed waiting mechanism for bitcoind RPC readiness and updated btcNodes configuration.
This commit is contained in:
Sovran_Systems
2026-04-16 12:10:27 -05:00
committed by GitHub
parent 21e0f284b6
commit a84e958182

View File

@@ -60,17 +60,10 @@ EOF
exit 0 exit 0
fi fi
# Wait for bitcoind RPC to be ready (up to 30 attempts)
ATTEMPTS=0
until ss -ltn 2>/dev/null | grep -q ':8335' || [ "$ATTEMPTS" -ge 30 ]; do
ATTEMPTS=$((ATTEMPTS + 1))
sleep 2
done
mkdir -p /home/free/.local/share/Bisq mkdir -p /home/free/.local/share/Bisq
cat > "$BISQ_CONF" << 'EOF' cat > "$BISQ_CONF" << 'EOF'
btcNodes=127.0.0.1:8335 btcNodes=127.0.0.1
useTorForBtc=true useTorForBtc=true
useCustomBtcNodes=true useCustomBtcNodes=true
EOF EOF