Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: rbdrbd on May 02, 2013, 08:41:31 PM



Title: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 02, 2013, 08:41:31 PM
Looks like adding bitbar support requires making changes to p2pool (networks.py, among others). I am a python developer, but am unsure of which changes, as well as the values to use for certain constants.

I'd be happy to host a bitbar p2pool it someone that knew p2pool was willing to assist with the modifications.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Balthazar on May 02, 2013, 09:17:48 PM
You can use NVC p2pool, but some changes in networks.py required.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 02, 2013, 10:25:02 PM
You can use NVC p2pool, but some changes in networks.py required.

I forked your p2pool fork to https://github.com/rbdrbd/p2pool  .... it's that magic in networks.py that I'm unsure of. I'll send 5 bit bars your way for a push request to my fork on proposed changes (sorry, I don't have much NVC at all, but I doubt you're in need :). Wish I was more useful here. I have plenty of development experience (especially with python and C), but virtually no cryptocoin exposure. I can deploy the daemon out and host the pool.

The only other dependency I don't know about is BOOTSTRAP_ADDRS in networks.py ... are those addresses running novacoind/bitbard instances, or what?

Robby


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Balthazar on May 02, 2013, 10:29:39 PM
This addresses should run p2pool instances.

I can do this for some NVC, but I have no hardware keyboard at this moment... I offered my wife the weekend without PC :D


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: blastbob on May 02, 2013, 10:31:31 PM
In p2pool / p2pool / networks.py:

change the
BOOTSTRAP_ADDRS='188.120.239.144 81.200.245.198 85.234.62.99 81.200.241.54 217.77.220.40'.split(' '),
to
BOOTSTRAP_ADDRS=''.split(' '),

Change PERSIST=True, to PERSIST=False,

Change P2P_PORT=9777, to something else

In p2pool / p2pool / bitcoin / networks.py

Change ADDRESS_VERSION=8, to ADDRESS_VERSION=25


Removing info in addrs and Persist=False will make your node run solo. Can be a good idea until parameter is 100%
No guarantee the above is 100% correct :)
Rest you need help from others :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Balthazar on May 02, 2013, 10:33:43 PM
Network id and p2pool network id also should be changed.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 02, 2013, 10:49:39 PM
Thanks!!

Initial changes over at https://github.com/rbdrbd/p2pool/commit/596c7483b4d24b8e7063a68dfb1513a2120f2e52

I have to upgrade this box, then I will test. Any additional changes you guys can think of?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: kokojie on May 02, 2013, 10:51:35 PM
Thanks!!

Initial changes over at https://github.com/rbdrbd/p2pool/commit/596c7483b4d24b8e7063a68dfb1513a2120f2e52

I have to upgrade this box, then I will test. Any additional changes you guys can think of?

Eagerly awaits your pool :) I will point my meager 1.5MH to it


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Balthazar on May 02, 2013, 10:53:57 PM
Code:
P2P_PREFIX='cdf2c0ef'.decode('hex'),

This should be changed also. And don't forget about subsidy function.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Praxis on May 02, 2013, 10:56:07 PM
Watching this.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: RauBan on May 02, 2013, 10:58:13 PM
Watching this.
+1
p2pool is needed badly for btb


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Mushoz on May 02, 2013, 11:02:58 PM
Please keep the discussion of what needs to be changed, to what and why in this thread. I've always wanted to know how to modify P2Pool to support new coins :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Praxis on May 02, 2013, 11:14:53 PM
rbdrbd: any news?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: tobobit on May 03, 2013, 01:09:00 AM
looking for bitbar pool


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Praxis on May 03, 2013, 01:11:53 AM
looking for bitbar pool

There's none yet, sorry.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: BBQCoinsFTW on May 03, 2013, 01:21:18 AM
I have powerful servers. AT YOUR DISPOSAL.

If anyone needs?

I'm talking 16-32 XEON/i7 CPU's and ~64 mb ram.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: cannonfodder on May 03, 2013, 01:25:02 AM
I have powerful servers. AT YOUR DISPOSAL.

If anyone needs?

I'm talking 16-32 XEON/i7 CPU's and ~64 mb ram.

You might want to up the RAM.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Praxis on May 03, 2013, 01:26:06 AM
I have powerful servers. AT YOUR DISPOSAL.

If anyone needs?

I'm talking 16-32 XEON/i7 CPU's and ~64 mb ram.

You might want to up the RAM.

640kb should be enough for everything.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: BBQCoinsFTW on May 03, 2013, 01:28:58 AM
Really? 64mb won't suffice?:(


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 03, 2013, 01:33:24 AM
cat out of the bag: are you sure you don't mean GB?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: BBQCoinsFTW on May 03, 2013, 01:34:03 AM
I meant GB of course ^_^



Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 03, 2013, 02:00:32 AM
rbdrbd: any news?

