diff options
| author | practicalswift <[email protected]> | 2018-03-09 06:09:57 +0100 |
|---|---|---|
| committer | practicalswift <[email protected]> | 2018-03-09 14:55:44 +0100 |
| commit | de04fde534997f15235ded46912806d47c615c23 (patch) | |
| tree | bf288d8d9e171d07436a30d09fe862cf201f5e06 /src/httpserver.cpp | |
| parent | Merge #12607: depends: Remove ccache (diff) | |
| download | discoin-de04fde534997f15235ded46912806d47c615c23.tar.xz discoin-de04fde534997f15235ded46912806d47c615c23.zip | |
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 'src/httpserver.cpp')
0 files changed, 0 insertions, 0 deletions