Mac

使用暗黑破壞神礦工在 OS X 上進行單人挖礦

  • May 27, 2014

我想用 Diablo Miner 在 OS X 上測試 Solo 挖礦,所以我通過了選項:

./DiabloMiner-OSX.sh -u my_user -p my_pass -r 8332

我得到:

[5/1/13 11:01:37 PM] Started                                         
[5/1/13 11:01:37 PM] Connecting to: http://localhost:8332/                           
[5/1/13 11:01:37 PM] Using Apple OpenCL 1.1 (Aug 10 2012 19:59:48)                       
[5/1/13 11:01:38 PM] Added GeForce 9600M GT (#1) (4 CU, local work size of 512)              
[5/1/13 11:01:38 PM] ERROR: Cannot connect to localhost: Connection refused                  
[5/1/13 11:01:38 PM] Added GeForce 9400M (#2) (2 CU, local work size of 512)                 
[5/1/13 11:01:38 PM] ERROR: Cannot connect to localhost: Connection refused                  
[5/1/13 11:01:38 PM] ERROR: Cannot connect to localhost: Connection refused                  
[5/1/13 11:01:39 PM] ERROR: Cannot connect to localhost: Connection refused 

此錯誤的原因可能是什麼?

確保您的bitcoin.conf文件中~/Library/Application Support/Bitcoin至少有以下內容:

server=1
rpcuser=<username>
rpcpassword=<your_password>

重啟比特幣客戶端,享受比特幣單人挖礦。;)

確保您必須有一個本地執行的 Bitcoin-Qt 實例或bitcoind在其 JSON-RPC 介面處於活動狀態的情況下執行。

引用自:https://bitcoin.stackexchange.com/questions/10476