From a59e6e2d542ae7c353082bb0170d81c41c1f7bdc Mon Sep 17 00:00:00 2001 From: artfuldev Date: Tue, 10 Sep 2024 20:59:52 +0100 Subject: [PATCH 1/2] Update docs to point to testnet4 --- README.md | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index c76494f..b95bc65 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,14 @@ using these steps: ```bash # Create a directory for Bitcoin regtest data -mkdir $HOME/bitcoin-regtest -echo "rpcuser=test" > $HOME/bitcoin-regtest/bitcoin.conf -echo "rpcpassword=test" >> $HOME/bitcoin-regtest/bitcoin.conf -bitcoind -regtest -datadir=$HOME/bitcoin-regtest +mkdir $HOME/bitcoin-testnet4 + +# Create a configuration file with RPC credentials +echo "rpcuser=testnet4" > $HOME/bitcoin-testnet4/bitcoin.conf +echo "rpcpassword=testnet4" >> $HOME/bitcoin-testnet4/bitcoin.conf + +# Start Bitcoin Core specifying testnet4 network +bitcoind -testnet4 -datadir=$HOME/bitcoin-testnet4 ``` ```bash @@ -31,5 +35,5 @@ cargo build Connect `spaced` to Bitcoin core ```bash -spaced --chain regtest --bitcoin-rpc-user test --bitcoin-rpc-password test +spaced --chain testnet4 --bitcoin-rpc-user testnet4 --bitcoin-rpc-password testnet4 ``` From 67e6c9a689c2dbc130fc1b14c3a00db9fd8f7dd5 Mon Sep 17 00:00:00 2001 From: artfuldev Date: Tue, 10 Sep 2024 21:01:47 +0100 Subject: [PATCH 2/2] Fix network name --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b95bc65..c322b3c 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ First, download Bitcoin Core and set it up to connect to `regtest` using these steps: ```bash -# Create a directory for Bitcoin regtest data +# Create a directory for Bitcoin testnet4 data mkdir $HOME/bitcoin-testnet4 # Create a configuration file with RPC credentials