Update testnet.md

add windows instructoins
This commit is contained in:
Flores Lorca 2018-02-23 22:36:44 -06:00 committed by GitHub
parent 45ce8200d7
commit b1ec78e287
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -4,14 +4,18 @@ Connecting to testnet
After building Bitcoin private, you should have two binaries (btcpd, and btcp-cli) on your build target directory, but before running the btcp, you need to configure it:
### Linux
1. Create a btcprivate.conf file
#### Linux
```
vi ~/.btcprivate/btcprivate.conf
```
#### Windows
Click on Start/Windows Logo and type `cmd` once there type `%AppData%\BitcoinPrivate`. It will open the explorer in that directory. Create a new text file and name it as `btcprivate.conf` (be sure you remove the txt extension) in the directory and open it with a text editor
2. Add the following to the conf file
```
@ -31,4 +35,4 @@ The rpc parameters are required for the daemon to run. the `testnet=1` tells the
Once you run the daemon, you should first wait to sync the chain before mining. Once you are synced you can add `gen=1` to the conf file, and restart the btcp daemon.
Now that you have your node up you can use `btcp-cli` to make RPC calls to your node (i.e `btcp-cli getinfo`).
Now that you have your node up you can use `btcp-cli` to make RPC calls to your node (i.e `btcp-cli getinfo`).