Bitcoin Forum
September 16, 2019, 01:39:21 PM *
News: If you like a topic and you see an orange "bump" link, click it. More info.
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [GUILD][P2POOL][STEP by STEP] SETUP YOUR OWN P2POOL for DOGE, WDC etc. Win7!!!!!  (Read 4178 times)
kylejustknows
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
January 19, 2014, 02:44:14 PM
 #1

Hey Guys

We see that all pools suffer DDOS all the time. If you feel difficult to find a solid pool, why not setup a p2pool on your own pc for altcoins?

There are few guilds that show you how to do it, but I find those complicated and outdated.  Today is Jan-20-2014.

Since there are lots of people asking this, Im gonna show you how to do it in few steps

YOU NEED MEDIUM-HIGH COMPUTER SKILL TO CONTINUE!




STEPS (Dogecoin for example) :



1, Go to https://github.com/Rav3nPL/p2pool-rav  , click "Download Zip" on the right side of the page.  Unzip it somewhere.



2, Scroll Down that page, you will see "Requirements" section.  Install everything that listed under Windows system. The default location to install all those packages should be "C:\Python27\Lib\site-packages" except Python itself.



3, There is one more package you need to download, its GCC 4.3.3 you can download and install from here: https://github.com/develersrl/gccwinbinaries



