Quick & Dirty MethodIf you haven't already, setup bitcoin-qt (latest is 0.8.6) and download the blockchain.
Once bitcoin-qt is up to date,
shut it down (close application) and do the following:
Assuming windows machines1) Navigate to C:\Documents and Settings\your_user\Application Data\Bitcoin
(If you can't find this folder, enable "show hidden files" in your control panel under folder options / view)
2) In the above folder edit or create "bitcoin.conf" and insert the following:
daemon=1
server=1
gen=0
rpcuser=your_chosen_user_name
rpcpassword=your_chosen_user_password
rpcallowip=127.0.0.1
rpcallowip=192.168.2.*
rpcport=8332
- The user / password combo is yours to choose, and are the pool credentials that bitcoin-qt will accept from BFGminer or standalone stratum proxy
- The allow ip of 127.0.0.1 is localhost, and you would use this if your BFGminer or standalone stratum proxy is hosted on the same machine as bitcoin-qt
- If bitcoin-qt is on another machine on your network use the IP range of your network with a wildcard (eg: 192.168.2.*), so any machine can talk to bitcoin-qt
- Choose an rpcport, I suggest 8832
- Note: gen=0 may be deprecated, not sure but no harm to leave it in
3) Save bitcoin.conf file
4) Navigate to your bitcoin-qt install (probably C:\Program Files\Bitcoin)
5) Launch bitcoin-qt in server mode. You can do this a few ways:
A) Hold shift and right-click anywhere in the bitcoin folder and select "open command window here". In dos box type "bitcoin-qt.exe -server". Bitcoin will load and your solo pool is running.
or
B) Create a batch file anywhere on your machine with the following code, which when run will open a box and prompt you to hit a key before launching bitcoin-qt in server mode. Name the batch file anything.bat
@echo off
echo Press any key to run Bitcoin-QT Server mode
pause
CD C:\Program Files\Bitcoin
start bitcoin-qt -server
Now that bitcoin-qt is running in server mode, point your stratum proxy or BFGminer to bitcoin-qt (port 8332) and start hashing! Here is a shortcut example to launch BFGminer in solo mining mode:
C:\bfgminer\bfgminer.exe -o 127.0.0.1:8332 -u my_rpc_user -p my_rpc_passwordIn the above instance BFGminer is running on the same machine as bitcoin-qt. Insert whatever other commands you need to get your miners talking to BFGminer.
You should be good to go ...
Cheers