Sorry was on a date. Back at it now. The system I have has 8 GB currently and 4 cores but it's on a VM so I can kick it up as need be. Will be testing the code here very shortly (currently upgrading the server).


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 02:31:01 AM
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 (doesn't work)
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?





Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 03, 2013, 02:36:31 AM
pointed my 3 7950s at you, around 50-75% stale rate from Germany :(

/edit/ forgot to take out  -s 1 --expiry 1 --queue 0, now around ~25% stales.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 02:39:09 AM
pointed my 3 7950s at you, around 50-75% stale rate from Germany :(

Thanks for that.  Hash rate exploded according to the stats.  I saw a lot of DOA shares... but that seems to have stopped now (but maybe you stopped mining).

Are there any known tricks to reducing the stale rate?  Belgium shouldn't be that far from Germany.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 02:42:03 AM
The p2pool interface now shows 25% stale rate indeed.  Maybe there are some settings I could tweak to improve that...


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Passion_ltc on May 03, 2013, 02:42:36 AM
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?

I will let it run over the night. I hope you let it online. :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 03, 2013, 02:43:25 AM
Sadly I know nothing about that. :(
stale rate is settling around 15% with cgminer and none of the parameters queue,s,expiry


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 03, 2013, 02:44:11 AM
Here you go, have a 7950. Tired of trying to solo mine.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: kokojie on May 03, 2013, 02:44:39 AM
The p2pool interface now shows 25% stale rate indeed.  Maybe there are some settings I could tweak to improve that...

looks like you found a block?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 03, 2013, 02:45:46 AM
probably an orphan? my stupid cards were useless solo mining, I doubt they would succeed in the first seconds after this was posted :D

/Edit/ As said before, it would be great if you could keep the pool running. As much as I would like to help, I don't know much about this anyway and really have to sleep. I hope someone helpful will show up here shortly for you. Night!


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 02:47:28 AM
I will let it run over the night. I hope you let it online. :)

Ok, I will let it online through the night.  If I find a way to drastically reduce the stale rates, I might restart the pool though, but I guess that should be no problem right?

The p2pool interface now shows 25% stale rate indeed.  Maybe there are some settings I could tweak to improve that...

looks like you found a block?

Yeah, looks like it indeed.  Now how do we find out which consequences this has?  I'm not seeing anything show up in the BitBar client or so...  Maybe it still has to be confirmed?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Passion_ltc on May 03, 2013, 02:49:03 AM
I will let it run over the night. I hope you let it online. :)

Ok, I will let it online through the night.  If I find a way to drastically reduce the stale rates, I might restart the pool though, but I guess that should be no problem right?

Super! Thank you. Good night. :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 02:54:20 AM
Looks like several blocks have now been found.  They all are getting paid to this same address that was generated by p2pool.

Can anyone confirm this is how it is supposed to work?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 03, 2013, 02:56:28 AM
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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: mrSprinkles on May 03, 2013, 02:59:49 AM
Looks like several blocks have now been found.  They all are getting paid to this same address that was generated by p2pool.

Can anyone confirm this is how it is supposed to work?

I will let it run over the night. I hope you let it online. :)

Ok, I will let it online through the night.  If I find a way to drastically reduce the stale rates, I might restart the pool though, but I guess that should be no problem right?

Super! Thank you. Good night. :)

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?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 03, 2013, 03:01:26 AM
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 :D


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:04:58 AM
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.   ???

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 :D

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


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 03, 2013, 03:06:26 AM
Let's make sure people get paid before looking into stratum :D

Really makes me want to try to set up a pool next time. Did you use any tutorials besides https://bitcointalk.org/index.php?topic=18313.0   ?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: mrSprinkles on May 03, 2013, 03:07:15 AM

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.   ???


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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 03, 2013, 03:14:58 AM
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


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 03, 2013, 03:16:33 AM
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


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:19:13 AM

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.   ???


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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:20:11 AM
Did you use any tutorials besides https://bitcointalk.org/index.php?topic=18313.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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Random Bit on May 03, 2013, 03:21:17 AM
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  ???

B6EVsmqE5rcEcLPjuA7MExKPz5RrnvBXeJ


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 03, 2013, 03:21:39 AM
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?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: xwebnetwork on May 03, 2013, 03:24:38 AM
Throwing 3000KHs at it. All rejected so far.

Edit: Now starting to get some accepted.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:27:19 AM
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  ???

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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:28:40 AM
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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: mrSprinkles on May 03, 2013, 03:28:45 AM
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"


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 03, 2013, 03:31:52 AM
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!!


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:33:12 AM

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



Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 03, 2013, 03:38:26 AM
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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:48:41 AM
@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


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: kokojie on May 03, 2013, 03:49:52 AM
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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:50:24 AM
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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 03, 2013, 03:52:23 AM
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.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 03:58:00 AM
Well, I'm not sure either.

Code with my modifications is now up at:

http://www.github.com/j980/p2pool


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 04:03:53 AM
Bitbar.conf is now in the repository too

@Worker BBrG...FUCA: Please restart your miner, it is producing nonsense.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 03, 2013, 04:21:33 AM
BTW i think your blocks are not making it onto the network.

http://bitbar1.no-ip.biz:8336/static/share.html#000000001434e3763fbc593ae27c75903d81e3a29d96ff26d7696037a11a6870

Prev block is 000000007d3a22d3a8c90ddb6bce57186395498fc73fb628281c7851e169e376

Quote

23:17:04

getblock 000000007d3a22d3a8c90ddb6bce57186395498fc73fb628281c7851e169e376


23:17:04