4, Going to the folder you unzipped in STEP 1, Going into a subfolder called "litecoin_scrypt", then in cmd window, run this:

   setup.py build --compile=mingw32 install

   Note1, Yes, you can run .py file like a .exe after you installing python. Make sure you run command line IN THAT SUBFOLDER!! (there is another setup.py in root folder, don't mess up!)
   Note2, Computer environment are different. If you see a error, google it. Most errors are because of your windows missing some "plugins". Find it and download it!



5, Run Dogecoin wallet  with  username and password  in "dogecoin.conf" . Don't change the default prc ports.



6, Going to the folder you unzip in STEP1, in command line run this:
    
    run_p2pool.py --net dogecoin username password

    p2pool.py will link with your wallet. you will see a window scrolling thousands of words non stop.... means your dogecoin p2pool is running! Congrass!  



7, Job done!!  run  cgminer.exe  -o 127.0.0.1:9555 -u anything -p anything.
    Make sure your router/modem has uPnP, otherwise forward port 8555.
(Q: how you know the port is 9555 and 8555? What are the ports for other altcoins? A: take a look at the network.py file, everything is in there)




It took me DAYS to find out those steps!
It takes you minutes to donate me: (well, i am told i will be disappointed.... Cry Cry Cry )

DogeCoin: D8YR7Mr9R9MGawK6ZsJsDP1dZ3kixnBZoD
WorldCoin: Wh9RmWFcj6fv5vpgjaA8fBjdt2rNBWrWoK
Bitcoin: 1PqXKJbFqtdLuZwzjyiWjg8ByeieTfRWNt



I wish this guild can greatly improve altcoin mining environment.
I hope that coin makers could make a build-in p2pool as part of the released wallets.
1568641161
Hero Member
*
Offline Offline

Posts: 1568641161

View Profile Personal Message (Offline)

Ignore
1568641161
Reply with quote  #2

1568641161
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1568641161
Hero Member
*
Offline Offline

Posts: 1568641161

View Profile Personal Message (Offline)

Ignore
1568641161
Reply with quote  #2

1568641161
Report to moderator
CartmanSPC
Legendary
*
Offline Offline

Activity: 1270
Merit: 1000



View Profile
January 28, 2014, 11:08:22 PM
 #2

Nice thread...although it should be mentioned that the current subsidy function on the doge p2pool is incorrect. This will result in blocks occasionally being found that are less than they could be. Also, Rav3nPL's code is outdated for some of the coins (WDC being one of them). When coin specs change p2pool has to be changed to accommodate.


btcshop
Hero Member
*****
Offline Offline

Activity: 644
Merit: 500



View Profile
January 29, 2014, 01:10:07 AM
 #3

Can you write a guide under linux?
Thanks!
cert889
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 02, 2014, 01:54:19 AM
 #4

excuse me, I follow the guide step by step, however, it pops error msg at step 6. as follows:

c:\Python27\p2pool-rav-master>run_p2pool.py --net dogecoin cert889 kdjaf-nviajurDkjgmaDFADlkfm.fmg._oioe3r54tr
jtmmvfcv-22r --give-author 0
Traceback (most recent call last):
  File "C:\Python27\p2pool-rav-master\run_p2pool.py", line 3, in <module>
    from p2pool import main
  File "C:\Python27\p2pool-rav-master\p2pool\main.py", line 25, in <module>
    from . import networks, web, work
  File "C:\Python27\p2pool-rav-master\p2pool\web.py", line 12, in <module>
    from twisted.web import resource, static
  File "C:\Python27\lib\site-packages\twisted\web\static.py", line 151, in <module>
    class File(resource.Resource, styles.Versioned, filepath.FilePath):
  File "C:\Python27\lib\site-packages\twisted\web\static.py", line 171, in File
    contentTypes = loadMimeTypes()
  File "C:\Python27\lib\site-packages\twisted\web\static.py", line 121, in loadMimeTypes
    init(mimetype_locations)
  File "C:\Python27\lib\mimetypes.py", line 358, in init
    db.read_windows_registry()
  File "C:\Python27\lib\mimetypes.py", line 258, in read_windows_registry
    for subkeyname in enum_types(hkcr):
  File "C:\Python27\lib\mimetypes.py", line 249, in enum_types
    ctype = ctype.encode(default_encoding) # omit in 3.x!
UnicodeDecodeError: 'ascii' codec can't decode byte 0xaa in position 1: ordinal not in range(128)

Could you plz tell me how to fix this? thanks a lot!!
iru786
Full Member
***
Offline Offline

Activity: 224
Merit: 100



View Profile
March 03, 2014, 08:46:40 AM
 #5

You need to install python for windows extension from here http://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/
Hueristic
Legendary
*
Offline Offline

Activity: 2114
Merit: 1233


Doomed to see the future and unable to prevent it


View Profile
March 21, 2014, 01:48:33 AM
 #6

Add conf file settings needed to op plz.

I'm getting this error...

Code:
2014-03-20 21:35:53.935000 Testing bitcoind P2P connection to '127.0.0.1:22556'.
..
2014-03-20 21:35:53.979000     ...success!
2014-03-20 21:35:53.981000
2014-03-20 21:35:53.982000 Determining payout address...
2014-03-20 21:35:53.983000     Getting payout address from bitcoind...
2014-03-20 21:35:54.343000     ...success! Payout address: *** Correct Address here ***
2014-03-20 21:35:54.344000
2014-03-20 21:35:54.345000 Loading shares...
2014-03-20 21:35:54.346000     ...done loading 0 shares (0 verified)!
2014-03-20 21:35:54.348000
2014-03-20 21:35:54.348000 Initializing work...
2014-03-20 21:35:54.444000 > Unhandled error in Deferred:
2014-03-20 21:35:54.446000 > Unhandled Error
2014-03-20 21:35:54.447000 > Traceback (most recent call last):
2014-03-20 21:35:54.448000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 382, in callback
2014-03-20 21:35:54.449000 >     self._startRunCallbacks(result)
2014-03-20 21:35:54.449000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 490, in _startRunCallbacks
2014-03-20 21:35:54.450000 >     self._runCallbacks()
2014-03-20 21:35:54.452000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 577, in _runCallbacks
2014-03-20 21:35:54.453000 >     current.result = callback(current.result, *args
, **kw)
2014-03-20 21:35:54.454000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1155, in gotResult
2014-03-20 21:35:54.455000 >     _inlineCallbacks(r, g, deferred)
2014-03-20 21:35:54.455000 > --- <exception caught here> ---
2014-03-20 21:35:54.456000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1099, in _inlineCallbacks
2014-03-20 21:35:54.457000 >     result = g.send(result)
2014-03-20 21:35:54.457000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 218, in poll_header
2014-03-20 21:35:54.458000 >     handle_header((yield self.factory.conn.value.ge
t_block_header(self.bitcoind_work.value['previous_block'])))
2014-03-20 21:35:54.459000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 200, in handle_header
2014-03-20 21:35:54.460000 >     if not (self.net.PARENT.POW_FUNC(bitcoin_data.b
lock_header_type.pack(new_header)) <= self.bitcoind_work.value['bits'].target):
2014-03-20 21:35:54.461000 >   File "C:\Mining\p2pool-rav-master\p2pool\bitcoin\
networks.py", line 386, in <lambda>
2014-03-20 21:35:54.462000 >     POW_FUNC=lambda data: pack.IntType(256).unpack(
__import__('ltc_scrypt').getPoWHash(data)),
2014-03-20 21:35:54.465000 > exceptions.ImportError: DLL load failed: %1 is not
a valid Win32 application.
2014-03-20 21:35:54.469000 > Error while requesting best block header:
2014-03-20 21:35:54.470000 > Traceback (most recent call last):
2014-03-20 21:35:54.471000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 577, in _runCallbacks
2014-03-20 21:35:54.472000 >     current.result = callback(current.result, *args
, **kw)
2014-03-20 21:35:54.473000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1155, in gotResult
2014-03-20 21:35:54.473000 >     _inlineCallbacks(r, g, deferred)
2014-03-20 21:35:54.474000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1097, in _inlineCallbacks
2014-03-20 21:35:54.475000 >     result = result.throwExceptionIntoGenerator(g)
2014-03-20 21:35:54.477000 >   File "C:\Python27\lib\site-packages\twisted\pytho
n\failure.py", line 389, in throwExceptionIntoGenerator
2014-03-20 21:35:54.477000 >     return g.throw(self.type, self.value, self.tb)
2014-03-20 21:35:54.478000 > --- <exception caught here> ---
2014-03-20 21:35:54.478000 >   File "C:\Mining\p2pool-rav-master\p2pool\util\def
erral.py", line 41, in f
2014-03-20 21:35:54.479000 >     result = yield func(*args, **kwargs)
2014-03-20 21:35:54.480000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1099, in _inlineCallbacks
2014-03-20 21:35:54.480000 >     result = g.send(result)
2014-03-20 21:35:54.481000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 218, in poll_header
2014-03-20 21:35:54.481000 >     handle_header((yield self.factory.conn.value.ge
t_block_header(self.bitcoind_work.value['previous_block'])))
2014-03-20 21:35:54.483000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 200, in handle_header
2014-03-20 21:35:54.486000 >     if not (self.net.PARENT.POW_FUNC(bitcoin_data.b
lock_header_type.pack(new_header)) <= self.bitcoind_work.value['bits'].target):
2014-03-20 21:35:54.489000 >   File "C:\Mining\p2pool-rav-master\p2pool\bitcoin\
networks.py", line 386, in <lambda>
2014-03-20 21:35:54.490000 >     POW_FUNC=lambda data: pack.IntType(256).unpack(
__import__('ltc_scrypt').getPoWHash(data)),
2014-03-20 21:35:54.491000 > exceptions.ImportError: DLL load failed: %1 is not
a valid Win32 application.
2014-03-20 21:35:57.572000 > Error while requesting best block header:
2014-03-20 21:35:57.573000 > Traceback (most recent call last):
2014-03-20 21:35:57.575000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 577, in _runCallbacks
2014-03-20 21:35:57.589000 >     current.result = callback(current.result, *args
, **kw)
2014-03-20 21:35:57.591000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1155, in gotResult
2014-03-20 21:35:57.592000 >     _inlineCallbacks(r, g, deferred)
2014-03-20 21:35:57.592000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1097, in _inlineCallbacks
2014-03-20 21:35:57.593000 >     result = result.throwExceptionIntoGenerator(g)
2014-03-20 21:35:57.593000 >   File "C:\Python27\lib\site-packages\twisted\pytho
n\failure.py", line 389, in throwExceptionIntoGenerator
2014-03-20 21:35:57.594000 >     return g.throw(self.type, self.value, self.tb)
2014-03-20 21:35:57.595000 > --- <exception caught here> ---
2014-03-20 21:35:57.595000 >   File "C:\Mining\p2pool-rav-master\p2pool\util\def
erral.py", line 41, in f
2014-03-20 21:35:57.596000 >     result = yield func(*args, **kwargs)
2014-03-20 21:35:57.597000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1099, in _inlineCallbacks
2014-03-20 21:35:57.598000 >     result = g.send(result)
2014-03-20 21:35:57.598000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 218, in poll_header
2014-03-20 21:35:57.599000 >     handle_header((yield self.factory.conn.value.ge
t_block_header(self.bitcoind_work.value['previous_block'])))
2014-03-20 21:35:57.600000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 200, in handle_header
2014-03-20 21:35:57.601000 >     if not (self.net.PARENT.POW_FUNC(bitcoin_data.b
lock_header_type.pack(new_header)) <= self.bitcoind_work.value['bits'].target):
2014-03-20 21:35:57.601000 >   File "C:\Mining\p2pool-rav-master\p2pool\bitcoin\
networks.py", line 386, in <lambda>
2014-03-20 21:35:57.602000 >     POW_FUNC=lambda data: pack.IntType(256).unpack(
__import__('ltc_scrypt').getPoWHash(data)),
2014-03-20 21:35:57.603000 > exceptions.ImportError: DLL load failed: %1 is not
a valid Win32 application.
2014-03-20 21:36:00.693000 > Error while requesting best block header:
2014-03-20 21:36:00.694000 > Traceback (most recent call last):
2014-03-20 21:36:00.695000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 577, in _runCallbacks
2014-03-20 21:36:00.697000 >     current.result = callback(current.result, *args
, **kw)
2014-03-20 21:36:00.698000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1155, in gotResult
2014-03-20 21:36:00.699000 >     _inlineCallbacks(r, g, deferred)
2014-03-20 21:36:00.701000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1097, in _inlineCallbacks
2014-03-20 21:36:00.704000 >     result = result.throwExceptionIntoGenerator(g)
2014-03-20 21:36:00.705000 >   File "C:\Python27\lib\site-packages\twisted\pytho
n\failure.py", line 389, in throwExceptionIntoGenerator
2014-03-20 21:36:00.705000 >     return g.throw(self.type, self.value, self.tb)
2014-03-20 21:36:00.706000 > --- <exception caught here> ---
2014-03-20 21:36:00.706000 >   File "C:\Mining\p2pool-rav-master\p2pool\util\def
erral.py", line 41, in f
2014-03-20 21:36:00.707000 >     result = yield func(*args, **kwargs)
2014-03-20 21:36:00.707000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1099, in _inlineCallbacks
2014-03-20 21:36:00.708000 >     result = g.send(result)
2014-03-20 21:36:00.709000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 218, in poll_header
2014-03-20 21:36:00.709000 >     handle_header((yield self.factory.conn.value.ge
t_block_header(self.bitcoind_work.value['previous_block'])))
2014-03-20 21:36:00.710000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 200, in handle_header
2014-03-20 21:36:00.713000 >     if not (self.net.PARENT.POW_FUNC(bitcoin_data.b
lock_header_type.pack(new_header)) <= self.bitcoind_work.value['bits'].target):
2014-03-20 21:36:00.714000 >   File "C:\Mining\p2pool-rav-master\p2pool\bitcoin\
networks.py", line 386, in <lambda>
2014-03-20 21:36:00.714000 >     POW_FUNC=lambda data: pack.IntType(256).unpack(
__import__('ltc_scrypt').getPoWHash(data)),
2014-03-20 21:36:00.715000 > exceptions.ImportError: DLL load failed: %1 is not
a valid Win32 application.
2014-03-20 21:36:03.787000 > Error while requesting best block header:
2014-03-20 21:36:03.788000 > Traceback (most recent call last):
2014-03-20 21:36:03.789000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 577, in _runCallbacks
2014-03-20 21:36:03.789000 >     current.result = callback(current.result, *args
, **kw)
2014-03-20 21:36:03.790000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1155, in gotResult
2014-03-20 21:36:03.791000 >     _inlineCallbacks(r, g, deferred)
2014-03-20 21:36:03.791000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1097, in _inlineCallbacks
2014-03-20 21:36:03.795000 >     result = result.throwExceptionIntoGenerator(g)
2014-03-20 21:36:03.797000 >   File "C:\Python27\lib\site-packages\twisted\pytho
n\failure.py", line 389, in throwExceptionIntoGenerator
2014-03-20 21:36:03.799000 >     return g.throw(self.type, self.value, self.tb)
2014-03-20 21:36:03.799000 > --- <exception caught here> ---
2014-03-20 21:36:03.800000 >   File "C:\Mining\p2pool-rav-master\p2pool\util\def
erral.py", line 41, in f
2014-03-20 21:36:03.800000 >     result = yield func(*args, **kwargs)
2014-03-20 21:36:03.801000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1099, in _inlineCallbacks
2014-03-20 21:36:03.802000 >     result = g.send(result)
2014-03-20 21:36:03.802000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 218, in poll_header
2014-03-20 21:36:03.804000 >     handle_header((yield self.factory.conn.value.ge
t_block_header(self.bitcoind_work.value['previous_block'])))
2014-03-20 21:36:03.804000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 200, in handle_header
2014-03-20 21:36:03.805000 >     if not (self.net.PARENT.POW_FUNC(bitcoin_data.b
lock_header_type.pack(new_header)) <= self.bitcoind_work.value['bits'].target):
2014-03-20 21:36:03.806000 >   File "C:\Mining\p2pool-rav-master\p2pool\bitcoin\
networks.py", line 386, in <lambda>
2014-03-20 21:36:03.808000 >     POW_FUNC=lambda data: pack.IntType(256).unpack(
__import__('ltc_scrypt').getPoWHash(data)),
2014-03-20 21:36:03.808000 > exceptions.ImportError: DLL load failed: %1 is not
a valid Win32 application.
2014-03-20 21:36:06.812000 > Error while requesting best block header:
2014-03-20 21:36:06.812000 > Traceback (most recent call last):
2014-03-20 21:36:06.813000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 577, in _runCallbacks
2014-03-20 21:36:06.814000 >     current.result = callback(current.result, *args
, **kw)
2014-03-20 21:36:06.815000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1155, in gotResult
2014-03-20 21:36:06.816000 >     _inlineCallbacks(r, g, deferred)
2014-03-20 21:36:06.816000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1097, in _inlineCallbacks
2014-03-20 21:36:06.817000 >     result = result.throwExceptionIntoGenerator(g)
2014-03-20 21:36:06.817000 >   File "C:\Python27\lib\site-packages\twisted\pytho
n\failure.py", line 389, in throwExceptionIntoGenerator
2014-03-20 21:36:06.818000 >     return g.throw(self.type, self.value, self.tb)
2014-03-20 21:36:06.819000 > --- <exception caught here> ---
2014-03-20 21:36:06.819000 >   File "C:\Mining\p2pool-rav-master\p2pool\util\def
erral.py", line 41, in f
2014-03-20 21:36:06.820000 >     result = yield func(*args, **kwargs)
2014-03-20 21:36:06.820000 >   File "C:\Python27\lib\site-packages\twisted\inter
net\defer.py", line 1099, in _inlineCallbacks
2014-03-20 21:36:06.821000 >     result = g.send(result)
2014-03-20 21:36:06.821000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 218, in poll_header
2014-03-20 21:36:06.822000 >     handle_header((yield self.factory.conn.value.ge
t_block_header(self.bitcoind_work.value['previous_block'])))
2014-03-20 21:36:06.824000 >   File "C:\Mining\p2pool-rav-master\p2pool\node.py"
, line 200, in handle_header
2014-03-20 21:36:06.827000 >     if not (self.net.PARENT.POW_FUNC(bitcoin_data.b
lock_header_type.pack(new_header)) <= self.bitcoind_work.value['bits'].target):
2014-03-20 21:36:06.829000 >   File "C:\Mining\p2pool-rav-master\p2pool\bitcoin\
networks.py", line 386, in <lambda>
2014-03-20 21:36:06.829000 >     POW_FUNC=lambda data: pack.IntType(256).unpack(
__import__('ltc_scrypt').getPoWHash(data)),
2014-03-20 21:36:06.830000 > exceptions.ImportError: DLL load failed: %1 is not
a valid Win32 application.

I have no clue whats up with these errors. Googlefu failed me as well.

Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!