P2pool

From Alessandro's Wiki
Revision as of 16:13, 19 January 2018 by Xunil (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<--- Back to Mining

p2pool

http://p2pool.in/#download

default build

cd /usr/local/ 
git clone https://github.com/forrestv/p2pool.git 
cd p2pool
make -j3

modules

SCRYPT

cd litecoin_scrypt
sudo python setup.py install

X11

cd dash-subsidy
sudo python setup.py install
cd x11-hash
sudo python setup.py install

Forks

TIT

DASH

http://127.0.0.1:7903/

GUI's

https://github.com/hardcpp/P2PoolExtendedFrontEnd

cd p2pool
git clone https://github.com/hardcpp/P2PoolExtendedFrontEnd.git
[ -L web-static ] && rm web-static 
mv web-static/ web-static-default
ln -s P2PoolExtendedFrontEnd/ web-static

https://github.com/johndoe75/p2pool-node-status

git clone https://github.com/johndoe75/p2pool-node-status.git
[ -L web-static ] && rm web-static 
[ -L web-static ] || mv web-static web-static_pre
ln -s  p2pool-node-status web-static


Running it

bitcoin: su bitcoind -c '~/p2pool/run_p2pool.py  --give-author 0 -f 0 -a  1PKAUX8CcsJCCZX83eT98vSXcvXWnTjoRk '
dashcoin: su dashcoind -c '~/p2pool-dash/run_p2pool.py --net dash --give-author 0 -f 0 -a XhLodzhqTD7834sjV8uM68qcmR7NPi435M &'

litecoin: su litecoind -c '~/p2pool/run_p2pool.py --net litecoin --give-author 0 -f 0 -a LeBrPkWDNeMhAC5bvnCRsJjqQdz2M5LY65 &'

 screen -S p2pool-ltc sudo python ~/bitcoin/bin/p2pool-ltc/run_p2pool.py --net litecoin --give-author 0.0 --donate 0 -f 0 -a LeBrPkWDNeMhAC5bvnCRsJjqQdz2M5LY65 -n litecoin-p2pool.com:9338 


Merged Mininng (incomplete)

--merged http://uturutuueu23:pai4h2o4366986384636+j35oj35jkklfd___sd@192.168.82.82:22555/
 
apt-get install libdb++-dev python-twisted python-argparse python-pycparser ipython python-coverage 

/root/p2pool/.pyenv/build/cryptography/cffi-1.7.0-py2.7-linux-armv7l.egg
/root/p2pool/.pyenv/build/cryptography/pycparser-2.14-py2.7.egg


Installing collected packages: coverage, unittest-xml-reporting, unittest2

on Raspberry

* wallet
* p2pool

deps

build-essential libcurl4-openssl-dev autoconf automake libtool autoconf autotools-dev


Wallet

apt-get install build-essential autoconf libssl-dev libboost-dev \
libboost-chrono-dev libboost-filesystem-dev libboost-program-options-dev \
libboost-system-dev libboost-test-dev libboost-thread-dev \
git build-essential automake libboost-all-dev pkg-config libevent-dev

BTC

git clone https://github.com/bitcoin/bitcoin
cd bitcoin


LTC

git clone https://github.com/litecoin-project/litecoin.git
cd litecoin


DASH

git clone https://github.com/dashpay/dash.git
cd dash

*

./autogen.sh
./configure --disable-wallet --with-cli --without-gui --disable-tests
make -j3
sudo make install


su bitcoind -c '/usr/local/bin/bitcoind &'
su litecoind -c '/usr/local/bin/litecoind &'
su dashd -c '/usr/local/bin/dashd &'