{
"hash" : "000000007d3a22d3a8c90ddb6bce57186395498fc73fb628281c7851e169e376",
"confirmations" : 5,
"size" : 265,
"height" : 4553,
"version" : 3,
"merkleroot" : "7ce6aa90ec2901b3c222028f6632dbad228d39c14308ceeaed0bef6d9e919d05",
"mint" : 0.23429600,
"time" : 1367554443,
"nonce" : 3143371264,
"bits" : "1d0092a2",
"difficulty" : 1.74583089,
"previousblockhash" : "0000000029575d10aa1b4fe4d30b32e909ff97a516212223b409ce961d849193",
"nextblockhash" : "000000007f066bf0e276e985b7bc15ad11aff905926ee7143268a594a858ed69",
"flags" : "proof-of-work",
"proofhash" : "000000007d3a22d3a8c90ddb6bce57186395498fc73fb628281c7851e169e376",
"entropybit" : 0,
"modifier" : "8753143b44b210d3",
"modifierchecksum" : "45c57057",
"tx" : [
"7ce6aa90ec2901b3c222028f6632dbad228d39c14308ceeaed0bef6d9e919d05"
],
"signature" : "3045022075a3cdc6fdd321d871ff0694d4cf53f8e3f22833e12ae0c08092d47b74d4e003022100e 27d2f1c894bb912de85618a240a3640161c8088a9ee721d7aec5ace532a26f3"
}

But getblock 000000001434e3763fbc593ae27c75903d81e3a29d96ff26d7696037a11a6870 returns

Quote
23:21:12

Block not found (code -5)

And the next block (4554) is 000000007f066bf0e276e985b7bc15ad11aff905926ee7143268a594a858ed69


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 04:26:31 AM
I think you're right about that, and I think I know how to fix it.  I'm working on that now.

Until then, I will suspend the pool so as not to waste any power.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 04:50:07 AM
Pool restarted.

So, I was thinking the fact that the blocks didn't seem to get through to the network might be because I was having the p2pool communicate with the Qt client, rather than using a proper bitbard.

So, I have now compiled the bitbard, and I'm using p2pool to connect to bitbard there.

I hope this works better.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: mrSprinkles on May 03, 2013, 04:52:05 AM
Pool restarted.

So, I was thinking the fact that the blocks didn't seem to get through to the network might be because I was having the p2pool communicate with the Qt client, rather than using a proper bitbard.

So, I have now compiled the bitbard, and I'm using p2pool to connect to bitbard there.

I hope this works better.

Excellent. My room went silent for a few minutes as the pool lost connection and I lay with my laptop in bed, a nice change; and now that humming has returned as you restarted it.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Rubberduckie on May 03, 2013, 04:52:13 AM
shares are being accepted :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 05:04:25 AM
Ok, great.  I hope this does what it should, but I'm still wondering about some of the other parameters....

Code:
P2P_PREFIX='cdf2c0ef'.decode('hex'),

This should be changed also. And don't forget about subsidy function.

To what?  Is changing this important when there is only one P2Pool Node?

How about the symbol parameter? (NVC in the original)

How do you suggest to adjust the subsidy function?

Thanks for your input so far.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Random Bit on May 03, 2013, 05:15:55 AM
block found let's see if it pays this time


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 03, 2013, 05:21:50 AM
Quote

00:19:50

getblock 0000000069f996a9e7aa1dcf026c388f3ddc1b85be31ffd50f29956b693c1f6d


00:19:50

Block not found (code -5)


Hmm...


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 05:27:35 AM
Doesn't look good.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 03, 2013, 05:41:42 AM
Possibly this isn't compatible with a P2Pool? I remember PPC having a similar problem, when Sunny announced that it simply doesn't support P2Pool.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: baka on May 03, 2013, 05:43:40 AM
Possibly this isn't compatible with a P2Pool? I remember PPC having a similar problem, when Sunny announced that it simply doesn't support P2Pool.

Then who the hell's mining 2 blocks every minute?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 05:57:49 AM
Possibly this isn't compatible with a P2Pool? I remember PPC having a similar problem, when Sunny announced that it simply doesn't support P2Pool.

Could be.  Even though we did start off from PPC-style compatible code, there could still be some other issues.

The other guy who cloned my code has the same issue, so that rules a few things out.

I think the key might be in that PREFIX.  rbdrbd experienced a delay with starting the connection to the BB P2P net, and I think the reason I don't have that is because of a difference in this PREFIX.  Still, my prefix might be wrong resulting in blocks not getting through to the network.

Any other ideas?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 03, 2013, 06:06:44 AM
I'm really sorry for the people who's hashing power I have wasted with this experiment.

If you appreciate my efforts, please donate some to the guy who pointed a rig at the pool before going to sleep :-\ and any others who have wasted a lot in the name of this test.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Passion_ltc on May 03, 2013, 09:17:24 AM
I'm really sorry for the people who's hashing power I have wasted with this experiment.

If you appreciate my efforts, please donate some to the guy who pointed a rig at the pool before going to sleep :-\ and any others who have wasted a lot in the name of this test.

You mean me right? Yea well, was bad. But you tried your best. :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 03, 2013, 03:42:56 PM

Asking for help over in the dev forum at https://bitcointalk.org/index.php?topic=194265.new#new

-Robby


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: kuusj98 on May 03, 2013, 08:05:56 PM
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?




