mirror of
https://github.com/LORDBABUINO/stealth.git
synced 2026-06-10 06:13:31 -07:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user