From 9c4332c87a788f20bfb4e64b60e3f6a88a9855bc Mon Sep 17 00:00:00 2001 From: "David A. Harding" Date: Thu, 31 Jul 2014 11:18:02 -0400 Subject: [PATCH] Add RPC Password Setup Instructions To DevEx (Closes #491) Thanks @kostaz --- _includes/example_intro.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/_includes/example_intro.md b/_includes/example_intro.md index 7a7c5fc8..7b3cb01a 100644 --- a/_includes/example_intro.md +++ b/_includes/example_intro.md @@ -28,6 +28,24 @@ application directory: * Linux: `$HOME/.bitcoin/` +To use `bitcoind` and `bitcoin-cli`, you will need to add a RPC password +to your `bitcoin.conf` file. Both programs will read from the same file +if both run on the same system as the same user, so any long random +password will work: + +~~~ +rpcpassword=change_this_to_a_long_random_password +~~~~ + +You should also make the `bitcoin.conf` file only readable to its +owner. On Linux, Mac OSX, and other Unix-like systems, this can be +accomplished by running the following command in the Bitcoin application +directory: + +~~~ +chmod 0600 bitcoin.conf +~~~ + For development, it's safer and cheaper to use Bitcoin's test network (testnet) or regression test mode (regtest) described below.