Pages:
Author

Topic: Need p2pool for BitBar. Any p2pool gods?? - page 6. (Read 10059 times)

sr. member
Activity: 364
Merit: 264
I don't know, though P2Pool usually does have a lag time before blocks go through. Not sure if it had anything to do with the 512 blocks.
newbie
Activity: 42
Merit: 0
281 accepted shares, don't seem to be getting any transactions. I think it's 512 blocks before mature though.

Going to take it off for now and see if payouts go through.

Oh, so, after 512 p2pool blocks, the actual BitBar payment goes through?

That would make a lot of sense!  

Payouts stat list is still wrong.
legendary
Activity: 1806
Merit: 1003
281 accepted shares, don't seem to be getting any transactions. I think it's 512 blocks before mature though.

Going to take it off for now and see if payouts go through.

Not sure if p2pool is subject to the 512 block thing.
newbie
Activity: 42
Merit: 0
@rbdrbd

After looking at the differences and the changes I made, I think you should change

P2P_PORT = 7777
to
P2P_PORT = 8777

In networks.py
sr. member
Activity: 364
Merit: 264
281 accepted shares, don't seem to be getting any transactions. I think it's 512 blocks before mature though.

Going to take it off for now and see if payouts go through.
newbie
Activity: 42
Merit: 0

Ok.  I will fork it and post my changes, as well as my bitbar.conf there.  Give me an hour or so.

sr. member
Activity: 462
Merit: 250
Do you have the updated bitbar p2pool code on github, or setup instructions for others to set up their own p2pools?

I'm happy to commit the changes to your github code base, at least once I'm sure enough this works.  I only changed a few things in networks.py though.

Sure, or you could just create your own fork, since I may have changed more than you did (which is why it may not be working for me). The p2pool command you use to launch, as well as your bitbar.conf may be helpful as well. Thanks for getting this up!!
full member
Activity: 265
Merit: 100
I have used the updated code you posted in one of the first posts of this thread.  I did adapt some of the ports to make it all work... or well, look like it works while trying with just two cpuminers.

define "works"
newbie
Activity: 42
Merit: 0
Do you have the updated bitbar p2pool code on github, or setup instructions for others to set up their own p2pools?

I'm happy to commit the changes to your github code base, at least once I'm sure enough this works.  I only changed a few things in networks.py though.
newbie
Activity: 42
Merit: 0
Might be off track but did you configure your default pool address?   Looking at the payout chart and table and it doesn't seem to be right.

Course I don't know how it should look but taking a stab  Huh

B6EVsmqE5rcEcLPjuA7MExKPz5RrnvBXeJ

I will look into that.  Default pool address was requested from RPC bitbar server automatically (and listed in my BitBar client).  Setting one manually was not possible with this p2pool (although it was with the feathercoin pool I tried before).

I have been experimenting with my own BitBar p2pool.  If anyone wants to help me test it, please use

Address = bitbar1.no-ip.biz:8336
User = Your BitBar Address
Pass = x (or anything)
Fee = 1%

Stats at http://bitbar1.no-ip.biz:8336/static

The addresses of two of my cpuminer workers show up correctly.  My other cpuminer worker and cgminer worker don't show up yet.  If you want to try this out, please don't throw all your Thash/s at this at once and please check that you get paid when you want to use it for a longer time.

I'm still trying to get it to work in combination with other p2p pools.  So, any other p2pools ready yet?

Do you have the updated bitbar p2pool code on github, or setup instructions for others to set up their own p2pools?
I have used the updated code you posted in one of the first posts of this thread.  I did adapt some of the ports to make it all work... or well, look like it works while trying with just two cpuminers.
hero member
Activity: 684
Merit: 500
Veni. Vidi. Vici.
Throwing 3000KHs at it. All rejected so far.

Edit: Now starting to get some accepted.
sr. member
Activity: 462
Merit: 250
I have been experimenting with my own BitBar p2pool.  If anyone wants to help me test it, please use

Address = bitbar1.no-ip.biz:8336
User = Your BitBar Address
Pass = x (or anything)
Fee = 1%

Stats at http://bitbar1.no-ip.biz:8336/static

The addresses of two of my cpuminer workers show up correctly.  My other cpuminer worker and cgminer worker don't show up yet.  If you want to try this out, please don't throw all your Thash/s at this at once and please check that you get paid when you want to use it for a longer time.

I'm still trying to get it to work in combination with other p2p pools.  So, any other p2pools ready yet?





Do you have the updated bitbar p2pool code on github, or setup instructions for others to set up their own p2pools?
member
Activity: 70
Merit: 10
So many coins so little hash power
Might be off track but did you configure your default pool address?   Looking at the payout chart and table and it doesn't seem to be right.

Course I don't know how it should look but taking a stab  Huh

B6EVsmqE5rcEcLPjuA7MExKPz5RrnvBXeJ
newbie
Activity: 42
Merit: 0
No, I didn't use much tutorial at all.  But I have quite some IT experience and I just tried setting up a feathercoin pool the day before.
newbie
Activity: 42
Merit: 0

Passion_ltc ran a p2pool, he would know. I'm no expert, but shouldn't it be paying out to the miners rather than the p2pool address?

