2

I downloaded Bitcoin-Qt and synched. I downloaded pyminer to help me understand the mining process. But I need a username and password. Where do I get them for solo mining?

Murch
  • 75,206
  • 34
  • 186
  • 622
dacracot
  • 123
  • 1
  • 1
  • 5

2 Answers2

2

You just make them up. They just need to match on both ends (the bitcoin program and the mining program).

David Schwartz
  • 51,554
  • 6
  • 106
  • 178
2

Add a file named bitcoin.conf to your data directory with the following values:

 # server=1 tells Bitcoin-QT to accept JSON-RPC commands.
 server=1

 # You must set rpcuser and rpcpassword to secure the JSON-RPC api
 rpcuser=user
 rpcpassword=<a password you make up>

Tell pyminer to mine at localhost with the password/username combo you just used.

Nick ODell
  • 29,396
  • 11
  • 72
  • 130