I'll point my 1mh/s at it, see what it does, is this auto payment or what? The stat link you stated seems to be broken...
EDIT: It's down or do I have to do some magical stuff for it to mine? I just fill in the needed stuff at GUI-Miner but it doesn't "Mine".


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: xwebnetwork on May 03, 2013, 08:06:49 PM
Don't waste your time. He said it doesn't work, at least not yet.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: kuusj98 on May 03, 2013, 08:11:20 PM
Thats alright, any other BitBar pool around?
I have seen a "how to solo mine" guide but can't seem to find it now... Can anyone post somesort of tutorial on how to do it? Thx... I'll edit when I found it.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Rawr1337 on May 03, 2013, 08:13:26 PM
Here is another request for a Bitbar pool. Maybe if we have enough of a show of support we can get someone to look at this thread.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: TruCoin on May 03, 2013, 08:16:11 PM
can you still solo mine after encrypting your bitbar wallet?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: xwebnetwork on May 03, 2013, 08:17:04 PM
Thats alright, any other BitBar pool around?
I have seen a "how to solo mine" guide but can't seem to find it now... Can anyone post somesort of tutorial on how to do it? Thx... I'll edit when I found it.

Here: https://bitcointalk.org/index.php?topic=83371.0

Then just replace everything litecoin with bitbar, ie, the litecoin.conf becomes bitbar.conf, etc, etc.

And you don't need these 2 lines in your conf. At least I didn't use them and its working fine.

block_nTime=1317972665
block_nNonce=2084524493



Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 03, 2013, 08:19:40 PM
can you still solo mine after encrypting your bitbar wallet?


i think it's possible, wallet is no needed for mining


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 03, 2013, 08:24:55 PM
Here is another request for a Bitbar pool. Maybe if we have enough of a show of support we can get someone to look at this thread.
i'm testing pushpool as we speak :) but there is a lot of work with correct calculating of different reward per block


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: TheSwede75 on May 03, 2013, 08:54:11 PM
Here is another request for a Bitbar pool. Maybe if we have enough of a show of support we can get someone to look at this thread.
i'm testing pushpool as we speak :) but there is a lot of work with correct calculating of different reward per block

Feel free to PM me if you want someone to do alpha testing. I got a little bit of hash to throw away.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Petr1fied on May 03, 2013, 08:59:07 PM
I'll throw my 1.2 Mhash/s at your test pushpool if you provide me the details.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Rubberduckie on May 03, 2013, 09:01:09 PM
I'll throw my 1.2 Mhash/s at your test pushpool if you provide me the details.

likewise, I'll mine for you too :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 03, 2013, 09:12:44 PM
http://btb.binarycoins.eu/

but there is no working stats, i was not lucky enought to hit the block, so i am not sure if it's as it sould be


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Rubberduckie on May 03, 2013, 09:19:21 PM
mining now  :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: riku2015 on May 03, 2013, 09:31:50 PM
rbdrbd,

What was your problem with p2pool? i downloaded from your git and its working somehow.. hmm


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: mr_random on May 03, 2013, 09:32:19 PM
How is this working?

Is this pool better than the other BitBar pools?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: riku2015 on May 03, 2013, 09:37:20 PM
i have no idea how its working i still have very low hashpower to test, but i get this to log, dunno if that working right:

2013-05-04 00:29:13.144425  Pool: 308kH/s Stale rate: 35.8% Expected time to block: 20.8 hours
2013-05-04 00:29:13.686553 GOT SHARE! [removed] 6aa626de prev 2c17cb7f age 2.21s
2013-05-04 00:29:13.697926 New work for worker! Difficulty: 0.000244 Share difficulty: 0.000244 Total block value: 0.195625 BB including 1 transactions
2013-05-04 00:29:13.724540 GOT SHARE! [removed] prev 2c17cb7f age 2.25s DEAD ON ARRIVAL
2013-05-04 00:29:16.147741 P2Pool: 103 shares in chain (107 verified/107 total) Peers: 0 (0 incoming)
2013-05-04 00:29:16.148466  Local: 8738H/s in last 10.0 minutes Local dead on arrival: ~20.0% (3-63%) Expected time to share: 2.0 minutes
2013-05-04 00:29:16.148922  Shares: 161 (0 orphan, 58 dead) Stale rate: ~36.0% (29-44%) Efficiency: ~99.4% (87-111%) Current payout: 0.1656 BB
2013-05-04 00:29:16.149263  Pool: 279kH/s Stale rate: 35.6% Expected time to block: 23.0 hours



keep getting this DEAD ON ARRIVAL :D


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 03, 2013, 09:39:24 PM
Sending some hash over to help you test.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: riku2015 on May 03, 2013, 10:10:35 PM
If you wanna test to get lower time find block here is ip: use http://212.146.47.42:8336  add: -u addr -p x

rbdrbd mentioned about blocks don't get confirmated, lets see if anything happen




Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Rubberduckie on May 03, 2013, 11:40:11 PM
was the block confirmed @ http://212.146.47.42:8336/  ?   Got no payout yet :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Guru01 on May 03, 2013, 11:43:32 PM
Just threw 6 GPU at it, I get fast shares indeed.  Lets see !

How long until I see my address in the p2pool page?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: riku2015 on May 03, 2013, 11:51:41 PM
im looking onto it,

code needed to be changed to accept that coinbase things... maybe we need wait rbdrbd to come online to take a look.
Alot Thanks hash-help!
Dunno if anyone get payout, i looked into wallet and it says 0, even on daemon wallet also 0.. so nothing came from there, maybe better turn it off untill get it working. logs says failed


log got these:

bitbar daemon:
ThreadRPCServer method=submitblock
ThreadRPCServer method=getblock
ERROR: CheckBlock() : coinbase reward exceeded 18.64 > 0.18789
ERROR: ProcessBlock() : CheckBlock FAILED
--------------
p2pool:
2013-05-04 02:24:50.863671 GOT BLOCK FROM MINER! Passing to bitcoind! http://bitbar.biz/block/000000001b9a1e3381f59eb4fb13c9a7965e0bc2075eb3dff8f4b3c1bb750043
2013-05-04 02:24:51.000001 > Block submittal result: False (u'rejected') Expected: True


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Guru01 on May 03, 2013, 11:57:02 PM
 http://212.146.47.42:8336/ 

Down


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 03, 2013, 11:57:33 PM
im looking onto it,

code needed to be changed to accept that coinbase things... maybe we need wait rbdrbd to come online to take a look.
Alot Thanks hash-help!
Dunno if anyone get payout, i looked into wallet and it says 0, even on daemon wallet also 0.. so nothing came from there, maybe better turn it off untill get it working. logs says failed


log got these:

bitbar daemon:
ThreadRPCServer method=submitblock
ThreadRPCServer method=getblock
ERROR: CheckBlock() : coinbase reward exceeded 18.64 > 0.18789
ERROR: ProcessBlock() : CheckBlock FAILED
--------------
p2pool:
2013-05-04 02:24:50.863671 GOT BLOCK FROM MINER! Passing to bitcoind! http://bitbar.biz/block/000000001b9a1e3381f59eb4fb13c9a7965e0bc2075eb3dff8f4b3c1bb750043
2013-05-04 02:24:51.000001 > Block submittal result: False (u'rejected') Expected: True


Yeah, are you using j980's fork of p2pool, or did you make changes to the novacoin p2pool fork yourself? I have a feeling we still have some constants in networks.py that are off....


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Petr1fied on May 03, 2013, 11:58:13 PM
http://btb.binarycoins.eu/

but there is no working stats, i was not lucky enought to hit the block, so i am not sure if it's as it sould be

OK I'm on board. Going to leave it running overnight.  ;)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: riku2015 on May 04, 2013, 12:02:07 AM


Yeah, are you using j980's fork of p2pool, or did you make changes to the novacoin p2pool fork yourself? I have a feeling we still have some constants in networks.py that are off....

yes i am.
do we need to change something more? im following your topic at index.php?topic=194265.new#new

did you noticed the amouth of coins is wrong it should be 1 instead of 18


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 04, 2013, 12:04:19 AM
http://btb.binarycoins.eu/

but there is no working stats, i was not lucky enought to hit the block, so i am not sure if it's as it sould be

OK I'm on board. Going to leave it running overnight.  ;)

AWESOME. I'll throw some KH at it too. :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 04, 2013, 12:06:29 AM
http://btb.binarycoins.eu/

but there is no working stats, i was not lucky enought to hit the block, so i am not sure if it's as it sould be

Can you make a thread announcing this? That way others can see it.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: riku2015 on May 04, 2013, 12:15:33 AM
i think they having same problem there... about coinbase


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: reb0rn21 on May 04, 2013, 12:17:43 AM
Does that pool work, i mined a bit but i duno if it does


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Petr1fied on May 04, 2013, 12:23:44 AM
Only time (and finding a good block) will tell.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 04, 2013, 12:31:04 AM
i think they having same problem there... about coinbase

Yeah I see... no blocks mined yet...should have at least a few.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 12:42:17 AM
http://btb.binarycoins.eu/

but there is no working stats, i was not lucky enought to hit the block, so i am not sure if it's as it sould be

Can you make a thread announcing this? That way others can see it.
i am just testing it right now, i need make rewards run right, thats reason, why you can't see full stats, but something is already running

and we was found some blocks :)

    {
        "account" : "",
        "category" : "immature",
        "amount" : 0.18789000,
        "confirmations" : 7,
        "generated" : true,
        "blockhash" : "0000000016ef8068358559a7a0906b14e2317827671a4028d7abb3618e6b4194",
        "blockindex" : 0,
        "blocktime" : 1367626900,
        "txid" : "84ce4a8c3f5c9bf4ce57bf4042881f320b5e033aa4c7d9ff710fef66885248da",
        "time" : 1367626900,
        "timereceived" : 1367626903
    },
    {
        "account" : "",
        "category" : "immature",
        "amount" : 0.18789000,
        "confirmations" : 2,
        "generated" : true,
        "blockhash" : "000000002455911a7ddb18b9b8bd3bd6563fbf23140ea8aa321b15d9e44a8d2e",
        "blockindex" : 0,
        "blocktime" : 1367627450,
        "txid" : "753ea85bf3d768978814c27426d59315fe6fb72f89483e0eac1f10f7361eb7ab",
        "time" : 1367627450,
        "timereceived" : 1367627488
    }


thanks for testing :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: treiq on May 04, 2013, 12:59:43 AM
Nice, looks like the pool is working.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Petr1fied on May 04, 2013, 01:02:52 AM
Possibly this?

http://bitcoin.stackexchange.com/questions/9171/mmcfe-not-reporting-stats-from-pushpool-wallet

Oh and it'll take a long time to mature. You need 520 confirmations. :D


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: skyangel on May 04, 2013, 01:11:55 AM
i am just testing it right now, i need make rewards run right, thats reason, why you can't see full stats, but something is already running

