Modified code can be found here - https://github.com/chrda/p2pool-fc
Instructions for Ubuntu 12.04
sudo apt-get update
sudo apt-get install python-software-properties screen git python-rrdtool python-pygame python-scipy
sudo apt-get install python-twisted python-twisted-web python-imaging build-essential libglib2.0-dev libglibmm-2.4-dev
sudo apt-get install python-dev libboost-all-dev libdb++-dev autoconf automake ncurses-dev
Install Feathercoin Daemon:
cd ~/ ; git clone https://github.com/FeatherCoin/FeatherCoin ; cd ~/FeatherCoin/src ; make -f makefile.unix USE_UPNP=- ; mv feathercoind ~/
mkdir ~/.feathercoin
nano -w ~/.feathercoin/feathercoin.conf
Add this text into ~/.feathercoin/feathercoin.conf
server=1
daemon=1
rpcuser=rpcadmin
rpcpassword=GenerateAgoodpasswordhere
rpcport=9667
Fire Up Feathercoin daemon:
~/feathercoind
Get p2pool modifed code for feathercoin:
cd ~/ ; git clone https://github.com/chrda/p2pool-fc.git
Install scrypt module for ltc that feathercoin uses (Need sudo) :
cd ~/p2pool-fc/litecoin_scrypt ; sudo python setup.py install
Start up your P2pool for Feathercoin!:
screen -d -m -S fcpool ~/p2pool-fc/run_p2pool.py --net feathercoin -a YourFCfeePayoutAddress -f 1 --give-author 0 --w 19327 --bitcoind-p2p-port 9336 --bitcoind-rpc-port 9337 rpcadmin yourgoodpasswordfromfeathercoin.confhere
You can use screen -r to open up the p2pool console, or you can tail -f ~/p2pool-fc/data/feathercoin/log
--w port (The port for the stat web interface and also the port where miners connect)
-f number ( Fee you will get for running the pool, in percent)
Some nice commands:
tail -f ~/p2poolf-fc/data/feathercoin/log | grep BLOCK
-----------------------
Thanks to paul21 for helping me find a few snags, and p2pool owner forrestv for creating the script.
When using the git code mention over, your p2pool should be able to connect to the 2 other servers i have setup.
Disclaimer:
I have tried to get as much help as possible modifying the p2pool, but there has been some lack of interest there. But hey, it "works".
Also might be some errors in the guide above, most can be solved with some linux skills. If not, post in the thread and you will get some help.
This guide will focus on Ubuntu 12.04 and might work fine on other ubuntu platforms.
There might be some code error showing up, but if shares are going through and stats seems fine, it should be working.
Got any inputs on the code, please contact me, i need to modify the 2 live servers also if certain code is changed.
I have successfuly setup my own feathercoin p2pool with the p2pool server running on virtualbox ubuntu 12.04, miner runing on win7 sp1 x64.