SupaDupa's Noob Guide to Bitcoin P2Pool Mining (Windows) *UPDATED September 4th 2013* ______________________________________________________________________________________ 1. Download P2Pool @ http://u.forre.st/u/zdeurytx/p2pool_win32_13.3.zip (v13.3) *HARDFORK, UPGRADE REQUIRED!* Change Log: HARDFORK, UPGRADE REQUIRED! HARDFORK: Upgrade is required! Hardfork will happen after 95% of the pool's hash rate has upgraded. Everybody having not upgraded will be split off into a tiny P2Pool. *Changes: (in v9.4) * Fixed inefficient memory usage - Resident memory went from 736MB to 266MB for Diablo-D3 *Changes: (in v11.2) * Fixed a major memory leak of peer objects, as far as I know the cause of all P2Pool memory issues recently. Found by Prattler, whose donation address is 18uyCqDvP6VQUeyTuA5s6x1Ft8x8om767J *Changes: (in v11.4) * Fixed a few more potential memory leaks * Memory usage graph now works in Windows, thanks to David Kassa *Changes: (in v13.1) *The hardfork hasn't happened yet, and this release fixes a potential problem that could cause people mining with non-standard transaction inclusion options to have their shares orphaned more often. *Changes: (in v13.2) *Out-of-the-box Avalon device support - simply point Avalon devices to http://P2POOL_HOST:9332/ *Changes: (in v13.3) * Changes to make Litecoin switch go more smoothly (drop/ban old peers) *Changes: (in v13.3) * Fixed startum miner failover not working - P2Pool would keep miners connected during failure conditions (lost connection to bitcoind or all peers) *Changes: (in v13.3) * Fixed potential memory leak 2. Download CGMiner @ http://ck.kolivas.org/apps/cgminer/cgminer-3.4.2-windows.zip (v3.4.2 *LATEST STABLE VERSION*) *CGMiner Now uses Diablo Kernel and does not require SDK 2.5 you can use the latest drivers from now on!* 3. Download Bitcoin (Wallet) @ http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.4/bitcoin-0.8.4-win32-setup.exe/download *UPDATE: Bitcoin-Qt users must upgrade to avoid a crashing bug.* 4. Extract P2Pool to it's own folder. 5. Extract CGMiner to it's own folder. 6. Install the Bitcoin (Wallet) Software. 7. Once you have downloaded the full Bitcoin Block Chain go into C:\Users\[Your Username]\AppData\Roaming\Bitcoin and make a New Text Document 8. Now input the following into your New Text Document *EXACTLY AS IT'S FORMATTED OR IT WILL NOT WORK* rpcuser=user rpcpassword=password server=1 It can take several hours to download all the blocks in the blockchain on a Broadband Internet Connection All file sources provided in this guide are direct from the developers DO NOT use any other links all the files in this guide come from TRUSTED SOURCES! 9. Now save the file as bitcoin.conf under "All Files/Types" it has to be saved as bitcoin.conf not bitcoin.conf.txt or it will NOT work.. 9 1/2. If you are having troubles with your Bitcoin Client crashing while using the Bitcoin RPC Server I will be adding to this guide with information on how to use Bitcoin Daemon Instead. 10. Now go into your CGMiner folder and find cgminer.exe , highlight it and right click it and Send To Desktop > Create Shortcut 11. Now find the shortcut you just made for cgminer.exe , right click it and go to properties 12. Now find "Target.." and add a space and enter the following.. cgminer.exe" -o http://127.0.0.1:9332 -u user -p password 13. Now save the details you just changed in the shortcut by clicking OK 14. Now open your P2Pool folder and find run_p2pool.exe , highlight it and right click and again Send To Desktop > Create Shortcut *EXTRA HASHRATE: If you happen to be mining on Litecoin P2Pool and Bitcoin P2Pool at the same time it is advised to set your CGMiner to the highest intensity for normal hashrate to do so.. While mining on CGMiner.. Press G on the CGMiner Command Prompt Press I on the CGMiner Command Prompt Type in 14 Press Enter This should bring back your normal hashrate while minng Bitcoins on P2Pool *EXTRA NOTE ABOUT EXTRA HASHRATE: Your best option to maintain your normal hashrate is to also set Low Priority on your minerd.exe To do this.. Press ALT + CTRL + DELETE Press Start Task Manager Go to the Processes Tab Find your minerd.exe Right Click it and Select Set Priority > Low This should bring back your normal hashrate while mining both Bitcoins and Litecoins *WARNING: There has not been any reports of systems becoming unstable while Intensity is set to 14 on CGMiner and minerd is set to Low Priority. If however your system becomes unstable IMMEDIATELY STOP using this fix. "Running P2Pool: Run P2Pool with the "--net litecoin" option. Run your miner program, connecting to 127.0.0.1 on port 9327. Forward port 9338 to the host running P2Pool. Litecoin's use of ports 9332 and 9332 conflicts with P2Pool running on the Bitcoin network. To avoid problems, add these lines to litecoin.conf and restart litecoind: rpcport=10332 port=10333 " 15. Now run your CGMiner Shortcut. 16. Now run your P2Pool Shortcut. 17. If all wen't well you should now be mining Bitcoins on P2Pool. Cheers, SupaDupa If this guide helped you Please Donate @ 13DRAm57deBUgUfPAoZfp3cqHsqWkVhWRg (Bitcoin)