@@ -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
2122Prevent 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
2729Keep an offline, secure backup of the sBTC Signer private key.
2830{% endstep %}
2931
3032{% step %}
33+
3134#### Regularly backup PostgreSQL database
3235
3336Regularly backup the PostgreSQL database and store it in a secure location.
@@ -60,8 +63,8 @@ You will need `bitcoind` version 25 or higher.
6063
6164Your 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
7680Bitcoin Core validates a new block.
7781{% endstep %}
7882
7983{% step %}
84+
8085#### Signer detects the block via RPC polling
8186
8287Signer detects the block via RPC polling.
8388{% endstep %}
8489
8590{% step %}
91+
8692#### Signer processes relevant sBTC transactions
8793
8894Signer 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