Author Topic: How to setup Groestlcoin p2pool Node on Windows  (Read 7979 times)

Offline jackielove4u

  • Administrator
  • Sr. Member
  • *****
  • Posts: 485
  • Groestlcoin
    • View Profile
How to setup Groestlcoin p2pool Node on Windows
« on: June 27, 2015, 12:07:26 pm »
Go to https://github.com/Groestlcoin/p2pool
Click download ZIP on right hand side and save the file.
Extract the zip contents to a suitable location such as C:\p2pool

Go to https://www.python.org/ftp/python/2.7.8/python-2.7.8.msi
Download 'Python 2.7.8 Windows Installer' (Do not get 64bit!)
Install Python 2.7

Go to https://twistedmatrix.com/Releases/Twisted/14.0/Twisted-14.0.2.win32-py2.7.exe
Download 'Twisted 14.0.2 for Python 2.7' (not 64bit!)
Install Twisted

Go to https://pypi.python.org/packages/2.7/z/zope.interface/zope.interface-4.1.1.win32-py2.7.exe#md5=8b36e1fcd506ac9fb325ddf1c7238b07
Download 'zope.interface-4.1.1.win32-py2.7.exe (md5)'
Install Zope

Go to https://pypi.python.org/packages/any/W/WMI/WMI-1.4.9.win32.exe#md5=31ef47dc10ff13a81a0cb8e6a98a0819
Download 'WMI-1.4.9.win32.exe (md5)'
Install WMI

Go to https://github.com/develersrl/gccwinbinaries/releases
Click the green button 'gcc-mingw-4.3.3-setup.exe'
Run the installer.
Make sure to select the radio button 'Link with MSVCR90.DLL'

Go to https://sourceforge.net/projects/pywin32/files/pywin32/Build%20218/pywin32-218.win32-py2.7.exe/download
Download 'pywin32-218.win32-py2.7.exe'
Install pywin32

Open a new command prompt
CD to p2pool file save location and into the subfolder groestlcoin-subsidy-python:
cd /p2pool/groestlcoin-subsidy-python

Run the following:
setup.py build --compile=mingw32 install

If you do not already have Groestlcoin Core installed/running, create a groestlcoin.conf file using a text editor, otherwise modify your existing .conf file as shown:
cd %appdata%/groestlcoin/
notepad groestlcoin.conf

Edit groestlcoin.conf to include:
listen=1
server=1
maxconnections=873
daemon=1
rpcuser=yourusernamehere
rpcpassword=yourpasswordhere

You may also need to include your local IPv4 address for rpcallowip, depending on your system.
This may look something like rpcallowip=192.168.1.1 and can be found by using 'ipconfig' in the command line.
Please make sure the password contains both upper and lower case letters and digits or you will receive an error.

Open your groestlccoin wallet and wait for it to be fully synced (this may take some time if your wallet is new or hasn't been used for some time)

Enable uPNP on your router and ensure ports 11331 and 11330 are forwarded to your computer running the p2pool node and groestlcoin wallet (google if necessary)

cd /p2pool

Start your GRS p2pool node by running: 'run_p2pool.py'

This does not have to match your miner address - it will be used for any fees you set on your node, or for earnings from invalid addresses used by miners on your node.

EXAMPLE:
run_p2pool.py --give-author 0 -f 0 -n p2pool.groestlcoin.org:11331 -a FZ4AfMJjHNzjtMHvFR244TZf2934Y6J5Fr

The p2pool software should now be running, go to http://127.0.0.1:11330

If the miner is connected to the windows computer running p2pool, start up your miner by connecting to 127.0.0.1:11330. If your miner is on your network, but a different device, you will need to use your local IPv4 address as mentioned aboved. This might look like 192.168.1.1:11330
« Last Edit: February 10, 2018, 11:28:22 pm by jackielove4u »

 

anything