jgarzik / python-bitcoinrpc

Python interface to bitcoin's JSON-RPC API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

if there's no login and password

GildedHonour opened this issue · comments

if there's no login and password, how can I use this?

rpc_connection = AuthServiceProxy("http://%s:%s@127.0.0.1:8332"%(rpc_user, rpc_password))

passing None doesn't work.

The client doesn't support not sending an auth header. Try '' and '' as values (None is string cast as 'None') and it it doesn't work just set a username and password on the daemon

This proxy is built assuming auth is required, as it is for the use cases designed