and we was found some blocks :)
thanks for testing :)

Excellent news! I hope this pool works out.

You might also want to look at payout thresholds. 0.1 BTB withdrawal fee / 1.0 BTB minimum payout seems a bit high.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 01:12:11 AM
Possibly this?

http://bitcoin.stackexchange.com/questions/9171/mmcfe-not-reporting-stats-from-pushpool-wallet

Oh and it'll take a long time to mature. You need 520 confirmations. :D

probably. i am not sure yet..
from solo mining i have still one transaction not matured at 448 confirmations, but at 726 it is :)
    {
        "account" : "",
        "category" : "immature",
        "amount" : 0.21109300,
        "confirmations" : 448,
        "generated" : true,
        "blockhash" : "000000001341c02508afaed32b8fb50e95ee4f1fa7b569fc9b91ca29fbe5c792",
        "blockindex" : 0,
        "blocktime" : 1367580651,
        "txid" : "02a012c7a5fcf68f0462d1ab38934d1bdd771a7c8db886051472d68b8087e20c",
        "time" : 1367580651,
        "timereceived" : 1367580656
    }

but at the end, pool looks like working


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 01:12:47 AM
i am just testing it right now, i need make rewards run right, thats reason, why you can't see full stats, but something is already running

and we was found some blocks :)
thanks for testing :)

Excellent news! I hope this pool works out.

You might also want to look at payout thresholds. 0.1 BTB withdrawal fee / 1.0 BTB minimum payout seems a bit high.


i'll fix it of course :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Shmoopy on May 04, 2013, 01:21:18 AM
i am just testing it right now, i need make rewards run right, thats reason, why you can't see full stats, but something is already running

and we was found some blocks :)
thanks for testing :)

Excellent news! I hope this pool works out.

You might also want to look at payout thresholds. 0.1 BTB withdrawal fee / 1.0 BTB minimum payout seems a bit high.


i'll fix it of course :)

thanks for this Sido. I don't have much hash to offer, but I'm leaving this running for the next ~12 hours at least.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 04, 2013, 01:24:05 AM
nice work, joined your pool! it's only ~1,6 mh/s but every bit helps.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Petr1fied on May 04, 2013, 01:29:55 AM
Showing estimated payouts in the dashboard now. :D
http://i42.tinypic.com/6rtyfr.png


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sterob on May 04, 2013, 01:38:13 AM
http://btb.binarycoins.eu/

but there is no working stats, i was not lucky enought to hit the block, so i am not sure if it's as it sould be
so how many bar would per day  would i get with 1000 khash rig?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 04, 2013, 01:43:08 AM
Nice, appears to work. 45MH/s already, wow. Taking down 1/2 of my hashpower since I need to use this computer, but I'll keep it running.

Is an explorer for BTB in the works?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Petr1fied on May 04, 2013, 01:44:43 AM
http://btb.binarycoins.eu/

but there is no working stats, i was not lucky enought to hit the block, so i am not sure if it's as it sould be
so how many bar would per day  would i get with 1000 khash rig?

Hard question to answer. it depends on how many in the pool, how many shares you end up with, how many blocks are found. There's a lot of determining factors. At the rate BTB's are being created, most likely quite a bit under 1 a day.

But the price of BTB's is comparable to the price of BTC's with people currently getting between 0.5 -> 1 BTC for each whole BTB so it would likely be quite profitable when compared to some of the other mining opportunities.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 04, 2013, 01:46:24 AM
Assuming 0.5-1BTC/BTB, I'm estimating 200-400% profitability over BTC.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: flyingmonkeycrap on May 04, 2013, 01:50:55 AM
I can get any connection to binarycoins.eu:8333 did I miss type something or whats going on here


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 01:52:16 AM
I can get any connection to binarycoins.eu:8333 did I miss type something or whats going on here
9333 :) my bad, already fixed


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 02:25:07 AM
you are so hungry for btb :)

[warn] Error from accept() call: Too many open files

limit for open files increased :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 04, 2013, 02:26:32 AM
Congrats, 67MH/s and rising. Do you have 51% of the network already? Need some more pools for diversity.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: ZeroPAiN on May 04, 2013, 02:27:03 AM
Just joined adding 2Mh/s to the network  :P


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 02:36:50 AM
shit shit shit, we need bigger difficulty, i need to shut down pool for a while


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: ElBurro on May 04, 2013, 02:37:49 AM
shit shit shit, we need bigger difficulty, i need to shut down pool for a while
OK back to solo till you are back


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: spoid on May 04, 2013, 02:49:10 AM
pity. it was working so well. I've never had fewer stales with any pool before. :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: FuzzyBear on May 04, 2013, 02:55:03 AM
shit shit shit, we need bigger difficulty, i need to shut down pool for a while

what u running it on? windows or linux?

throw me the code and i'll host a pool as well?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: GSnak on May 04, 2013, 02:55:35 AM
Lol at the pool. It had 8 miners six hours ago. Now I'm not even in the top ten.  >:(


Though at least we found some blocks so we can get paid.


