Install prerequisites:
sudo apt-get install build-essential git -y
sudo apt-get install python2.7-dev -y
sudo apt-get install python-zope.interface python-twisted python-twisted-web -y
Download & Compile required hash function:
cd ~
git clone
https://github.com/metalicjames/lyra2re-hash-python.gitcd ~/lyra2re-hash-python
sudo python setup.py install
cd ~
sudo rm -rf lyra2re-hash-python
Download P2Pool and modern interface:
cd ~
git clone
https://github.com/metalicjames/p2pool-Lyra2RE.gitcd ~/p2pool-Lyra2RE
mv web-static{,.old}
git clone
https://github.com/justino/p2pool-ui-punchy web-static
Start P2Pool:
First, replace the following with your details -
{unitus-username} = RPC Username set in your unitus.conf file
{unitus-password} = RPC Password set in your unitus.conf file
{ip-address-of-unitus-wallet} = IP address of the computer running the Unitus wallet, or 127.0.0.1 if on same computer as P2Pool
{vertcoin-username} = RPC Username set in your vertcoin.conf file
{vertcoin-password} = RPC Password set in your vertcoin.conf file
{ip-address-of-vertcoin-wallet} = IP address of the computer running the Vertcoin wallet, or 127.0.0.1 if on same computer as P2Pool
If Vertcoin is running on the same machine -
./run_p2pool.py --net vertcoin --merged http://{unitus-username}:{unitus-password}@{ip-address-of-unitus-wallet}:50604 {vertcoin-username} {vertcoin-password}
Otherwise -
./run_p2pool.py --net vertcoin --merged http://{unitus-username}:{unitus-password}@{ip-address-of-unitus-wallet}:50604 --bitcoind-address {ip-address-of-vertcoin-wallet} {vertcoin-username} {vertcoin-password}
As an example:
./run_p2pool.py --net vertcoin --merged
http://unitus:P@ssw0rd123@127.0.0.1:50604 vertcoin P@ssw0rd123
2016-05-15 20:31:02.723822 p2pool (version 08e9611)
2016-05-15 20:31:02.723919
2016-05-15 20:31:02.724192 Testing bitcoind RPC connection to '
http://127.0.0.1:5888/' with username 'vtcrpc'...
2016-05-15 20:31:02.880724 ...success!
2016-05-15 20:31:02.880887 Current block hash: 3ad00311e5e0d7be2ee81daa93458bca28c7252efef238f6acb638ba80dc688c
2016-05-15 20:31:02.880919 Current block height: 507535
2016-05-15 20:31:02.880940
2016-05-15 20:31:02.880972 Testing bitcoind P2P connection to '127.0.0.1:5889'...
2016-05-15 20:31:02.974208 ...success!
2016-05-15 20:31:02.974316
2016-05-15 20:31:02.974375 Determining payout address...
2016-05-15 20:31:02.974435 Getting payout address from bitcoind...
2016-05-15 20:31:03.687410 ...success! Payout address: Vv3GYJJiUPRe77CsjhrXPRatGhdCZ3JUNj
2016-05-15 20:31:03.687564
2016-05-15 20:31:03.687641 Loading shares...
2016-05-15 20:31:03.687930 ...done loading 0 shares (0 verified)!
2016-05-15 20:31:03.688070
2016-05-15 20:31:03.688168 Initializing work...
2016-05-15 20:31:03.802041 ...success!
2016-05-15 20:31:03.802215
2016-05-15 20:31:03.802290 Joining p2pool network using port 9346...
2016-05-15 20:31:04.592402 ...success!
2016-05-15 20:31:04.592544
2016-05-15 20:31:04.593401 Listening for workers on '' port 9171...
2016-05-15 20:31:04.986243 ...success!
2016-05-15 20:31:04.986405
2016-05-15 20:31:04.986499 Started successfully!
2016-05-15 20:31:04.986579 Go to
http://127.0.0.1:9171/ to view graphs and statistics!
2016-05-15 20:31:04.986831 Donating 1.0% of work towards P2Pool's development. Thank you!
2016-05-15 20:31:04.986998 You can increase this amount with --give-author argument! (or decrease it, if you must)
2016-05-15 20:31:04.987112
2016-05-15 20:31:05.232822 Got new merged mining work!
2016-05-15 20:31:05.659301 Outgoing connection to peer 149.202.204.56:9346 established. p2pool version: 1300 '08e9611-dirty'
2016-05-15 20:31:05.873929 Outgoing connection to peer 94.242.222.27:9346 established. p2pool version: 1300 '08e9611-dirty'
2016-05-15 20:31:06.203546 Requesting parent share 33636cc9 from 94.242.222.27:9346
2016-05-15 20:31:07.690374 Processing 361 shares from 94.242.222.27:9346...