Bitcoin Forum
May 05, 2024, 08:01:52 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1] 2 3 4 »  All
  Print  
Author Topic: [HOWTO] Setup a p2pool for Feathercoin  (Read 14422 times)
blastbob (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
April 21, 2013, 04:35:12 AM
Last edit: May 26, 2013, 03:31:00 PM by blastbob
 #1

Quick and dirty

Modified code can be found here - https://github.com/narken/p2pool-altcoins

Instructions for Ubuntu 12.04
Code:
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:
Code:
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
Code:
server=1
daemon=1
rpcuser=rpcadmin
rpcpassword=GenerateAgoodpasswordhere
rpcport=9667

Fire Up Feathercoin daemon:
Code:
~/feathercoind

Get p2pool modifed code for feathercoin:
Code:
cd ~/ ; git clone https://github.com/Yorango/p2pool-ftc

Install scrypt module for ltc that feathercoin uses (Need sudo) :
Code:
cd ~/p2pool-fc/litecoin_scrypt ; sudo python setup.py install

Start up your P2pool for Feathercoin!:
Code:
screen -d -m -S fcpool ~/p2pool-fc/run_p2pool.py --net litecoin -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.





Bitrated user: blastbob.
1714939312
Hero Member
*
Offline Offline

Posts: 1714939312

View Profile Personal Message (Offline)

Ignore
1714939312
Reply with quote  #2

1714939312
Report to moderator
1714939312
Hero Member
*
Offline Offline

Posts: 1714939312

View Profile Personal Message (Offline)

Ignore
1714939312
Reply with quote  #2

1714939312
Report to moderator
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714939312
Hero Member
*
Offline Offline

Posts: 1714939312

View Profile Personal Message (Offline)

Ignore
1714939312
Reply with quote  #2

1714939312
Report to moderator
1714939312
Hero Member
*
Offline Offline

Posts: 1714939312

View Profile Personal Message (Offline)

Ignore
1714939312
Reply with quote  #2

1714939312
Report to moderator
wmikrut
Hero Member
*****
Offline Offline

Activity: 631
Merit: 501



View Profile WWW
April 23, 2013, 07:18:50 PM
Last edit: April 23, 2013, 07:46:54 PM by wmikrut
 #2

Everything works great... just update your p2pool launch script from

--bitcoind-rpc-port 9337

to

--bitcoind-rpc-port 9667

Based on your feathercoin.conf file -- and everything is good!   Grin


Edit:
I noticed some console errors when running the process... and I am not sure if it will mess with the block found/payout logic.

I am pointing some hashing power at P2Pool and hope that a block is found and paid out properly.
I will post back once I see this is working without any problems.

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
Invest0r
Member
**
Offline Offline

Activity: 112
Merit: 10



View Profile
April 23, 2013, 08:54:30 PM
 #3

Thanks. Very informative.

Speculating..
mr_random
Legendary
*
Offline Offline

Activity: 1274
Merit: 1001


View Profile
April 23, 2013, 08:56:48 PM
 #4

Very nice guide. I might actually give this a go...
wmikrut
Hero Member
*****
Offline Offline

Activity: 631
Merit: 501



View Profile WWW
April 23, 2013, 09:47:07 PM
 #5

I am receiving payments for blocks found.
Very nice work   Grin

I will NEVER ask for any kind of funds up front in a buy/sale of anything on bitcointalk.

BM-2cTFihJKmSwusMAoYuUHPvpx56Jozv64KK
dolfcao
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile WWW
April 24, 2013, 06:21:06 AM
 #6

Quick and dirty

Modified code can be found here - https://github.com/chrda/p2pool-fc

Instructions for Ubuntu 12.04
Code:
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:
Code:
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
Code:
server=1
daemon=1
rpcuser=rpcadmin
rpcpassword=GenerateAgoodpasswordhere
rpcport=9667

Fire Up Feathercoin daemon:
Code:
~/feathercoind

Get p2pool modifed code for feathercoin:
Code:
cd ~/ ; git clone https://github.com/chrda/p2pool-fc.git

Install scrypt module for ltc that feathercoin uses (Need sudo) :
Code:
cd ~/p2pool-fc/litecoin_scrypt ; sudo python setup.py install

Start up your P2pool for Feathercoin!:
Code:
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.

RealCoin: RRUfzu9qeUU9qAeHJARpGVqDQsXEU7u4d9
RealCoin Mining Pool: www.realcoin.org:18888
My personal website: www.needdo.com
dolfcao
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile WWW
April 24, 2013, 08:20:36 AM
 #7

Hey guys, I'm runing for about 4 hours to mine feathercoin using feathercoin p2pool, but I get nothing, anyone could help?
It seems that all applications work fine.

RealCoin: RRUfzu9qeUU9qAeHJARpGVqDQsXEU7u4d9
RealCoin Mining Pool: www.realcoin.org:18888
My personal website: www.needdo.com
dolfcao
Member
**
Offline Offline

Activity: 98
Merit: 10



View Profile WWW
April 24, 2013, 02:21:30 PM
 #8

How to allow other pepole to mine use my feathercoin p2pool?

RealCoin: RRUfzu9qeUU9qAeHJARpGVqDQsXEU7u4d9
RealCoin Mining Pool: www.realcoin.org:18888
My personal website: www.needdo.com
nesic1
Hero Member
*****
Offline Offline

Activity: 636
Merit: 500


View Profile
April 26, 2013, 11:58:59 PM
 #9

on what server should i put this? special or i can get it to work on my home PC?
Mushoz
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


Bitbuy


View Profile WWW
April 29, 2013, 07:55:47 AM
 #10

Getting tons of orphans and very low efficiency (60%). I've been mining a lot on P2Pool with different coins, and I've always had very good efficiency (> 100% most of the time). What could be my problem?

www.bitbuy.nl - Koop eenvoudig, snel en goedkoop bitcoins bij Bitbuy!
shakezula
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250



View Profile
April 29, 2013, 02:08:58 PM
 #11

Thanks for the tutorial and p2pool modifications, this works great! The Fee payout doesn't seem to though, is that a problem of the p2pool modifications? Any chance of an update?
gyverlb
Hero Member
*****
Offline Offline

Activity: 896
Merit: 1000



View Profile
May 02, 2013, 09:47:17 PM
 #12

Quick and dirty

Modified code can be found here - https://github.com/chrda/p2pool-fc

This github repository gives me a 404.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
shakezula
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250



View Profile
May 02, 2013, 11:02:11 PM
 #13

Fee payout is still not working for me either. No worries, its all for fun. Thanks for your efforts!
LeftToeCut
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
May 03, 2013, 09:52:05 AM
 #14

yeah, that repo is gone, there is this now  https://github.com/chrda/p2pool-chncoin , does only support bitcoin, litecoin and terracoin as --net argument
wacko
Legendary
*
Offline Offline

Activity: 1106
Merit: 1014


View Profile
May 03, 2013, 10:59:30 AM
 #15

Strange stuff indeed, the original repo is gone and the new one has feathercoin support stated in the description:
"Only use this for feathercoin"...

Yet the actual support of feathercoin mining was dropped without any comments. Sad
caish5
Sr. Member
****
Offline Offline

Activity: 324
Merit: 250



View Profile WWW
May 03, 2013, 11:00:48 AM
 #16

Has anyone got this working recently?
I'm stuck around the p2pool git bit which doesn;t work.
Will the chncoin git actually work for FC?

Bitvolcano YAC, BBQ and WDC P2Pools at http://bitvolcano.com
LeftToeCut
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
May 03, 2013, 11:51:48 AM
 #17

uhm, can someone upload the fc pool?
Jude Austin
Legendary
*
Offline Offline

Activity: 1140
Merit: 1000


The Real Jude Austin


View Profile WWW
May 03, 2013, 04:47:12 PM
 #18

Where oh where did p2pool-fc go?


Buy or sell $100 of Crypto and get $10!
blastbob (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 500



View Profile
May 03, 2013, 04:48:03 PM
 #19

Ill remake one.. need food, give me an hour..

Bitrated user: blastbob.
Jude Austin
Legendary
*
Offline Offline

Activity: 1140
Merit: 1000


The Real Jude Austin


View Profile WWW
May 03, 2013, 04:48:41 PM
 #20

Ill remake one.. need food, give me an hour..

Thank you!


Buy or sell $100 of Crypto and get $10!
Pages: [1] 2 3 4 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!