...actually it seems to have crashed, at least the stats have.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Guru01 on May 04, 2013, 02:59:52 AM
We found 6 blocks in a row lol


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Rubberduckie on May 04, 2013, 03:17:06 AM
is the pool back up again now?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 04, 2013, 03:18:02 AM
There is a protocol switch at block #9869 in the BitBar code.  Using p2pool before we have reached that block is not possible.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 04, 2013, 03:18:17 AM
Seems to be up, with even more hashrate.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: jimhsu on May 04, 2013, 03:19:00 AM
There is a protocol switch at block #9869 in the BitBar code.  Using p2pool before we have reached that block is not possible.

Do we need a client update?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 03:40:46 AM
shit shit shit, we need bigger difficulty, i need to shut down pool for a while

what u running it on? windows or linux?

throw me the code and i'll host a pool as well?

i'm running it in vmware on ubuntu server, i need sleep for a while, it's 5:30 AM right now :)

i am getting this error
[warn] Error from accept() call: Too many open files
so i am trying to find out what to do with it..

there is also different problem.. i need clean tables of shares, because i was changed difficulty (thought it will solve problem with too many open files :) but not ) if i'll not then counting of rewards will be messed


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: blastbob on May 04, 2013, 03:42:23 AM
shit shit shit, we need bigger difficulty, i need to shut down pool for a while

what u running it on? windows or linux?

throw me the code and i'll host a pool as well?

i'm running it in vmware on ubuntu server, i need sleep for a while, it's 5:30 AM right now :)

i am getting this error
[warn] Error from accept() call: Too many open files
so i am trying to find out what to do with it..

there is also different problem.. i need clean tables of shares, because i was changed difficulty (thought it will solve problem with too many open files :) but not ) if i'll not then counting of rewards will be messed


In mmfce files you got a folder called script.
should be a file called optmize linux or something.
Read that file and hopefully you get wiser


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Escalator21 on May 04, 2013, 03:43:23 AM
How long are the rounds?  Are the stats for round contributions correct on the pool stats page?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 03:44:13 AM


i'm running it in vmware on ubuntu server, i need sleep for a while, it's 5:30 AM right now :)

i am getting this error
[warn] Error from accept() call: Too many open files
so i am trying to find out what to do with it..

there is also different problem.. i need clean tables of shares, because i was changed difficulty (thought it will solve problem with too many open files :) but not ) if i'll not then counting of rewards will be messed


In mmfce files you got a folder called script.
should be a file called optmize linux or something.
Read that file and hopefully you get wiser
[/quote]

that's the kick which i was needed.. thanks a lot :)


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 03:47:46 AM
How long are the rounds?  Are the stats for round contributions correct on the pool stats page?
stats was correct until difficulty wasn't changed..  what now?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 03:54:51 AM


i'm running it in vmware on ubuntu server, i need sleep for a while, it's 5:30 AM right now :)

i am getting this error
[warn] Error from accept() call: Too many open files
so i am trying to find out what to do with it..

there is also different problem.. i need clean tables of shares, because i was changed difficulty (thought it will solve problem with too many open files :) but not ) if i'll not then counting of rewards will be messed


In mmfce files you got a folder called script.
should be a file called optmize linux or something.
Read that file and hopefully you get wiser

that's the kick which i was needed.. thanks a lot :)
[/quote]

but problem is still here :(


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 04, 2013, 03:59:37 AM


i'm running it in vmware on ubuntu server, i need sleep for a while, it's 5:30 AM right now :)

i am getting this error
[warn] Error from accept() call: Too many open files
so i am trying to find out what to do with it..

there is also different problem.. i need clean tables of shares, because i was changed difficulty (thought it will solve problem with too many open files :) but not ) if i'll not then counting of rewards will be messed


In mmfce files you got a folder called script.
should be a file called optmize linux or something.
Read that file and hopefully you get wiser

that's the kick which i was needed.. thanks a lot :)

but problem is still here :(
[/quote]

Those are kernel tweaks via sysctl.conf, mostly around networking. You could also try http://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/ (see the section on "Increase Open FD Limit at Linux OS Level")

http://linux-quirks.blogspot.com/2011/02/too-many-open-files.html may also be helpful.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: rbdrbd on May 04, 2013, 04:01:00 AM
There is a protocol switch at block #9869 in the BitBar code.  Using p2pool before we have reached that block is not possible.

Good to know we weren't insane or stupid with trying to set up p2pool. :)

Can you provide a github link to that part in the code? Seem like an intentional thing by the authors?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: j980 on May 04, 2013, 04:05:57 AM
There is a protocol switch at block #9869 in the BitBar code.  Using p2pool before we have reached that block is not possible.

Good to know we weren't insane or stupid with trying to set up p2pool. :)

Can you provide a github link to that part in the code? Seem like an intentional thing by the authors?

Search for "p2pool" in main.h. 

Yes, I think the switch was added by Balthazar to make it compatible with p2p, probably close to block 9869 for PPCoin.  But for BitBar this is still quite a bit off (30 days or so).


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 04:21:40 AM

Those are kernel tweaks via sysctl.conf, mostly around networking. You could also try http://www.cyberciti.biz/faq/linux-unix-nginx-too-many-open-files/ (see the section on "Increase Open FD Limit at Linux OS Level")

http://linux-quirks.blogspot.com/2011/02/too-many-open-files.html may also be helpful.


i was change limits for open files already, but also i was forgot close the screen.. but it's not enought still.. i need to reboot the server


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: xorxor on May 04, 2013, 04:31:07 AM
There is a protocol switch at block #9869 in the BitBar code.  Using p2pool before we have reached that block is not possible.

Good to know we weren't insane or stupid with trying to set up p2pool. :)

Can you provide a github link to that part in the code? Seem like an intentional thing by the authors?

Search for "p2pool" in main.h. 

Yes, I think the switch was added by Balthazar to make it compatible with p2p, probably close to block 9869 for PPCoin.  But for BitBar this is still quite a bit off (30 days or so).

yup, found that:

https://bitcointalk.org/index.php?topic=143221.msg1550632#msg1550632

looks like taken straight from NVC code.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: sido on May 04, 2013, 06:40:50 AM
i don't want to disturb your conversation, so i was made new topis https://bitcointalk.org/index.php?topic=194781.0 (https://bitcointalk.org/index.php?topic=194781.0) for pushpool


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: TheSwede75 on May 04, 2013, 04:47:41 PM
Holy shitsnacks, 0.1 BTB a day with 1 m/hash wtf. These things ARE rare!


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: LeftToeCut on May 07, 2013, 11:38:49 PM
Any p2pool forks ready once we hit block #9869 ?


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: RobRoy on May 07, 2013, 11:42:25 PM
Any p2pool forks ready once we hit block #9869 ?

Ready :)

