Implements the bitcoin JSON-RPC API - a package from btcd