Title: Request for help using regest Post by: stevebc on July 23, 2015, 09:36:18 PM I'm attempting to use regtest as in this tutorial:
https://bitcoin.org/en/developer-examples When I issue this: bitcoin-cli -regtest generate 101 I get a failure: 'you must set rpcpassword=<password> in the configuration file: /home/ubuntu/.bitcoin/bitcoin.conf' I add that file and instead get the error: 'incorrect rpcuser or rpcpassword (authorization failed)' Do I need particular rpcuser/rpcpassword values in order to use regtest? Any suggestions as to what I may have missed? Thanks Title: Re: Request for help using regest Post by: achow101 on July 24, 2015, 03:01:57 AM You need to first start Bitcoind or bitcoin-qt in regtest mode. Start bitcoin-qt with the server option. When doing so, make sure that bitcoin.conf has an rpcuser and rpcpassword set. It doesn't matter what they are, as long as they exist.
|