Yeah, that's what's worrying me too.   Huh


Why don't you try making it pay out to the miners connected to the pool via how many shares they have submitted divided by the number of total shares for that block. It wouldn't hurt, considering no payouts have been sent yet. Payouts should have started by now.

edit: pulling miners for now until payouts get sorted out.

Yeah that's what it should do of course.  I have not seen any payments at the p2pool address though in the BitBar client, they only show in  the p2pool public stats.  The p2pool address is also the largest one of two that gets listed at the bottom of the stats page (payouts if a block were found now).

I think it's probably best not to add to much hashrate to this until we now that payouts are indeed getting done correctly.
sr. member
Activity: 462
Merit: 250
I'm thinking something is still off in the code...

netstat -anp starts like:

Code:
root@minerp2pool:/opt/p2pool# netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 0.0.0.0:8777            0.0.0.0:*               LISTEN      2464/bitbard    
tcp        0      0 127.0.0.1:8778          0.0.0.0:*               LISTEN      2464/bitbard  

So I think the ports are good. I disabled tcp6 just in case...no change.

Weird message in the bitbard's debug.log around the time of connect is:

Code:
PROCESSMESSAGE MESSAGESTART NOT FOUND
sr. member
Activity: 462
Merit: 250
Ok guys, modified pool code (what I have so far) is at https://github.com/rbdrbd/p2pool

If someone can get that working...go at it. Here's where I am at. Ubuntu Linux 13.04. bitbard installed. My bitbar.conf looks like:

Code:
server=1
daemon=1
rpcuser=rpcuser
rpcpassword=RPCPASS
rpcport=8778

I then launch p2pool with:

Code:
python run_p2pool.py  --debug --net bitbar --max-conns 300 -f 0 --give-author 0 --bitcoind-p2p-port 8777 --bitcoind-rpc-po 8778 rpcuser RPCPASS

I see the following:

Code:
root@minerp2pool:/opt/p2pool# python run_p2pool.py  --debug --net bitbar --max-conns 300 -f 0 --give-author 0 --bitcoind-p2p-port 8777 --bitcoind-rpc-po 8778 rpcuser RPCPASS
2013-05-02 23:07:41.188108 p2pool (version 11.4.1-2-g596c748-dirty)
2013-05-02 23:07:41.188182
2013-05-02 23:07:41.188230 Testing bitcoind RPC connection to 'http://127.0.0.1:8778/' with username 'rpcuser'...
2013-05-02 23:07:41.212216     ...success!
2013-05-02 23:07:41.212279     Current block hash: 986d21284e6cb446c24c3a410ff63c434d5173a5732258145d73d837
2013-05-02 23:07:41.212330     Current block height: 4484
2013-05-02 23:07:41.212372
2013-05-02 23:07:41.212684 Testing bitcoind P2P connection to '127.0.0.1:8777'...

^ HANGS HERE FOR AWHILE

2013-05-02 23:08:42.039525 > Bitcoin connection lost. Reason: Connection was closed cleanly.
2013-05-02 23:09:44.051923 > Bitcoin connection lost. Reason: Connection was closed cleanly.
2013-05-02 23:10:46.016209 > Bitcoin connection lost. Reason: Connection was closed cleanly.
2013-05-02 23:11:48.025670 > Bitcoin connection lost. Reason: Connection was closed cleanly.
2013-05-02 23:12:50.047023 > Bitcoin connection lost. Reason: Connection was closed cleanly.


Meanwhile p2pool is not listening on any ports. Balthazar / blasbob / etc: Any ideas?

-Robby
full member
Activity: 265
Merit: 100

Passion_ltc ran a p2pool, he would know. I'm no expert, but shouldn't it be paying out to the miners rather than the p2pool address?

Yeah, that's what's worrying me too.   Huh


Why don't you try making it pay out to the miners connected to the pool via how many shares they have submitted divided by the number of total shares for that block. It wouldn't hurt, considering no payouts have been sent yet. Payouts should have started by now.

edit: pulling miners for now until payouts get sorted out.
hero member
Activity: 532
Merit: 500
bearded, drunk, fat, naked
Let's make sure people get paid before looking into stratum Cheesy

Really makes me want to try to set up a pool next time. Did you use any tutorials besides https://bitcointalksearch.org/topic/1500-th-p2pool-decentralized-dos-resistant-hop-proof-pool-18313   ?
newbie
Activity: 42
Merit: 0
Stales have been reduced dramatically now for me. Whatever you did was good, I guess. Should now be what's to be expected without stratum.

Neat.  I didn't adjust anything, but I did reduce the load of some other components.

I will have a look at trying to get stratum to work.  I thought I saw a pool that had that.

Passion_ltc ran a p2pool, he would know. I'm no expert, but shouldn't it be paying out to the miners rather than the p2pool address?

Yeah, that's what's worrying me too.   Huh

I wonder how you succeeded in setting up the pool without lots of experience, while people said it's so difficult for this type of coin and no pools showed up for 6 hours Cheesy

Either I'm a genius, or the pool doesn't work as it's supposed to.   Cheesy
Pages:
Jump to: