From a84e958182aa572b560379abb010db7b0150f5a7 Mon Sep 17 00:00:00 2001 From: Sovran_Systems <99053422+naturallaw777@users.noreply.github.com> Date: Thu, 16 Apr 2026 12:10:27 -0500 Subject: [PATCH] Refactor wallet-autoconnect configuration Removed waiting mechanism for bitcoind RPC readiness and updated btcNodes configuration. --- modules/wallet-autoconnect.nix | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/modules/wallet-autoconnect.nix b/modules/wallet-autoconnect.nix index 2245b89..56f159a 100644 --- a/modules/wallet-autoconnect.nix +++ b/modules/wallet-autoconnect.nix @@ -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