http://p2pool.web2go.hu:8336/


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: walf_man on May 17, 2013, 11:27:20 AM
i hope you success.

i want to study how to mining new coin in p2pool


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Invest0r on May 17, 2013, 03:27:58 PM
Just a few days more.. I'd really like to see p2pools for bitbar.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: whitedragon on May 22, 2013, 12:50:46 PM
So is anybody out there ready to make a guide on how to modify p2pool when new coins come out yet?  Would be great if more of us out there could get pools going faster and maybe not have the orphan conventions on coin releases.

Then again...there are alot of coins that should just be allowed to orphan and fork themselves into oblivion as quickly as possible....


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: baloo_kiev on May 27, 2013, 08:17:28 PM
Hello!

I have found some lines that have to be modified here https://github.com/j980/p2pool

1) p2pool/bitcoin/networks.py line 11:
Code:
bnLowerBound = 0.0001

2) p2pool/bitcoin/networks.py line 15:
Code:
while bnLowerBound + 0.0001 <= bnUpperBound:

3) p2pool/bitcoin/networks.py line 25:
Code:
nSubsidy = nSubsidy - 0.0001

4) p2pool/bitcoin/networks.py line 39:
Code:
SUBSIDY_FUNC=lambda target: get_subsidy(6, 1, target),

5) p2pool/data.py line 16:
Code:
minout = pow(10, 6) / 10000;

Also, concerning block 9689 switch, I can't figure out what the stake entropy bit has to do with proof-of-work mining  ???

Now testing the pool at http://78.27.191.182:8333/. Unfortunately, I have less than 1MH/s




Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: baloo_kiev on May 28, 2013, 01:52:46 PM
Working source: https://github.com/baloo-kiev/p2pool
Public node (0% fee): http://78.27.191.182:8333/


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: baloo_kiev on May 29, 2013, 05:05:29 PM
Working source: https://github.com/baloo-kiev/p2pool
Public node (0% fee): http://78.27.191.182:8333/

Commited some more fixes. Already found 2 blocks. Read this: https://bitcointalk.org/index.php?topic=217894.0


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: Balthazar on August 22, 2013, 04:20:42 PM

Also, concerning block 9689 switch, I can't figure out what the stake entropy bit has to do with proof-of-work mining  ???
PoW blocks are used as the entropy source as well as PoS blocks.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: guugll on September 06, 2013, 10:51:58 PM
Hello!

I have found some lines that have to be modified here https://github.com/j980/p2pool

1) p2pool/bitcoin/networks.py line 11:
Code:
bnLowerBound = 0.0001

2) p2pool/bitcoin/networks.py line 15:
Code:
while bnLowerBound + 0.0001 <= bnUpperBound:

3) p2pool/bitcoin/networks.py line 25:
Code:
nSubsidy = nSubsidy - 0.0001

4) p2pool/bitcoin/networks.py line 39:
Code:
SUBSIDY_FUNC=lambda target: get_subsidy(6, 1, target),

5) p2pool/data.py line 16:
Code:
minout = pow(10, 6) / 10000;

Also, concerning block 9689 switch, I can't figure out what the stake entropy bit has to do with proof-of-work mining  ???

Now testing the pool at http://78.27.191.182:8333/. Unfortunately, I have less than 1MH/s




Hi , i am curious - how did you found this lines:

4) p2pool/bitcoin/networks.py line 39:
Code:
SUBSIDY_FUNC=lambda target: get_subsidy(6, 1, target),

here is the change from 100 to 1 (NVC vs BB) but why? (i try to get any direction - thx)

5) p2pool/data.py line 16:
Code:
minout = pow(10, 6) / 10000;

trying to mod your pool to Orbitcoin specs.


Title: Re: Need p2pool for BitBar. Any p2pool gods??
Post by: baloo_kiev on September 22, 2013, 11:51:11 PM

here is the change from 100 to 1 (NVC vs BB) but why? (i try to get any direction - thx)


Because BTB is NVC clone with 100 times less coins, i.e. the block reward is 100 times less.

5) p2pool/data.py line 16:
Code:
minout = pow(10, 6) / 10000;

The same here: minimal output (and minimal tx fee) is 100 times less in BTB (0.0001 vs. 0.01 in NVC)