[Guide] Setup P2Pool for Feathercoin in VirtualBox
-
Well, works fine, but not show “Peers in”, only peers out >:(
[code]
~/p2pool-feathercoin/run_p2pool.py --net feathercoin -a xxxxx --w 19327 --bitcoind-p2p-port 9336 --bitcoind-rpc-port 9667 --disable-upnp --max-conns 500[/code]
networks.py:
[code]…
P2P_PORT=19339,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=19327,
BOOTSTRAP_ADDRS=‘p2pool.org ftcp2p.nut2pool.com p2pool.dyndns.info p2pftc1.d2.cc’.split(’ ‘),
ANNOUNCE_CHANNEL=’#p2pool-alt’,
VERSION_CHECK=lambda v: True,[/code]
Startup:
[code]
2013-06-14 04:41:28.616508 Testing bitcoind RPC connection to ‘http://127.0.0.1:9667/’ with username ‘rpcadmin’…
2013-06-14 04:41:28.635913 …success!
2013-06-14 04:41:28.636032 Current block hash: 9e1bcb25499736e46ba5b19a8ae194b6ab575e0feccb1b38f864b9f3ef615c98
2013-06-14 04:41:28.636093 Current block height: 36188
2013-06-14 04:41:28.636146
2013-06-14 04:41:28.636219 Testing bitcoind P2P connection to ‘127.0.0.1:9336’…
2013-06-14 04:41:28.717484 …success!
2013-06-14 04:41:28.717587
2013-06-14 04:41:28.717877
2013-06-14 04:41:28.717970 Loading shares…
2013-06-14 04:41:30.702526 1000
2013-06-14 04:41:32.441438 …done loading 1888 shares (1531 verified)!
2013-06-14 04:41:32.441559
2013-06-14 04:41:32.441615 Initializing work…
2013-06-14 04:41:33.144594 …success!
2013-06-14 04:41:33.144754
2013-06-14 04:41:33.144815 Joining p2pool network using port 19339…
2013-06-14 04:41:33.212921 …success!
2013-06-14 04:41:33.213033
2013-06-14 04:41:33.213096 Listening for workers on ‘’ port 19327…
2013-06-14 04:41:33.443858 …success!
2013-06-14 04:41:33.443992
2013-06-14 04:41:33.444185 Started successfully![/code]
… I keep trying … :D
-
Anyone having problems compiling latest Github code on 12.04? I keep running into this issue-
[code]g++ -c -O2 -pthread -Wall -Wextra -Wformat -Wformat-security -Wno-unused-parameter -g -DUSE_IPV6 -DBOOST_SPIRIT_THREADSAFE -I/home/ubuntu/FeatherCoin/src -I/home/ubuntu/FeatherCoin/src/obj -DHAVE_BUILD_INFO -fno-stack-protector -fstack-protector-all -Wstack-protector -D_FORTIFY_SOURCE=2 -MMD -MF obj/main.d -o obj/main.o main.cpp
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See for instructions.
make: *** [obj/main.o] Error 4
mv: cannot stat `feathercoind’: No such file or directory[/code] -
[quote name=“perico” post=“14533” timestamp=“1371180448”]
Well, works fine, but not show “Peers in”, only peers out >:([code]
~/p2pool-feathercoin/run_p2pool.py --net feathercoin -a xxxxx --w 19327 --bitcoind-p2p-port 9336 --bitcoind-rpc-port 9667 --disable-upnp --max-conns 500[/code]
networks.py:
[code]…
P2P_PORT=19339,
MIN_TARGET=0,
MAX_TARGET=2**256//2**20 - 1,
PERSIST=False,
WORKER_PORT=19327,
BOOTSTRAP_ADDRS=‘p2pool.org ftcp2p.nut2pool.com p2pool.dyndns.info p2pftc1.d2.cc’.split(’ ‘),
ANNOUNCE_CHANNEL=’#p2pool-alt’,
VERSION_CHECK=lambda v: True,[/code]
Startup:
[code]
2013-06-14 04:41:28.616508 Testing bitcoind RPC connection to ‘http://127.0.0.1:9667/’ with username ‘rpcadmin’…
2013-06-14 04:41:28.635913 …success!
2013-06-14 04:41:28.636032 Current block hash: 9e1bcb25499736e46ba5b19a8ae194b6ab575e0feccb1b38f864b9f3ef615c98
2013-06-14 04:41:28.636093 Current block height: 36188
2013-06-14 04:41:28.636146
2013-06-14 04:41:28.636219 Testing bitcoind P2P connection to ‘127.0.0.1:9336’…
2013-06-14 04:41:28.717484 …success!
2013-06-14 04:41:28.717587
2013-06-14 04:41:28.717877
2013-06-14 04:41:28.717970 Loading shares…
2013-06-14 04:41:30.702526 1000
2013-06-14 04:41:32.441438 …done loading 1888 shares (1531 verified)!
2013-06-14 04:41:32.441559
2013-06-14 04:41:32.441615 Initializing work…
2013-06-14 04:41:33.144594 …success!
2013-06-14 04:41:33.144754
2013-06-14 04:41:33.144815 Joining p2pool network using port 19339…
2013-06-14 04:41:33.212921 …success!
2013-06-14 04:41:33.213033
2013-06-14 04:41:33.213096 Listening for workers on ‘’ port 19327…
2013-06-14 04:41:33.443858 …success!
2013-06-14 04:41:33.443992
2013-06-14 04:41:33.444185 Started successfully![/code]
… I keep trying … :D
[/quote]Provided you’ve opened 19339 you should be fine. It does take a long time to get peers in. Sometimes 24h+. The reason is that most pools have the default config of 6 peers out max. Once they have the 6 they don’t look for more. Eventually, as pools restart, shutdown, startup, or whatever, they’ll start to come to you. Patience… ;)
Of course as soon as you restart the server, you’ll lose your incoming again. :(
-
有win7çš„çŸ¿æ± å—
-
As the p2pool versions for Feathercoin are no longer available, i have created an updated version of p2pool for feathercoin under: https://github.com/andreasfaerber/p2pool-feathercoin
Regards,
MrSheep -
[quote name=“MrSheep” post=“32500” timestamp=“1382734947”]
As the p2pool versions for Feathercoin are no longer available, i have created an updated version of p2pool for feathercoin under: https://github.com/andreasfaerber/p2pool-feathercoinRegards,
MrSheep
[/quote]Edited the main post to reflect the new source.
Thanks
-
For some reason a get a lot of errors from the logfile like this:
2013-12-12 21:50:41.741618 > Error getting work from bitcoind:
2013-12-12 21:50:41.742045 > Traceback (most recent call last):
2013-12-12 21:50:41.742364 > File “/usr/lib/python2.7/dist-packages/twisted/internet/defer.py”, line 551, in _runCallbacks
2013-12-12 21:50:41.742671 > current.result = callback(current.result, *args, **kw)
2013-12-12 21:50:41.742974 > File “/usr/lib/python2.7/dist-packages/twisted/internet/defer.py”, line 1101, in gotResult
2013-12-12 21:50:41.743284 > _inlineCallbacks(r, g, deferred)
2013-12-12 21:50:41.743585 > File “/usr/lib/python2.7/dist-packages/twisted/internet/defer.py”, line 1043, in _inlineCallbacks
2013-12-12 21:50:41.743886 > result = result.throwExceptionIntoGenerator(g)
2013-12-12 21:50:41.744213 > File “/usr/lib/python2.7/dist-packages/twisted/python/failure.py”, line 382, in throwExceptionIntoGenerator
2013-12-12 21:50:41.744486 > return g.throw(self.type, self.value, self.tb)
2013-12-12 21:50:41.744832 > — —and so on…
There’s a small typo in the HOWTO also i think:
[quote]
You can use screen -r to open up the p2pool console, or you can tail -f ~/[s]p2pool-fc[/s]/data/feathercoin/log
[/quote]should read “p2pool_feathercoin”
-
Cheers, i got it running on my linux box ::)
-
I’m having some problems. can you help me?
This is my error:
bignum.h:12:24: fatal error: openssl/bn.h: No existe el archivo o el directorio
#include
^
compilation terminated.
make: *** [obj/checkpoints.o] Error 1
mv: no se puede efectuar `stat’ sobre «feathercoind»: No existe el archivo o el directorioThe parts in spanish are just saying that there is no file or directory.
-
Is libssl and the source files installed on your system? For example “libcurl4-openssl-dev” ?
-
Hello there again.
the problem with the missing libraries it’s already done.Now I have another problem. I’ve done everything that it is in the guide, but I have no feedback.
so I start feathercoind and I get a “feathercoin server starting” and nothing else.
when i make the “screen” instruction i just get nothing.any idea of what is wrong?
– Update –
Now the “screen -r” command its working, and I’ve done nothing to fix it.
-
I’m sure I’m doing something very wrong here…
So everything seams to install ok for me as I follow the steps thru but then when it gets to the stages for things to be running, it all goes a little wonky!
[code]~/feathercoind[/code]
Brings back the following
[code]p2pool@ubuntu:~$ Feathercoin server starting
Feathercoin: Error loading blkindex.dat[/code]Which looks like the block index to me, but I can’t find it to deal with that fact that it looks like it may be corrupt.
So ignoring this and trying to carry on to see what happens I use the following to start things off
[code]~/p2pool-feathercoin/run_p2pool.py --net feathercoin -a 6yDqT91YyjioxDeLfcbpWe7Zg9CRfZ1WnF -f 1 --give-author 0 --w 19327 --bitcoind-p2p-port 9336 --bitcoind-rpc-port 9667 rpcadmin APASSWORDHERE --disable-upnp -n ftcpool.nl:19327 -n 94-76-229-211.static.as29550.net:19327 -n p5DC05409.dip0.t-ipconnect.de:19327[/code]
and the following comes back
[code]2014-01-13 12:11:40.546620 p2pool (version 13.4-9-g6904250)
2014-01-13 12:11:40.546793
2014-01-13 12:11:40.546892 Testing bitcoind RPC connection to ‘http://127.0.0.1:9667/’ with username ‘rpcadmin’…
2014-01-13 12:11:40.547748 > Error while checking Bitcoin connection:
2014-01-13 12:11:40.547851 > Traceback (most recent call last):
2014-01-13 12:11:40.547941 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
2014-01-13 12:11:41.550007 > Error while checking Bitcoin connection:
2014-01-13 12:11:41.550336 > Traceback (most recent call last):
2014-01-13 12:11:41.550478 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
2014-01-13 12:11:42.554939 > Error while checking Bitcoin connection:
2014-01-13 12:11:42.555252 > Traceback (most recent call last):
2014-01-13 12:11:42.555400 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
2014-01-13 12:11:43.560035 > Error while checking Bitcoin connection:
2014-01-13 12:11:43.560414 > Traceback (most recent call last):
2014-01-13 12:11:43.560563 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.[/code]I’m just going around in circles so any help you guys have would be much appreciated
UM
-
[quote name=“uncle_muddy” post=“51758” timestamp=“1389615328”]
I’m sure I’m doing something very wrong here…[code]~/feathercoind[/code]
Brings back the following
[code]p2pool@ubuntu:~$ Feathercoin server starting
Feathercoin: Error loading blkindex.dat[/code][/quote]
I hope, you have a backup of your private keys, or no coins in your wallet
What you can do:Start feathercoind with the -rescan option to force it to check all locally stored blocks with the blockchain.
If that doesn’t help, delete the blockfiles.
It’s the whole ~/.feathercoin/blocks directory
then start feathercoind again.
OR
rename the whole ~/.feathercoin directory to a different name and start feathercoind
add the rpcuser and rpc password lines to ~/.feathercoin/feathercoin. conf and any other customization you did to that file and restart feathercoind[quote]
[code]~/p2pool-feathercoin/run_p2pool.py --net feathercoin -a 6yDqT91YyjioxDeLfcbpWe7Zg9CRfZ1WnF -f 1 --give-author 0 --w 19327 --bitcoind-p2p-port 9336 --bitcoind-rpc-port 9667 rpcadmin APASSWORDHERE --disable-upnp -n ftcpool.nl:19327 -n 94-76-229-211.static.as29550.net:19327 -n p5DC05409.dip0.t-ipconnect.de:19327[/code]
and the following comes back
[code]2014-01-13 12:11:40.546620 p2pool (version 13.4-9-g6904250)
2014-01-13 12:11:40.546793
2014-01-13 12:11:40.546892 Testing bitcoind RPC connection to ‘http://127.0.0.1:9667/’ with username ‘rpcadmin’…
2014-01-13 12:11:40.547748 > Error while checking Bitcoin connection:
2014-01-13 12:11:40.547851 > Traceback (most recent call last):
2014-01-13 12:11:40.547941 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
2014-01-13 12:11:41.550007 > Error while checking Bitcoin connection:
2014-01-13 12:11:41.550336 > Traceback (most recent call last):
2014-01-13 12:11:41.550478 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
2014-01-13 12:11:42.554939 > Error while checking Bitcoin connection:
2014-01-13 12:11:42.555252 > Traceback (most recent call last):
2014-01-13 12:11:42.555400 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.
2014-01-13 12:11:43.560035 > Error while checking Bitcoin connection:
2014-01-13 12:11:43.560414 > Traceback (most recent call last):
2014-01-13 12:11:43.560563 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 111: Connection refused.[/code]I’m just going around in circles so any help you guys have would be much appreciated
UM
[/quote]Quite normal, as p2pool tries to connect to the feathercoind and this is not running.
The message should disapear as soon as feathercoind has synced with the blockchain and is ready to work -
[quote name=“Wellenreiter” post=“51788” timestamp=“1389618618”]
I hope, you have a backup of your private keys, or no coins in your wallet
What you can do:Start feathercoind with the -rescan option to force it to check all locally stored blocks with the blockchain.
If that doesn’t help, delete the blockfiles.
It’s the whole ~/.feathercoin/blocks directory
then start feathercoind again.
OR
rename the whole ~/.feathercoin directory to a different name and start feathercoind
add the rpcuser and rpc password lines to ~/.feathercoin/feathercoin. conf and any other customization you did to that file and restart feathercoind
[/quote]No wallet on here this is just being setup as a p2pool server, so nothing to worry about (or is there?)
I have deleted blkindex.dat now and things are looking a little better, is there any way of telling once the block chain has been downloaded?
-
if feathercoind is running, you can query it locally using the RPC interface:
[code]feathercoind getinfo[/code]That will tell you what block it has and will let you work out how many more you need to download, could be a while though…
-
+1 to both of you for your help :)
It seams to be up and running now, I have a small miner pointing at it for now to see what happens and make sure I don’t have any big issues before I go and point everything I have at it.
So the next question is, how often do I expect to see a payout? do I need to run a script or something to process them or is it already?
Thanks again for your help guys
UM
-
You’ll see the coins you mine appear in your wallet and show up as immature for 120 blocks (I think?)
You won’t see masses of coins come in though, it will be more like a regular drip of fractions of coins (depending on your hashrate of course).
Works out well though, my PXC P2Pool miners are making at least as much as when I was on a pool, with no fees.
-
I was trying to get a rough idea of the frequency of the drip so to speak, I have seen a couple of payouts come through I’m now pushing 1 of my big rigs at it so doing over 2Mh/s so the drip is not to bad