docs: point readme bitcoin.conf section to bitcoin.conf.example

Replace the inline cat heredoc with a single cp instruction so the
example config stays canonical (the file is already in the repo and
also drives ./scripts/setup.sh).
This commit is contained in:
LORDBABUINO
2026-05-11 20:21:43 -03:00
parent 25a0594f74
commit a24dc0aa1f
+2 -15
View File
@@ -168,23 +168,10 @@ cargo build
### 2. Configure Bitcoin Core RPC (regtest)
Create a local `bitcoin.conf`:
Copy `bitcoin.conf.example` to `bitcoin.conf` and edit the credentials if needed.
```bash
cat > bitcoin.conf <<'EOF'
regtest=1
server=1
daemon=1
txindex=1
listen=0
[regtest]
rpcbind=127.0.0.1
rpcallowip=127.0.0.1
rpcuser=localuser
rpcpassword=localpass
rpcport=18443
fallbackfee=0.0002
EOF
cp bitcoin.conf.example bitcoin.conf
```
### 3. Start Bitcoin Core