diff --git a/docs/operate/run-a-sbtc-signer/README.md b/docs/operate/run-a-sbtc-signer/README.md index b8efbe49a6..52500b04c2 100644 --- a/docs/operate/run-a-sbtc-signer/README.md +++ b/docs/operate/run-a-sbtc-signer/README.md @@ -16,18 +16,21 @@ It is of the utmost importance to follow the recommendations below. {% stepper %} {% step %} + #### Prevent unauthorized access to signer infrastructure Prevent unauthorized access to the sBTC Signer infrastructure (the signer itself, its private key, and the associated PostgreSQL database). {% endstep %} {% step %} + #### Keep an offline, secure backup of the Signer private key Keep an offline, secure backup of the sBTC Signer private key. {% endstep %} {% step %} + #### Regularly backup PostgreSQL database Regularly backup the PostgreSQL database and store it in a secure location. @@ -60,8 +63,8 @@ You will need `bitcoind` version 25 or higher. Your Bitcoin node must include these settings for sBTC signer operation: -* `txindex=1`: Transaction indexing must be enabled * `server=1`: RPC server must be enabled +* `prune=0`: Pruning must be disabled ### RPC-Based Block Detection @@ -71,18 +74,21 @@ The signer connects to Bitcoin Core via RPC and polls for new bitcoin blocks. Th {% stepper %} {% step %} + #### Bitcoin Core validates a new block Bitcoin Core validates a new block. {% endstep %} {% step %} + #### Signer detects the block via RPC polling Signer detects the block via RPC polling. {% endstep %} {% step %} + #### Signer processes relevant sBTC transactions Signer processes relevant sBTC transactions. @@ -101,7 +107,8 @@ bitcoind \ -rpcport=${BITCOIN_RPC_PORT} \ -rpcallowip=0.0.0.0/0 \ -rpcallowip=::/0 \ - -txindex + -prune=0 + ``` ## Configure your Stacks node