Author Topic: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)  (Read 29446 times)

SupaDupaJenkins

  • Guest
Here's the latest Guide for you guys :D

SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows) *UPDATED February 20th 2013*:
_____________________________________________________________________________________________
   
1. Download P2Pool @ http://u.forre.st/u/rliakpxs/p2pool_win32_11.2.zip (11.2) *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 9.4) * Fixed inefficient memory usage - Resident memory went from 736MB to 266MB for Diablo-D3 *Changes: (in 11.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
2. Download ScryptMiner @ http://www.mediafire.com/?0g2wi33437dawbs
3. Download Litecoin Client @ https://github.com/downloads/litecoin-project/litecoin/litecoin-0.6.3c-win32-setup.exe
4. Extract P2Pool to it's own folder.
5. Extract ScryptMiner to it's own folder.
6. Install the Litecoin Client (Wallet) Software.
7. Once you have downloaded the full Litecoin block chain go into C:\Users\[Your User Account]\AppData\Roaming\Litecoin and make a litecoin.conf file add the following on a seperate line.. it should look like this..
   
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!
   
rpcuser=user
rpcpassword=password
server=1
   
7 1/2. Exit and Re-Open your Litecoin client for the litecoin.conf to enable
7 3/4. If your Litecoin Client is crashing while using the Litecoin RPC Server I will be updating this guide with info on how to use the Litecoin Daemon instead (This Doesn't Crash your Litecoin Client) (I'm currently going on 6+ hours without my Litecoin Client crashing using the Litecoin RPC Server).
8. Save the litecoin.conf file as "All Files/Types" in notepad and make sure the extension is .conf if it's .conf.txt that will not work it has to be litecoin.conf with that information EXACTLY like it's formatted
9. Now go into your P2Pool folder , highlight run_p2pool.exe , right click and Send To Desktop > Create Shortcut
10. Go onto your Desktop where the shortcut to run_p2pool.exe is , right click and go to properties , under target go to the very end , put a space and --net litecoin user password
   
it should look like this..
   
run_p2pool.exe" --net litecoin user password
   
11. Now go into your ScryptMiner folder and find ScryptMiner.exe open it and you will see the ScryptMiner GUi.
   
Enter the following in the fields
   
RPC Server: http://127.0.0.1
Port: 9327
User: [Whatever you want]
Password: [Whatever you want]
   
11 1/2. *EXTRA HASHRATE: If you want some additional hashrate and to limit the amount of stales you can replace the current cpuminer files with Pooler's CPUMiner (minerd)
   
11. 2/3 *EXTRA EXTRA HASHRATE: To reduce stress on your CPU it's advised to always be using minerd.exe in Low Priority to do this..
   
Press Alt + Ctrl + Delete on your Keyboard and Choose Start Task Manager
   
Go to processes and find your "minerd.exe" process
   
Right Click on it and go Set Priority > Low
   
11 3/4 *EXTRA EXTRA 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..
   
Well 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.
   
   
A warning will come up stating the process could become unstable there is no issue with using this fix from what I've seen but if your system starts to become unstable when using this fix IMMEDIATELY stop using it!
   
To do this simply copy over the files in the ScryptMiner folder with the ones from Pooler's CPUMiner (minerd)
   
Windows x86 (32 Bit): https://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3-win32.zip
Windows x64 (64 Bit): https://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3-win64.zip
*LARGE SPEED IMPROVEMENT on Pooler's CPUMiner 2.1.5 and up "The speedup should range from 25% for Intel to 45% for AMD, but only in 64-bit mode"
   
*NOTE: If you prefer to use JUST Pooler's CPUMiner 2.2.3 you can use it through commandline to do this..
   
Download Pooler's CPUMiner 2.2.3 (32 bit) and Pooler's CPUMiner 2.2.3 (64 bit)
@ https://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3-win32.zip  (32 bit)
@ https://github.com/downloads/pooler/cpuminer/pooler-cpuminer-2.2.3-win64.zip (64 bit)
   
Extract Pooler's CPUMiner 2.2.3 (32 bit) or Pooler's CPUMiner 2.2.3 (64 bit) to a folder.
   
Open your Pooler's CPU Miner 2.2.3 (32 bit) folder or Pooler's CPU Miner 2.2.3 (64bit) folder and find the file "minerd.exe" right click this file and select Send To > Desktop Create Shortcut
   
Find the shortcut to minerd.exe on your Desktop right click it and go to Properties.
   
In the "Target" field go to the very end of the line add a space and enter the following it should look like this
   
minerd.exe -o http://127.0.0.1:9327 -u user -p password
   
Now your shortcut is made click OK to save it and close Properties Screen for your Litecoin P2Pool minerd.exe shortcut
   
 "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 "
   
11 4/5. Make sure your Litecoin client is still open if it's not reopen it , your Litecoin client needs to be open for P2Pool to have access to the Litecoin RPC Server.
11 5/6. I will add to the guide with info on how to use the Litecoin Daemon instead of the Litecoin RPC Server soon.
12. Hit Start Mining or Double Click your Litecoin P2Pool minerd.exe shortcut
13. If all goes well you should be mining Litecoins on P2Pool.
   
Cheers,
   
SupaDupa

Mod edit: Updated this post from: http://forum.litecoin.net/index.php/topic,57.msg7888.html#msg7888
« Last Edit: March 30, 2013, 07:46:39 PM by HauntingShade »

Offline DiCE1904

  • Full Member
  • ***
  • Donator
  • ***
  • Posts: 444
  • legit
    • LTCDice
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #1 on: August 05, 2012, 06:48:03 AM »
great guide SupaDupaJenkins!

SupaDupaJenkins

  • Guest
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #2 on: August 05, 2012, 07:30:29 AM »
thanks very much ;D
« Last Edit: August 05, 2012, 07:32:12 AM by SupaDupaJenkins »

Offline litecoinNoob

  • Jr. Member
  • **
  • Posts: 23
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #3 on: August 19, 2012, 09:09:27 PM »
Hi,

I have previously mined BTC but recently become interested in LTC.  I followed your instructions to download the client and miner, however, when I double click on the client I get the following error:

Error loading Bklindex.dat

Can anyone tell me how to resolve the issue?

Many thanks

LTC:  LdjtJFjKdUJb6BpMmfvRY3H87ES5LJwXUm
BTC:  1HUfLQTbPWSfNWzu2kpzdnLPUBAq1wx3Jt

TWITTER: Bitcoinaddict@Bitcoinpro

Pyramining: http://www.pyramining.com/referral/fksqm4cz3

Offline Greedi

  • Sr. Member
  • ****
  • Posts: 617
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #4 on: August 19, 2012, 09:25:07 PM »
Hi,

I have previously mined BTC but recently become interested in LTC.  I followed your instructions to download the client and miner, however, when I double click on the client I get the following error:

Error loading Bklindex.dat

Can anyone tell me how to resolve the issue?

Many thanks

if its a freash install, try go into appdata/Roaming and delete the folder litecoin, and close the client, and open again, should begin download blocks then
Show your support -> Sea Shepherds

Offline litecoinNoob

  • Jr. Member
  • **
  • Posts: 23
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #5 on: August 20, 2012, 06:54:05 PM »
That worked.  Downloading block chain now.  Many thanks.

Another stupid question- If I use the miner in the client, will it just solo mine on the CPU?  Can I do this at the same time as mining BTC on my GPU using GUIMiner?
LTC:  LdjtJFjKdUJb6BpMmfvRY3H87ES5LJwXUm
BTC:  1HUfLQTbPWSfNWzu2kpzdnLPUBAq1wx3Jt

TWITTER: Bitcoinaddict@Bitcoinpro

Pyramining: http://www.pyramining.com/referral/fksqm4cz3

Offline Greedi

  • Sr. Member
  • ****
  • Posts: 617
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #6 on: August 20, 2012, 07:07:15 PM »
That worked.  Downloading block chain now.  Many thanks.

Another stupid question- If I use the miner in the client, will it just solo mine on the CPU?  Can I do this at the same time as mining BTC on my GPU using GUIMiner?

no question is stupid, we all started at this point :)

if you use the client to mine, it can both solo mine or pool mine.
and yes, you can mine LTC on your CPU, while you're mining BTC on your GPU :), that was the first point of Litecoin :)

i'll suggest you using Pooler's minerd, that alot better and faster, maybe use this guide to set it up :)
http://forum.litecoin.net/index.php/topic,67.0.html
Show your support -> Sea Shepherds

Offline litecoinNoob

  • Jr. Member
  • **
  • Posts: 23
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #7 on: August 20, 2012, 07:50:26 PM »
Thats great.  Once again, many thanks.  Ill take a look at the guide and set it up once the block chain has downloaded.
LTC:  LdjtJFjKdUJb6BpMmfvRY3H87ES5LJwXUm
BTC:  1HUfLQTbPWSfNWzu2kpzdnLPUBAq1wx3Jt

TWITTER: Bitcoinaddict@Bitcoinpro

Pyramining: http://www.pyramining.com/referral/fksqm4cz3

Offline Greedi

  • Sr. Member
  • ****
  • Posts: 617
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #8 on: August 20, 2012, 08:11:37 PM »
Thats great.  Once again, many thanks.  Ill take a look at the guide and set it up once the block chain has downloaded.

may i ask what you're totally speed is?, since if you're only gonna mine with you're CPU, it can take a while to mine solo :)

may i suggest joinning this pool: Notroll.in, this is the pool is use my self :)
Show your support -> Sea Shepherds

Offline litecoinNoob

  • Jr. Member
  • **
  • Posts: 23
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #9 on: August 20, 2012, 08:20:21 PM »
I will definately join a pool when I can get the thing set up.  At present it doesnt seem to want to run.  Ive downloaded minerd and put it in the same folder as minerdeasy.  Gone through all the steps as shown in the guide.  The command line loads but just hangs.
LTC:  LdjtJFjKdUJb6BpMmfvRY3H87ES5LJwXUm
BTC:  1HUfLQTbPWSfNWzu2kpzdnLPUBAq1wx3Jt

TWITTER: Bitcoinaddict@Bitcoinpro

Pyramining: http://www.pyramining.com/referral/fksqm4cz3

Offline litecoinNoob

  • Jr. Member
  • **
  • Posts: 23
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #10 on: August 20, 2012, 09:01:07 PM »
I can now solo mine on the client at 3400 hash per second.  Not great I know, however, I cant seem to get any other miner to work.  I calso cant seem to pool mine on the client.  I dont want to use my GPU as i am BTC mining with it.

I may try a different pool, although its getting late so it may have to wait until tomorrow.  Thanks for the help though. 
LTC:  LdjtJFjKdUJb6BpMmfvRY3H87ES5LJwXUm
BTC:  1HUfLQTbPWSfNWzu2kpzdnLPUBAq1wx3Jt

TWITTER: Bitcoinaddict@Bitcoinpro

Pyramining: http://www.pyramining.com/referral/fksqm4cz3

Offline Greedi

  • Sr. Member
  • ****
  • Posts: 617
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #11 on: August 22, 2012, 07:31:55 PM »
I can now solo mine on the client at 3400 hash per second.  Not great I know, however, I cant seem to get any other miner to work.  I calso cant seem to pool mine on the client.  I dont want to use my GPU as i am BTC mining with it.

I may try a different pool, although its getting late so it may have to wait until tomorrow.  Thanks for the help though.

let me know if you need more help, it all should work, so let me know if you need my help to set things up :)
Show your support -> Sea Shepherds

Offline litecoinNoob

  • Jr. Member
  • **
  • Posts: 23
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #12 on: August 22, 2012, 09:31:29 PM »
Thanks.  I am now mining with minerd.  Still only getting 16kHash/ s on my intel i5 quad core.  Does that sound about right?   from the research Ive done it seems approx half of what it should be.  I am not sure what I should have set scan speed to, so I went for 3!
LTC:  LdjtJFjKdUJb6BpMmfvRY3H87ES5LJwXUm
BTC:  1HUfLQTbPWSfNWzu2kpzdnLPUBAq1wx3Jt

TWITTER: Bitcoinaddict@Bitcoinpro

Pyramining: http://www.pyramining.com/referral/fksqm4cz3

Offline chriswen

  • Jr. Member
  • **
  • Posts: 36
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #13 on: August 25, 2012, 03:11:59 AM »
This is exactly the guide I was looking for!!!

litecoinoob, that sounds about right.  I get max 14 kHash/s on my intel i3 quad core.  But, I usually just use 3 cores.

And for scan speed I used the default 5.  What's the recommended setting when using p2pool?

Offline chriswen

  • Jr. Member
  • **
  • Posts: 36
Re: [GUiDE] SupaDupa's Noob Guide to Litecoin P2Pool Mining (Windows)
« Reply #14 on: August 25, 2012, 03:28:40 AM »
I have a small problem.  The web pages aren't working.  They open but, no data is there.  Everything else seems fine.