Refactor wallet-autoconnect configuration
Removed waiting mechanism for bitcoind RPC readiness and updated btcNodes configuration.
This commit is contained in:
@@ -60,17 +60,10 @@ EOF
|
||||
exit 0
|
||||
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
|
||||
|
||||
cat > "$BISQ_CONF" << 'EOF'
|
||||
btcNodes=127.0.0.1:8335
|
||||
btcNodes=127.0.0.1
|
||||
useTorForBtc=true
|
||||
useCustomBtcNodes=true
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user