Skip to content

Commit a03578f

Browse files
fix: no need to run txindex for sBTC anymore (#1875)
* fix: no need to run txindex for sBTC anymore * Disable pruning --------- Co-authored-by: adriano-stacks <adriano-stacks@users.noreply.github.com>
1 parent f7689f8 commit a03578f

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎docs/operate/run-a-sbtc-signer/README.md‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,21 @@ It is of the utmost importance to follow the recommendations below.
1616

1717
{% stepper %}
1818
{% step %}
19+
1920
#### Prevent unauthorized access to signer infrastructure
2021

2122
Prevent unauthorized access to the sBTC Signer infrastructure (the signer itself, its private key, and the associated PostgreSQL database).
2223
{% endstep %}
2324

2425
{% step %}
26+
2527
#### Keep an offline, secure backup of the Signer private key
2628

2729
Keep an offline, secure backup of the sBTC Signer private key.
2830
{% endstep %}
2931

3032
{% step %}
33+
3134
#### Regularly backup PostgreSQL database
3235

3336
Regularly backup the PostgreSQL database and store it in a secure location.
@@ -60,8 +63,8 @@ You will need `bitcoind` version 25 or higher.
6063

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

63-
* `txindex=1`: Transaction indexing must be enabled
6466
* `server=1`: RPC server must be enabled
67+
* `prune=0`: Pruning must be disabled
6568

6669
### RPC-Based Block Detection
6770

@@ -71,18 +74,21 @@ The signer connects to Bitcoin Core via RPC and polls for new bitcoin blocks. Th
7174

7275
{% stepper %}
7376
{% step %}
77+
7478
#### Bitcoin Core validates a new block
7579

7680
Bitcoin Core validates a new block.
7781
{% endstep %}
7882

7983
{% step %}
84+
8085
#### Signer detects the block via RPC polling
8186

8287
Signer detects the block via RPC polling.
8388
{% endstep %}
8489

8590
{% step %}
91+
8692
#### Signer processes relevant sBTC transactions
8793

8894
Signer processes relevant sBTC transactions.
@@ -101,7 +107,8 @@ bitcoind \
101107
-rpcport=${BITCOIN_RPC_PORT} \
102108
-rpcallowip=0.0.0.0/0 \
103109
-rpcallowip=::/0 \
104-
-txindex
110+
-prune=0
111+
105112
```
106113

107114
## Configure your Stacks node

0 commit comments

Comments
 (0)