What should I use as a login and password while connecting to the bitcoin daemon

0

I'm creating a pool, right now I'm trying to connect to bitcoin daemon, it responses with error "401", "HTTP Error 401 Unauthorized".

What should I enter in "login" and "password" fields?

user15441

Posted 2014-05-13T09:33:01.657

Reputation: 11

Answers

2

Locate your bitcoin.conf file (https://en.bitcoin.it/wiki/Running_Bitcoin#Bitcoin.conf_Configuration_File) and add these lines:

rpcuser = MyRpcUsername
rpcpassword = MyRpcPassword
server=1

These are the credentials you should be also using in your program.

George Kimionis

Posted 2014-05-13T09:33:01.657

Reputation: 2 824

I have not enough reputation to vote up, but thank you!user15441 2014-05-13T12:44:53.240