Pages:
Author

Topic: Need p2pool for BitBar. Any p2pool gods?? (Read 10084 times)

sr. member
Activity: 476
Merit: 250
September 22, 2013, 06: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)
full member
Activity: 190
Merit: 100
September 06, 2013, 05: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  Huh

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.
legendary
Activity: 3108
Merit: 1359

Also, concerning block 9689 switch, I can't figure out what the stake entropy bit has to do with proof-of-work mining  Huh
PoW blocks are used as the entropy source as well as PoS blocks.
sr. member
Activity: 476
Merit: 250
sr. member
Activity: 476
Merit: 250
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  Huh

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


member
Activity: 84
Merit: 10
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....
member
Activity: 112
Merit: 10
Just a few days more.. I'd really like to see p2pools for bitbar.
member
Activity: 112
Merit: 10
i hope you success.

i want to study how to mining new coin in p2pool
hero member
Activity: 518
Merit: 500
full member
Activity: 154
Merit: 100
Any p2pool forks ready once we hit block #9869 ?
full member
Activity: 224
Merit: 100
Holy shitsnacks, 0.1 BTB a day with 1 m/hash wtf. These things ARE rare!
full member
Activity: 148
Merit: 100
i don't want to disturb your conversation, so i was made new topis https://bitcointalksearch.org/topic/annbtb-bitbar-pushpool-binarycoinseu-194781 for pushpool
sr. member
Activity: 476
Merit: 253
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. Smiley

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://bitcointalksearch.org/topic/m.1550632

looks like taken straight from NVC code.
full member
Activity: 148
Merit: 100

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
newbie
Activity: 42
Merit: 0
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. Smiley

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).
sr. member
Activity: 462
Merit: 250
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. Smiley

Can you provide a github link to that part in the code? Seem like an intentional thing by the authors?
sr. member
Activity: 462
Merit: 250


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

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 Smiley 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 Smiley

but problem is still here Sad
[/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.
full member
Activity: 148
Merit: 100


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

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 Smiley 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 Smiley
[/quote]

but problem is still here Sad
full member
Activity: 148
Merit: 100
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?
Pages:
Jump to: