Exception: Bitcoin::CommunicationError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/bitcoin/client.rb

Overview

This Error will be raised if there are communication issues with the JSON-RPC server. For safety it will also be raised if you call methods on the Bitcoin::Client before setting the Bitcoin::Client::Configuration's location.

Constant Summary

UNKNOWN_HOST =

The message that will be raised if you forget to call Bitcoin::Client.configure before interacting with the Client.

["WARNING: You have yet to configure the Bitcoin::Client.", 
"First do so with Bitcoin::Client.configuration.location",
"= 'http://user:password@127.0.0.1:8332'"].join(' ')