Author

Topic: P2Pool mining server (node) setup for LTC (Read 128 times)

newbie
Activity: 7
Merit: 6
June 17, 2019, 04:04:41 PM
#2
Recipe found! Using Ubuntu 18.04 LTS (https://github.com/jtoomim/p2pool/tree/1mb_segwit - main source)

My pipeline to install: (i have pre-installed python)

sudo apt-get update

sudo apt-get install pypy pypy-dev pypy-setuptools gcc build-essential git

python -m pip install --upgrade pip setuptools wheel

wget https://pypi.python.org/packages/source/z/zope.interface/zope.interface-4.1.3.tar.gz#md5=9ae3d24c0c7415deb249dd1a132f0f79

tar zxf zope.interface-4.1.3.tar.gz

cd zope.interface-4.1.3

sudo pypy setup.py install

cd ..

sudo rm -r zope.interface-4.1.3*

wget https://pypi.python.org/packages/source/T/Twisted/Twisted-15.4.0.tar.bz2

tar jxf Twisted-15.4.0.tar.bz2

cd Twisted-15.4.0

sudo pypy setup.py install

cd ..

sudo rm -r Twisted-15.4.0*

git clone https://github.com/jtoomim/p2pool.git

git checkout 1mb_segwit


# start litecoind with -deprecatedrpc=accounts. if LTC Core version 17

# https://github.com/p2pool/p2pool/issues/402
# Go to Core wallet Console and type
# getnewaddress "" legacy
# copy the new address into p2pool/data/bitcoin/cached_payout_address

# https://github.com/p2pool/p2pool/issues/419
#--- ---
#  File "/home/user0/p2pool/p2pool/main.py", line 136, in main
#    if not res['isvalid'] or not res['ismine']:
#exceptions.KeyError: 'ismine'
#Removing that check in main.py makes it run. (3 rows in code)

#exceptions.ImportError: No module named ltc_scrypt
#https://github.com/p2pool/p2pool/issues/277
#In the litecoin_scrypt directory, you have to run "python setup.py build",
#then copy build/*/ltc_scrypt.so into the root P2Pool directory.
cd litecoin_scrypt
python setup.py build

# copy build/*/ltc_scrypt.so into the root P2Pool directory.

#froward ports 9327 and 9326 to local p2pool machine IP

sudo python run_p2pool.py --net litecoin


#Some errors about p2pool is not connected to any peer follows - just wait to catch viable peers...
newbie
Activity: 7
Merit: 6
What is the latest compatible pair of Litecoin Core node + p2pool node? Do these pairs support SegWit?

Official p2pool.in reports latest version 17.0 server, but many pool operators show the presence of versions much higher,
like

77.0.0-8-g4b1cc42-dirty
33.0-4-gf7b5fba-dirty
and others...

Where to get it for my own node?

Jump to: