Skip to content

Commit

Permalink
sBTC docs: Remove optional config value for sBTC Bitcoin nodes (#1681)
Browse files Browse the repository at this point in the history
  • Loading branch information
aldur authored Dec 11, 2024
1 parent a75a178 commit 5fe0fff
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions guides-and-tutorials/sbtc/how-to-run-sbtc-signer.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,11 @@ You will need `bitcoind` version 25 or higher.

Your Bitcoin node must include these settings for sBTC signer operation:

1. Required Settings:

- `txindex=1`: Transaction indexing must be enabled
- `server=1`: RPC server must be enabled
- `zmqpubhashblock=tcp://*:28332`: ZMQ block hash notifications
- `zmqpubrawblock=tcp://*:28332`: ZMQ raw block notifications

1. Optional, but recommended:

- `coinstatsindex=1`: Enables additional index for coin statistics

### ZeroMQ (ZMQ) Configuration

The ZeroMQ configuration specified above enables real-time blockchain event
Expand All @@ -61,17 +55,16 @@ This notification system creates a direct event stream when:
```bash
bitcoind \
-server \
-datadir=$${BITCOIN_DATA} \
-datadir=${BITCOIN_DATA} \
-rpcbind=0.0.0.0 \
-rpcuser=$${BITCOIN_RPC_USERNAME} \
-rpcpassword=$${BITCOIN_RPC_PASSWORD} \
-rpcport=$${BITCOIN_RPC_PORT} \
-rpcuser=${BITCOIN_RPC_USERNAME} \
-rpcpassword=${BITCOIN_RPC_PASSWORD} \
-rpcport=${BITCOIN_RPC_PORT} \
-rpcallowip=0.0.0.0/0 \
-rpcallowip=::/0 \
-txindex \
-zmqpubhashblock="tcp://*:$${BITCOIN_ZMQ_PORT}" \
-zmqpubrawblock="tcp://*:$${BITCOIN_ZMQ_PORT}" \
-coinstatsindex
-zmqpubhashblock="tcp://*:${BITCOIN_ZMQ_PORT}" \
-zmqpubrawblock="tcp://*:${BITCOIN_ZMQ_PORT}"
```

## 2. Configure your Stacks node
Expand Down

0 comments on commit 5fe0fff

Please sign in to comment.