This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

SupaDupaJenkins' Noob Guide to Bitcoin P2Pool (Windows)

By: a guest on Feb 19th, 2012  |  syntax: None  |  size: 4.22 KB  |  views: 243  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. SupaDupaJenkins' Noob Guide to Bitcoin P2Pool Mining (Windows)
  2.  
  3. 1. Download P2Pool @ http://u.forre.st/u/szpnzcpo/p2pool_win32_d222f8d.zip
  4. 2. Download CGMiner @ http://ck.kolivas.org/apps/cgminer/cgminer-2.2.6-win32.zip
  5. 3. Download Bitcoin (Wallet) @ http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.5.2/bitcoin-0.5.2-win32-setup.exe/download
  6. 4. Extract P2Pool to it's own folder.
  7. 5. Extract CGMiner to it's own folder.
  8. 6. Install the Bitcoin (Wallet) Software.
  9. 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
  10. 8. Now input the following into your New Text Document
  11. *EXACTLY AS IT'S FORMATTED OR IT WILL NOT WORK*
  12.  
  13. rpcuser=user
  14. rpcpassword=password
  15. server=1
  16.  
  17. 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..
  18. 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.
  19. 10. Now go into your CGMiner folder and find cgminer.exe , highlight it and right click it and Send To Desktop > Create Shortcut
  20. 11. Now find the shortcut you just made for cgminer.exe , right click it and go to properties
  21. 12. Now find "Target.." and add a space and enter the following..
  22.  
  23. cgminer.exe" -o http://127.0.0.1:9332 -u user -p password
  24.  
  25. 13. Now save the details you just changed in the shortcut by clicking OK
  26. 13. Now open your P2Pool folder and find run_p2pool.exe , highlight it and right click and again Send To Desktop > Create Shortcut
  27. 13 1/2. If CGMiner reports lowered performance with SDK 2.6 you need to downgrade to SDK 2.5 to do this first..
  28.  
  29. Go to Control Panel > Add Remove Programs (on Windows XP)
  30. or Programs and Features (Windows Vista/7)
  31.  
  32. Organize Alphabeticly by selecting the Name Arrow until it is facing UP
  33.  
  34. Select AMD Catalyst Install Manager and click Change
  35.  
  36. Click Next when the window comes up
  37.  
  38. Choose Uninstall Manager
  39.  
  40. Check All AMD APP/SDK Names in the list LEAVE everything else!
  41.  
  42. Select Next to uninstall AMD SDK 2.6
  43.  
  44. Once AMD SDK 2.6 is fully uninstalled you need to downgrade to AMD SDK 2.5 to do this..
  45.  
  46. Download AMD SDK 2.5
  47.  
  48. @ http://developer.amd.com/Downloads/AMD-APP-SDK-v2.5-Windows-32.exe (32 bit)
  49.                      
  50. @ http://developer.amd.com/Downloads/AMD-APP-SDK-v2.5-Windows-64.exe (64 bit)
  51.  
  52. Install either the 32 bit or 64 bit AMD SDK 2.5
  53.  
  54. Once the install is finished you need to make sure you ACTUALLY have the AMD SDK 2.5 files to do this is quite simply thanks to ssateneth for providing a direct download link package of all the files :)
  55.  
  56. Download AMD SDK 2.5 Files @ http://dl.dropbox.com/u/9768004/AMD-APP-SDK-v2.5.rar
  57.  
  58. Now simply copy and paste the following files overwriting the previous ones
  59.  
  60. For Windows 32 Bit you want to copy/paste the following files from ssateneth's AMD-APP-SDK-v2.5.rar over top the ones that are currently installed.
  61.  
  62. C:\Windows\System32\amdocl64.dll
  63. C:\Windows\System32\amdoclcl64.dll
  64. C:\Windows\System32\OpenCL.dll
  65.  
  66. For Windows 64 bit you want to copy/paste the following files from ssateneth's AMD-APP-SDK-v2.5.rar over top the ones that are currently installed.
  67.  
  68. C:\Windows\System32\amdocl64.dll
  69. C:\Windows\System32\amdoclcl64.dll
  70. C:\Windows\System32\OpenCL.dll
  71. C:\Windows\SysWOW64\amdocl.dll
  72. C:\Windows\SysWOW64\amdoclcl.dll
  73. C:\Windows\SysWOW64\OpenCL.dll
  74.  
  75. Now it's time to rebuild your CGMiner Kernel to do this go into your CGMiner folder and delete the only *.bin there
  76.  
  77. For my AMD Radeon HD 6570s the file is phatk120213Turksbitalignv2w128long4.bin
  78.  
  79. It differs for every Video Card / GPU but will be the ONLY *.bin files in your CGMiner folder
  80.  
  81. Once this file is deleted and all wen't well CGMiner should not display the Low Performance error anymore and it should go ahead and instantly rebuild the new kernel thus giving you back your normal hashrate and much improved performance.
  82.  
  83. 14. Now run your CGMiner Shortcut.
  84. 15. Now run your P2Pool Shortcut.
  85. 16. If all wen't well you should now be mining Bitcoins on P2Pool.
  86.  
  87. Cheers,
  88.  
  89. SupaDupaJenkins
  90.  
  91. If this guide helped you Please Donate @ 1qTYaQjYw7yAxbBoKb4qXaMh7QVYnAHuy (Bitcoin)
clone this paste RAW Paste Data