diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2018-03-09 06:09:57 +0100 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2018-03-09 14:55:44 +0100 |
commit | de04fde534997f15235ded46912806d47c615c23 (patch) | |
tree | bf288d8d9e171d07436a30d09fe862cf201f5e06 /.gitattributes | |
parent | 29fad97c320c892ab6a480c81e2078ec22ab354b (diff) | |
download | bitcoin-de04fde534997f15235ded46912806d47c615c23.tar.xz |
bitcoin-cli: Provide a better error message when bitcoind is not running
Before this patch:
```
$ bitcoin-cli -testnet echo 'hello world'
error: Could not locate RPC credentials. No authentication cookie could be found, and RPC password is not set. See -rpcpassword and -stdinrpcpass. Configuration file: (/root/.bitcoin/bitcoin.conf)
```
After this patch:
```
$ bitcoin-cli -testnet echo 'hello world'
error: Could not connect to the server 127.0.0.1:18332
Make sure the bitcoind server is running and that you are connecting to the correct RPC port.
```
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions