Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: ElectricMucus on July 24, 2012, 10:55:47 PM



Title: Quick pack to set up P2POOL for LTC on Windows
Post by: ElectricMucus on July 24, 2012, 10:55:47 PM
Using p2pool is a bit of work, especially with Windows I have done it and thought I spare you all some time helping those out who want to.
I created a quick pack which does the installation for you, right now it includes binaries for litcoin_script and cgminer, this will change in the future.

It *should* work, although keep in mind that you are using it at your own risk!

Mining on p2pool has the following advantages:
  • resilience against DDOS attacks
  • less chance of being scammed by corrupt pool operators
  • mined balance shows up as "mined" just like with solo mining
  • way cooler than any other way of mining 8)

First you have to make sure you have the right configuration options in your litecoin.conf file:

(It can be found in %AppData%\Litecoin)
Add the following lines to it:
Code:
#Those can be anything you like you have to use them again when configuring you miner but you have to write something there.
rpcuser=
rpcpassword=

#It is recommended that you add these too in order to not conflict with bitcoin p2pool or solo mining.
rpcport=10332
port=10333

#Finally enable the client to act as daemon/server.
daemon=1
server=1

install Python if you not already have it: (use Python2.7 32Bit be sure to check the directory if you are using another)
http://www.python.org/download/
install Twisted (dependency required by p2pool)
http://twistedmatrix.com/trac/

Next is the package I created. This include some batch files which help you with the process.
setup.bat opens notepad with all the necessary files you need to edit. This includes the mine.bat file which start p2pool and cgminer. Edit the commandline to your liking. It installs the egg for zope-interface and finally it opens the directory where you place the litecoin.conf.
You could drag it over from the included example or edit it yourself. (see above)

Github: you can get it over git or download the zipfile
https://github.com/ElectricMucus/ltcp2oolscryptpack

current zipfile is also available here:
http://www.mediafire.com/?20yx748meykjhx9

Next steps *coming soon* are optimal if you like to compile p2pool litecoin_scrypt yourself but still recommended (you would have to trust me on the binary)
For those who want to know you need a older version of mingw in order to compile litecoin_scrypt I used: mingw-get-inst-20101030.exe
I will try to automate building cgminer too in the future. (Once I figure it out)

More documentation and a some sore of guide... *coming soon*




Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: i_rape_bitcoins on July 24, 2012, 11:00:05 PM
Hmm, I think he can just DDoS all the major P2Pool nodes (I doubt there are many in Litecoin) and get them null routed by the hosting provider.

;D ;D ;D


Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: ElectricMucus on July 24, 2012, 11:10:39 PM
You clearly don't understand how p2pool works.

It's a genuine p2p network there are not "major nodes"


Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: i_rape_bitcoins on July 24, 2012, 11:12:25 PM
You clearly don't understand how p2pool works.

It's a genuine p2p network there are not "major nodes"

Most people are too lazy to setup P2Pool for themselves, instead they go mine at an P2Pool that's already setup.


Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: ElectricMucus on July 24, 2012, 11:15:39 PM
You clearly don't understand how p2pool works.

It's a genuine p2p network there are not "major nodes"

Most people are too lazy to setup P2Pool for themselves, instead they go mine at an P2Pool that's already setup.

Not with LTC, and that's exactly what's this is all about, now the work has been reduced to like 5 minutes  (including adding the router ip forwarding) ;D


Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: DiCE1904 on July 25, 2012, 02:16:31 AM
thank you!


Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: BlackBison on July 25, 2012, 03:46:57 PM
thanks alot. gotta bump this so people can see it amongst all this BCX horseshit


Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: LewiesMan on August 18, 2012, 11:02:42 AM
Thank You! This Will Make Things Easier!


Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: nightwolf92 on April 13, 2013, 12:09:58 AM
has this been updated or changed at all?
also BUMP to see if someone can update it if it isnt..


Title: Re: Quick pack to set up P2POOL for LTC on Windows
Post by: ElectricMucus on April 13, 2013, 12:26:11 AM
I'm sorry I did quit using windows.

You have permission to modify and distribute this in any way you like. I will answer any questions you have as long as I remember what I did with it.
it should work if you simply update the software in the representative folders.