Bitcoin Forum

Alternate cryptocurrencies => Altcoin Discussion => Topic started by: gritter on May 05, 2013, 12:46:57 PM



Title: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - 1% Fee - Stable and Fast!
Post by: gritter on May 05, 2013, 12:46:57 PM
ChinaCoin (CHNCoin) P2Pool Server:

http://cnc.crabdance.com:8107

  • located in US Central on a low latency 1Gbit link
  • based on latest v13.3 P2Pool
  • 4 Cores, 16GB Server
  • Pays out transactions fees to miners!
  • 1% Fee, PPLNS (P2Pool)
  • nicer interface based on P2PoolExtendedFrontEnd
  • this pool is using the latest CHNCoin client already, if you are not, get it from here https://bitcointalk.org/index.php?topic=322488.0

No account creation required, simply use your CHNCoin Address as username (password is ignored) and you will receive payouts instantly as soon as the next blocks are found (if you have submitted a valid share before the block was found, note that P2Pool share difficulty is higher than normal pools, so it will take some time for low hashrate miners to submit a valid share, however the payout at that point is also higher to compensate).

Mining User: Your CHNCoin Address
Mining Pass: Anything

cgminer example:
Quote
cgminer --scrypt -o cnc.crabdance.com:8107 -u yourCNCaddress -p x -s 1 --expiry 1 --gpu-threads 1 --queue 0

Tip:
Ensure the above cgminer settings are applied to get the lowest reject rates: run cgminer then press S and check that Scantime is 1, Expiry is 1 and Queue is 0, if not press S again and change Scantime to 1, press E to change Expiry to 1 and press Q to change Queue to 0. If all settings are correct it should look like this:

Code:
--------------------------------------------------------------------------------
 [P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  74.0C 2091RPM | 210.7K/211.5Kh/s | A: 60 R: 14 HW:0 U:  7.10/m I:16
--------------------------------------------------------------------------------

[Q]ueue: 0
[S]cantime: 1
[E]xpiry: 1
[W]rite config file
[C]gminer restart
Select an option or any other key to return

cudaminer example:
Quote
cudaminer -o cnc.crabdance.com:8107 -u yourCNCaddress -p x

cpuminer example:
Quote
minerd -o cnc.crabdance.com:8107 -u yourCNCaddress -p x

Dont know how to setup your miner? See this thread for AMD GPUs https://bitcointalk.org/index.php?topic=117221.0
When mining on CNC Pools you can follow the litecoin instructions and just change the pool adress to a CNC pool

P2Pool uses the PPLNS system which means after you start mining it will take some time to see the first payouts, usually about 1-2 hours, you DO get payouts if you stick with it!


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: Mushoz on May 05, 2013, 12:50:39 PM
How did you manage to connect to Blastbob's pool? I'm trying to run my own p2pool instance, but it won't connect to the p2pool network. I'm using this P2Pool fork: https://github.com/chrda/p2pool-chncoin

Would you mind sharing your source code? Thank you very much in advance!


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 01:02:33 PM
I've taken the network parameters from the codebase you quoted, it should work fine. It connects to blastbobs network by default (bootstrap address p2pool.chnco.in pool01.chnco.in, I think thats him), some other P2Pool for CNC have chosen their own network (maybe using different codebase).

Check that port 12388 is allowed through the firewall, it should connect to other peers then.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 01:17:04 PM
local node has around ~5MH/s now and running solid, thanks to anyone sending their hash here


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: Mushoz on May 05, 2013, 01:19:42 PM
I've taken the network parameters from the codebase you quoted, it should work fine. It connects to blastbobs network by default (bootstrap address p2pool.chnco.in pool01.chnco.in, I think thats him), some other P2Pool for CNC have chosen their own network (maybe using different codebase).

Check that port 12388 is allowed through the firewall, it should connect to other peers then.

Getting this error:

2013-05-05 15:14:29.149000 Joining p2pool network using port 12388...
2013-05-05 15:14:29.180000 > Unhandled Error
2013-05-05 15:14:29.180000 > Traceback (most recent call last):
2013-05-05 15:14:29.180000 > Failure: twisted.internet.error.DNSLookupError: DNS
 lookup failed: address 'p2pool.chnco.in' not found: [Errno 11001] getaddrinfo f
ailed.
2013-05-05 15:14:29.212000 > Unhandled Error
2013-05-05 15:14:29.212000 > Traceback (most recent call last):
2013-05-05 15:14:29.212000 > Failure: twisted.internet.error.DNSLookupError: DNS
 lookup failed: address 'pool01.chnco.in' not found: [Errno 11001] getaddrinfo f
ailed.

This was with the firewall disabled as a test. I'm assuming you are using 11.4 with just the networks.py files from the link I quoted earlier? Thank you very much for your help so far :)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: phorensic on May 05, 2013, 01:29:12 PM
Sending hashes your way.  The pushpool's have become ridiculous and I've never tried a p2pool before.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 01:32:35 PM
Quote
Sending hashes your way.  The pushpool's have become ridiculous and I've never tried a p2pool before.

Thats exactly why I choose to setup my own P2Pool, I was on pushpools as well but even though your local cgminer reports low stales it seems that the stale rate from pushpool's point of view is much higher resulting lower payout. So far on P2Pool Im seeing payout much closer to what it should be (variance is higher due to lower overall hashrate at the moment, but over time its definitely more than on the pushpool servers, for me at least)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 01:35:54 PM

2013-05-05 15:14:29.212000 > Unhandled Error
2013-05-05 15:14:29.212000 > Traceback (most recent call last):
2013-05-05 15:14:29.212000 > Failure: twisted.internet.error.DNSLookupError: DNS
 lookup failed: address 'pool01.chnco.in' not found: [Errno 11001] getaddrinfo f
ailed.

This was with the firewall disabled as a test. I'm assuming you are using 11.4 with just the networks.py files from the link I quoted earlier? Thank you very much for your help so far :)

Yes im using 11.4 with the networks.py from the link, re the DNSLookupError, it can be resolved by some DNS Servers, but others not, e.g. my local ISP's DNS doesnt resolve it (no idea why!), try putting 8.8.8.8 and 8.8.4.4 (Google Public DNS, it can resolve that adress) in your  /etc/resolv.conf


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: jdebunt on May 05, 2013, 01:36:10 PM
sending cpu power your way to see how this goes :)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: phorensic on May 05, 2013, 01:37:30 PM
Quote
Sending hashes your way.  The pushpool's have become ridiculous and I've never tried a p2pool before.

Thats exactly why I choose to setup my own P2Pool, I was on pushpools as well but even though your local cgminer reports low stales it seems that the stale rate from pushpool's point of view is much higher resulting lower payout. So far on P2Pool Im seeing payout much closer to what it should be (variance is higher due to lower overall hashrate at the moment, but over time its definitely more than on the pushpool servers, for me at least)
Yes my stale rate in cgminer was like a couple percent, but my payouts were getting to be 4 times less than they were 48 hours ago.  Something not right with the way pushpool scaled as the network hashrate went up and the difficulty still hasn't adjusted from 8.xx yet.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: sigesang on May 05, 2013, 01:39:32 PM

2013-05-05 15:14:29.212000 > Unhandled Error
2013-05-05 15:14:29.212000 > Traceback (most recent call last):
2013-05-05 15:14:29.212000 > Failure: twisted.internet.error.DNSLookupError: DNS
 lookup failed: address 'pool01.chnco.in' not found: [Errno 11001] getaddrinfo f
ailed.

This was with the firewall disabled as a test. I'm assuming you are using 11.4 with just the networks.py files from the link I quoted earlier? Thank you very much for your help so far :)

Yes im using 11.4 with the networks.py from the link, re the DNSLookupError, it can be resolved by some DNS Servers, but others not, e.g. my local ISP's DNS doesnt resolve it (no idea why!), try putting 8.8.8.8 and 8.8.4.4 (Google Public DNS, it can resolve that adress) in your  /etc/resolv.conf

You need to update BOOTSTRAP_NODES in networks.py.. see:
https://bitcointalk.org/index.php?topic=192907.msg2035190#msg2035190


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: RetardedMonkey on May 05, 2013, 01:46:25 PM
Getting a lot of shares, but my address isn't showing up in the 'payout' window even though there's been about 8 found blocks so far...

Usually with other p2pools I am straight in there after first block found.

What's the go?


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 01:47:24 PM
You need to update BOOTSTRAP_NODES in networks.py.. see:
https://bitcointalk.org/index.php?topic=192907.msg2035190#msg2035190

thanks for the tip, changing this node as well now (even though it seemed ok with the old adresses for me)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 01:49:15 PM
restarted node with updated blastbob network adresses, sorry for the inconvenience


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 01:51:20 PM
Getting a lot of shares, but my address isn't showing up in the 'payout' window even though there's been about 8 found blocks so far...

Usually with other p2pools I am straight in there after first block found.

What's the go?

i saw same issues on blastbob's pools, Im sorry I dont know the answer - im running on the official 11.4 P2Pool codebase - its possibly CNC related, allthough over time the payout looked ok to me!


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: RetardedMonkey on May 05, 2013, 01:57:40 PM
Interesting, because I haven't received a payout from bobs either for a while which is what another rig is on


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: TheSwede75 on May 05, 2013, 02:00:57 PM
Interesting, because I haven't received a payout from bobs either for a while which is what another rig is on

Bobs pool was throwing me stales overnight and very little payout but it seems to have been fixed now. Got about 1 MH/s running at it right now (pool01-cnc.coinloot.com:8499) with -s 5 --expiry 5 --queue 0 and am still getting about 12% stales/invalid but getting payouts every 20 min or so of around 2 CNC.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: RetardedMonkey on May 05, 2013, 02:02:33 PM
Okay, just got a payment then... hmm...


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: phorensic on May 05, 2013, 02:05:45 PM
Ahhhhh, this p2pool is feeding my GPU's much better than the flaky pushpool's were.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: Mushoz on May 05, 2013, 02:06:23 PM

2013-05-05 15:14:29.212000 > Unhandled Error
2013-05-05 15:14:29.212000 > Traceback (most recent call last):
2013-05-05 15:14:29.212000 > Failure: twisted.internet.error.DNSLookupError: DNS
 lookup failed: address 'pool01.chnco.in' not found: [Errno 11001] getaddrinfo f
ailed.

This was with the firewall disabled as a test. I'm assuming you are using 11.4 with just the networks.py files from the link I quoted earlier? Thank you very much for your help so far :)

Yes im using 11.4 with the networks.py from the link, re the DNSLookupError, it can be resolved by some DNS Servers, but others not, e.g. my local ISP's DNS doesnt resolve it (no idea why!), try putting 8.8.8.8 and 8.8.4.4 (Google Public DNS, it can resolve that adress) in your  /etc/resolv.conf

You need to update BOOTSTRAP_NODES in networks.py.. see:
https://bitcointalk.org/index.php?topic=192907.msg2035190#msg2035190

Thank you! Finally managed to connect :)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: phorensic on May 05, 2013, 02:22:14 PM
p2pool FTW!  Just made more in a hour than the last 12 hours on pushpool's.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: jdebunt on May 05, 2013, 02:29:15 PM
been mining for over an hour, 1000+ shares submitted, not on the payout list either...bah :)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 02:31:01 PM
let me know if you are getting expected payouts please

personally have my own 1MH/s pointed at the pool and made about 6.9 CNC in last hour (should be like 9CNC per hour at 1MH/s according to calculator and current difficulty, so its in the area, but not quite), since its P2Pool it might come in later though in a bigger burst (at least from what I have seen in the past)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 02:32:54 PM
been mining for over an hour, 1000+ shares submitted, not on the payout list either...bah :)

i know the feeling, however Ive been mining directly on bob's pools before where the same happened (not showing in list sometimes and no constant payouts) however after some time there was then suddenly a whole burst of transactions incoming at once, I asked in bobs thread if anyone knows why that is, but no answer so far, over time it seems the payout is correct though


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: jdebunt on May 05, 2013, 02:37:28 PM
Oh i will keep mining, see how it pans out in a few hours


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: TheSwede75 on May 05, 2013, 03:22:43 PM
been mining for over an hour, 1000+ shares submitted, not on the payout list either...bah :)

i know the feeling, however Ive been mining directly on bob's pools before where the same happened (not showing in list sometimes and no constant payouts) however after some time there was then suddenly a whole burst of transactions incoming at once, I asked in bobs thread if anyone knows why that is, but no answer so far, over time it seems the payout is correct though

Yeah I have noticed the vast inconsistency myself, but as you say over 24 hours or so it seems to line up with expectations somewhat so I'm keeping myself pointed. Got 1 rig at your pool and one straight to Bobs. Seem to be getting LOTS of stale from bobs though, and I see the stale rate on yours is pretty high as well.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 03:38:07 PM
gyverlb gave an answer in blastbobs thread, at the moment however Im still waiting for more payouts to happen, keeping an eye on it though

P2Pool is using the shares submitted for the last 24h or the last 3 blocks found whichever is the least.

Currently the difficulty is so low that blocks are found on average in ~1 minute. If you don't manage to submit a p2pool share (which have high difficulty) at least one time during the 3 block window (on average ~3 minutes) you don't get any payout.

So everything is fine: it adds variance for each payout but they happen often enough to smooth it out in a few hours for most people.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: jdebunt on May 05, 2013, 03:50:33 PM
well an hour later & still nothing so...ive tried changing the difficulty aswell or even use it without difficulty setting, doesn't seem to make any difference :)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: Tigggger on May 05, 2013, 04:18:34 PM
I mined for about an hour with 4.2Mh before I got my first 2 payments of about 2.4CHN each, then nothing for the following 30 minutes (and nothing since) and so I went back to a pushpool server.

In my experience every P2Pool I tried was the same, there is something inherently wrong with P2Pool that I presume is related to the PPLNS system they have implemented.

I initially thought that if I contributed 10% of the shares since the last block was found, I would receive 10% of the block (less fees), but it's not the case.

I read elsewhere that it might be looking at the last 3 blocks worth of shares when calculating the reward, given new blocks were coming every second and the reject rate was so high it's highly likely that you might have contributed 10% of the shares but at the moment the block is found you haven't submitted one in the last 3 seconds and therefore get nothing.

Please note I'm not having a go at the pool ops, they did a fantastic service to us all especially during the initial period after launch, but for me they need to go back to the simpler block found, count shares, send payment and dump the PPLNS part


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 04:56:18 PM
difficulty changed to 20 some time ago though, so in theory according calculator you should expect about 3.5CNC per hour at 1MHs/1000KHs


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 05:01:47 PM
I read elsewhere that it might be looking at the last 3 blocks worth of shares when calculating the reward, given new blocks were coming every second and the reject rate was so high it's highly likely that you might have contributed 10% of the shares but at the moment the block is found you haven't submitted one in the last 3 seconds and therefore get nothing.

I believe this is correct, however this should level out over time as sometimes you get lucky and have a share in the payout (and thus get more than you contributed to that block) and sometimes not (and thus get nothing), so only time will tell really :(


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: Tigggger on May 05, 2013, 05:13:36 PM
I read elsewhere that it might be looking at the last 3 blocks worth of shares when calculating the reward, given new blocks were coming every second and the reject rate was so high it's highly likely that you might have contributed 10% of the shares but at the moment the block is found you haven't submitted one in the last 3 seconds and therefore get nothing.

I believe this is correct, however this should level out over time as sometimes you get lucky and have a share in the payout (and thus get more than you contributed to that block) and sometimes not (and thus get nothing), so only time will tell really :(

I'm just trying to understand why they are set up this way rather than since the last found block, I can accept the variance of finding blocks but this then adds another layer of variance on top.

There have been many posts about not getting payments, or getting less than expected and people then leave. Surely it's in a pool ops interest to have more people on the pool. That lowers the variance and increases the fees so everyone gains, and I'd stick with one over a pushpool pplns.

CHN was my first venture into P2Pool's so I may be talking rubbish :)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: iGotSpots on May 05, 2013, 05:21:07 PM
Hopped in about 2 hours ago and already have 3 payments through and a couple more pending confirms. Just wanted to let people know that payments are currently working, in case they were wondering before joining in - Hop in, guys!


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: iGotSpots on May 05, 2013, 05:23:15 PM
Getting about 1/3 rejected right now, though, and I'm using the +numbers stuff after my address. Not gonna drop out over it or anything, but does anyone have an idea of how to get the rejects down? Probably nothing I can do on my end, but worth a shot asking


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 05:35:11 PM
I'm just trying to understand why they are set up this way rather than since the last found block, I can accept the variance of finding blocks but this then adds another layer of variance on top.

There have been many posts about not getting payments, or getting less than expected and people then leave. Surely it's in a pool ops interest to have more people on the pool. That lowers the variance and increases the fees so everyone gains, and I'd stick with one over a pushpool pplns.

very true, actually its possible to change payout to last 20 blocks for example, i just took the settings from blastbob's network, so if I change this now Im not sure I can stay connected to his network, currently the node has about 40MH/s though, so it would be feasible to give it a shot and disconnect from the network and push the payout to spread over 20 blocks


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: willhash4food on May 05, 2013, 05:51:02 PM
The share difficulty here is so insanely high that my miner can't put in work between blocks. Can you lower it?


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: jdebunt on May 05, 2013, 06:01:41 PM
gonna try & cpu mine here again for an hour, see what results we get..


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 06:03:28 PM
The share difficulty here is so insanely high that my miner can't put in work between blocks. Can you lower it?

you can try the following, the p2pool server sets the difficulty dynamically otherwise:

Tips to reduce DOA rate:(taken from Narken's thread)
You can set your share difficulty by adding +0.0000xxxx to your CHNcoin adress:

yourCNCaddress+0.0004872

Recommend share difficulty:

Hash Rate (KHash/s)   Difficulty
1   +0.00000116
5   +0.00000582
10   +0.00001164
50   +0.00005821
100   +0.00011641
250   +0.00029103
500   +0.00058207
750   +0.00087310
1000   +0.00116414


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: Tigggger on May 05, 2013, 06:05:46 PM
very true, actually its possible to change payout to last 20 blocks for example, i just took the settings from blastbob's network, so if I change this now Im not sure I can stay connected to his network, currently the node has about 40MH/s though, so it would be feasible to give it a shot and disconnect from the network and push the payout to spread over 20 blocks

Don't risk messing your setup, if this is something you decide to do, see if bob is agreeable to doing the same, then you should have less problems.

For me personally I don't think it would matter too much, I'm after a completely different setup, one that counts shares since the last block was found and then pays out instantly, so with 10% of the shares I'd get 10% of the payout, if that takes a second or an hour then that's standard variance that I can live with.

PPLNS serves no purpose on P2Pool IMHO (**newbie so if it does I'd love to understand why), the pool has no risks of going broke with bad luck, it only pays out what it recieves minus a fee for profit.

Thanks for taking the time to respond, like I said earlier not having a dig at you or any other pool ops, keep up the good work :)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: wacko on May 05, 2013, 06:12:30 PM
you can try the following, the p2pool server sets the difficulty dynamically otherwise:

Tips to reduce DOA rate:(taken from Narken's thread)
You can set your share difficulty by adding +0.0000xxxx to your CHNcoin adress:

yourCNCaddress+0.0004872

Recommend share difficulty:

Hash Rate (KHash/s)   Difficulty
1   +0.00000116
5   +0.00000582
10   +0.00001164
50   +0.00005821
100   +0.00011641
250   +0.00029103
500   +0.00058207
750   +0.00087310
1000   +0.00116414
Could anyone elaborate how does it work exactly, I set those +0.xxx in cgminer configs, but I've got several rigs and each has several cards.. is it set per address (since it's address+0.xxx) and therefore all hashing power combined, or per rig (all cards' in one rig hashrate combined) or per card in rig (if so, which card since there are different cards in one rig)? I played with those "+0.xxx" options but not only that didn't help with rejected rate (~30-35% in my case which is really A LOT :) ) I've also had "cgminer has stopped working" on one of the faster rigs (4*7970s) after a few minutes of running with that "+0.xxx" option set.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: bitterdog on May 05, 2013, 06:44:47 PM
it this correct?

https://i.imgur.com/YgbaAkm.png


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 05, 2013, 06:53:04 PM
seems like theres some issue?

not sure that number is accurate, afaik thats the payout for the default address of the pool only, its not accurate and it fluctuates between 0 and peanuts :)

im going to be off for the next couple hours, cross fingers!



Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: Narken on May 05, 2013, 07:36:30 PM
you can try the following, the p2pool server sets the difficulty dynamically otherwise:

Tips to reduce DOA rate:(taken from Narken's thread)
You can set your share difficulty by adding +0.0000xxxx to your CHNcoin adress:

yourCNCaddress+0.0004872

Recommend share difficulty:

Hash Rate (KHash/s)   Difficulty
1   +0.00000116
5   +0.00000582
10   +0.00001164
50   +0.00005821
100   +0.00011641
250   +0.00029103
500   +0.00058207
750   +0.00087310
1000   +0.00116414
Could anyone elaborate how does it work exactly, I set those +0.xxx in cgminer configs, but I've got several rigs and each has several cards.. is it set per address (since it's address+0.xxx) and therefore all hashing power combined, or per rig (all cards' in one rig hashrate combined) or per card in rig (if so, which card since there are different cards in one rig)? I played with those "+0.xxx" options but not only that didn't help with rejected rate (~30-35% in my case which is really A LOT :) ) I've also had "cgminer has stopped working" on one of the faster rigs (4*7970s) after a few minutes of running with that "+0.xxx" option set.

You set it per miner per card  based on the card's hashrate. But test it around for best options.

See more tips in my thread if needed:

https://bitcointalk.org/index.php?topic=193216.0


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: phorensic on May 05, 2013, 08:56:20 PM
Down for a few hours for me.  Off to another p2pool....grrrrrrrrrrr.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 02:52:19 AM
up again! sorry was offline and there was a DNS issue :( fixed now

efficiency currently at 120% after some further server tweaks


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: sikman on May 06, 2013, 04:09:38 AM
 pointed 1 of my rigs that has 1200 kh/s all I got 99% of the time is requested restart and over 5min I got 8 shares....any other time would be 10X that amount



Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: 2fast4u on May 06, 2013, 04:32:23 AM
Worst pool, eight hours 0.38 CNC  Speed 2Khs


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 04:38:58 AM
pointed 1 of my rigs that has 1200 kh/s all I got 99% of the time is requested restart and over 5min I got 8 shares....any other time would be 10X that amount

in cgminer you will see lines like this constantly (like every couple seconds):

Quote
[2013-05-06 12:29:34] Stratum from pool 0 requested work restart

This is normal operation of P2Pool, it doesnt affect your payout. The low number of shares is also expected as P2Pool only counts shares with high enough difficulty, this is also normal operation, Im seeing the same on my 1000KH/s rig.

I have 1200kh/s pointed at the pool, according to http://cnc.strament.com/calculator.php that should net 101.7 CNC per 24 hours, or 4.23 per hour.

I started mining again when the pool was up exactly 2.5 hours before now, since then I have received 8.5 CNC, at the theoretical rate I should see 10.575 CNC for 2.5 hours work, so its about 2 CNC short. Given that all CNC P2Pools I have seen, including this one, have about ~20% DOA Shares, that would account for the missing ~2 CNC.

So Im assuming so far the payouts are working as expected given the ~20% DOA shares, please report your own payouts if you suspect any issues.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 04:39:42 AM
Worst pool, eight hours 0.38 CNC  Speed 2Khs

so sorry, the pool was down for a couple hours - if you had a failover server defined in cgminer it probably mined there, its only up since 2.5 hours again :(


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 04:42:35 AM
Worst pool, eight hours 0.38 CNC  Speed 2Khs

Btw I assume you mean 2000Kh/s? at 2Kh/s 0.38 CNC would be a good payout :)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 05:25:55 AM
just noticed that even though you use the cmdline options for cgminer from the first post it might not set the Scantime and Expiry correctly (e.g. if you had a slightly corrupted cgminer.conf file, which I just found out to be my case), which is quite important to get good results.

You can check (or change) if the values are correct (Scantime: 5, Expiry 5) by pressing S while cgminer is running, then press S again to change the Scantime to 5, then E to change the Expiry to 5 if they are not, e.g. it should look like this:

Code:
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  74.0C 2092RPM | 214.9K/216.3Kh/s | A:46 R:15 HW:0 U:6.42/m I:17
--------------------------------------------------------------------------------

[Q]ueue: 1
[S]cantime: 5
[E]xpiry: 5
[W]rite config file
[C]gminer restart
Select an option or any other key to return

This should reduce rejected shares in most cases if you were running with Scantime 60 and Expiry 120 before, which are the defaults


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 06:49:51 AM
did some more testing and for me Scantime=1 and Expiry=1 seems to slightly lower rejects compared to Scantime=5 and Expiry=5

so I recommend to use Scantime 1 and Expiry 1 for the moment, anyone else observed this?

updating first post cmdline's accordingly


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 07:09:48 AM
anyone care to comment on payouts (whether good or bad!)? personally im seeing more or less expected payouts at 1200KH/s, the payout statistics on the graphs page seem wrong though, I get sometimes more and sometimes less than reported there, not sure why the stats are not correct, check your wallet to see if you are getting expected payouts (looking at 2 or 3 hour periods, since this is PPLNS there is variance)


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: 2fast4u on May 06, 2013, 07:31:40 AM
Worst pool, eight hours 0.38 CNC  Speed 2Khs

Btw I assume you mean 2000Kh/s? at 2Kh/s 0.38 CNC would be a good payout :)
It's my mistake, certainly 2000Khs.


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 01:05:28 PM
decided to disconnect from the p2pool network used by https://github.com/chrda/p2pool-chncoin and run the node standalone (one small node in asia is also joined atm) with some tweaked parameters (instead of last 3 blocks from the aforementioned code it should now consider any shares submitted over last 120 blocks, this is same as most feathercoin p2pool's), this should result in much better payouts for everyone, first block was already found!

due to the changeover there was about 20 minutes of hickup for all miners, sorry about that but hopefully the payouts will be better now!


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 01:22:39 PM
next block should come soon, start pointing hash here to join the bonanza :)

pretty sure the payouts here should now be better than most CNC pushpools and other p2pools!


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 01:35:22 PM
DOA Shares under 5%!


Title: Re: [ANN][CNC][P2pool] - Fast ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: phorensic on May 06, 2013, 01:35:44 PM
did some more testing and for me Scantime=1 and Expiry=1 seems to slightly lower rejects compared to Scantime=5 and Expiry=5

so I recommend to use Scantime 1 and Expiry 1 for the moment, anyone else observed this?

updating first post cmdline's accordingly
Yes I set both to 1 as recommended by many other scrypt tuning threads and it works well.


Title: Re: [ANN][CNC][P2pool] - ChnCoin P2Pool <5% DOA! - http://cnc.crabdance.com:8400
Post by: 2fast4u on May 06, 2013, 02:02:03 PM
1 worker Accept 163 Reject 48
2 worker   Accept 460 Reject 120

7 hours 2000 Khs only 10 CNC!!


Title: Re: [ANN][CNC][P2pool] - ChnCoin P2Pool <5% DOA! - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 02:03:26 PM
waiting for next block to be found to trigger payouts, go go go :)


Title: Re: [ANN][CNC][P2pool] - ChnCoin P2Pool <5% DOA! - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 02:08:40 PM
1 worker Accept 163 Reject 48
2 worker   Accept 460 Reject 120

7 hours 2000 Khs only 10 CNC!!

first of all, thanks for sending hash here

rejects are normal, if somewhat high, are you running with the parameters mentioned in first post?

re the payouts, an hour ago I disconnected this pool from blastbobs (and others that mine there) p2pool network and deployed a P2Pool version that uses the same parameters commonly used by the FeatherCoin P2Pools (which have less payout issues than were reported for the CNC P2Pools)

I did this since I was just seeing to low payouts on the other P2Pools, I really believe by changing to FeatherCoin-style parameters the payouts should be more fair now

so far 1 block was found since the new parameters are in place and payouts for the miners connected then were certainly higher, now just waiting for next pool to be found and get more hash into this pool to get higher payout frequencies

basically I dont want to run a pool, but I felt other CNC pools were just paying out really badly, hence I started this one, if anyone has any tips re optimizing P2Pool or re making the payouts more fair Im all ears!


Title: Re: [ANN][CNC][P2pool] - ChnCoin P2Pool <5% DOA! - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 04:25:21 PM
after 3 hours only 1 block was found, so something must be wrong or extremly unlucky, so I decided to hook back onto blastbobs P2Pool network, at least variance is lower there than 1 block every X hours standalone


Title: Re: [ANN][CNC][P2pool] - ChnCoin P2Pool <5% DOA! - http://cnc.crabdance.com:8400
Post by: Narken on May 06, 2013, 04:51:39 PM
after 3 hours only 1 block was found, so something must be wrong or extremly unlucky, so I decided to hook back onto blastbobs P2Pool network, at least variance is lower there than 1 block every X hours standalone

Dont connect to bob's nodes.

He's not allowing outgoing node traffic.

Seems like sometimes our shares are not shared with bob's shares

I think your shares might missing sometimes then resultning in zero payouts


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 05:31:39 PM
http://litepool.eu:8400/static/ this is the best p2pool node, been using it for 24 hours with no issues now made 1000 chinacoin!

its connected to blastbobs pool as well, so basically the payouts are the same...except the DOA is higher and efficiency lower than my node here, so no thanks :)


Title: Re: [ANN][CNC][P2pool] - ChnCoin P2Pool <5% DOA! - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 05:42:33 PM
after 3 hours only 1 block was found, so something must be wrong or extremly unlucky, so I decided to hook back onto blastbobs P2Pool network, at least variance is lower there than 1 block every X hours standalone

Dont connect to bob's nodes.

He's not allowing outgoing node traffic.

Seems like sometimes our shares are not shared with bob's shares

I think your shares might missing sometimes then resultning in zero payouts

argh! thanks for the hint, i suspected something was not quite right, the payouts feel spotty sometimes, changing again now, sorry to the miners for the hickups, getting there!


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 06, 2013, 05:53:40 PM
http://litepool.eu:8400/static/ this is the best p2pool node, been using it for 24 hours with no issues now made 1000 chinacoin!

its connected to blastbobs pool as well, so basically the payouts are the same...except the DOA is higher and efficiency lower than my node here, so no thanks :)

How do you know its connected to blastbobs pool?

because it is, and since you are spamming it and hence probably control it you should know too :)


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 12:03:15 AM
crashed while joining the new P2Pool network while I was away :(

up and running fine again now!


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 12:37:42 AM
someone PM'd me about the outage before as well, all I can say is sorry, i switched to another p2pool network where payouts hopefully works as intended, this is live now, after the switch was made the node never synced up properly, since I was afk I didnt notice until a couple hours later.

anyways, its working fine now, and paying out already!


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: LeftToeCut on May 07, 2013, 12:53:21 AM
gritter , which network did you switch to ? what are the hosts?


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gyverlb on May 07, 2013, 12:57:13 AM
someone PM'd me about the outage before as well, all I can say is sorry, i switched to another p2pool network where payouts hopefully works as intended, this is live now, after the switch was made the node never synced up properly, since I was afk I didnt notice until a couple hours later.

anyways, its working fine now, and paying out already!
care to share how to join this network ?


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: erk on May 07, 2013, 01:04:58 AM
I have seen the Pool Rate dropping over the last few hours, is that the same for everyone or am I loosing some BOOTSTRAP_ADDRS?

Pool rate: 142MH/s (29% DOA+orphan) Share difficulty: 0.105


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 01:36:52 AM
someone PM'd me about the outage before as well, all I can say is sorry, i switched to another p2pool network where payouts hopefully works as intended, this is live now, after the switch was made the node never synced up properly, since I was afk I didnt notice until a couple hours later.

anyways, its working fine now, and paying out already!
care to share how to join this network ?

Im using the code from https://github.com/skralg/p2pool-feathercoin now, this will bootstrap to http://chn.p2pool.skralg.com:8109



Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gyverlb on May 07, 2013, 01:40:04 AM
someone PM'd me about the outage before as well, all I can say is sorry, i switched to another p2pool network where payouts hopefully works as intended, this is live now, after the switch was made the node never synced up properly, since I was afk I didnt notice until a couple hours later.

anyways, its working fine now, and paying out already!
care to share how to join this network ?

Im using the code from https://github.com/skralg/p2pool-feathercoin now, this will bootstrap to http://chn.p2pool.skralg.com:8109

SHARE_PERIOD and SPREAD are still badly chosen for CHNCoin. That won't make many miners happy...


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 01:41:02 AM
I have seen the Pool Rate dropping over the last few hours, is that the same for everyone or am I loosing some BOOTSTRAP_ADDRS?

Pool rate: 142MH/s (29% DOA+orphan) Share difficulty: 0.105

I have not noticed that, e.g. the pool from the github code linked in the previous code is at the following values for me, taken from my node at http://cnc.crabdance.com:8400/static/

Pool Rate 295MH/s (37% DOA+orphan)
Peers 6 out, 5 in

From the "root" node at http://chn.p2pool.skralg.com:8109/static/

Pool rate: 293MH/s (36% DOA+orphan)
Peers: 4 out, 11 in


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 01:44:55 AM
someone PM'd me about the outage before as well, all I can say is sorry, i switched to another p2pool network where payouts hopefully works as intended, this is live now, after the switch was made the node never synced up properly, since I was afk I didnt notice until a couple hours later.

anyways, its working fine now, and paying out already!
care to share how to join this network ?

Im using the code from https://github.com/skralg/p2pool-feathercoin now, this will bootstrap to http://chn.p2pool.skralg.com:8109

SHARE_PERIOD and SPREAD are still badly chosen for CHNCoin. That won't make many miners happy...

YES, #$%@#, I setup my standalone node with SHARE_PERIOD=30 and SPREAD=120 (what some FeatherCoin P2Pools were using), however even with 40MH/s only 1 block was found in 3 hours, that could be extremly unlucky, but rather I think something was wrong, however I used the same code that worked fine connected to bob's network before, so not sure if changing SHARE_PERIOD and SPREAD too aggressively will cause blocks not to be found :(

Do you know if its possible to set them to 30/120? Here is what I had tested (first tested with 30/120, then after no block found for 2.5 hours got cold feet and tried 5/120 thinking that long share_period might somehow affect finding blocks, probably not the case, but I dont know!):

p2pool/networks.py:
Code:
    
litecoin=math.Object(
        PARENT=networks.nets['litecoin'],
        SHARE_PERIOD=5, # seconds
        CHAIN_LENGTH=12*60*60//10, # shares
        REAL_CHAIN_LENGTH=12*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares
        SPREAD=120, # blocks
        IDENTIFIER='4665617468657221'.decode('hex'),
        PREFIX='b131010ba6d4729a'.decode('hex'),
        P2P_PORT=12388,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=8800,
        BOOTSTRAP_ADDRS='42.2.216.54'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
),

p2pool/bitcoin/networks.py:
Code:
    litecoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=8106,
        ADDRESS_VERSION=28,
        RPC_PORT=8108,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'chncoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 88*100000000 >> (height + 1)//462528000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=60, # s
        SYMBOL='CNC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'chncoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/chncoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.chncoin'), 'chncoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://cnc.cryptocoinexplorer.com/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://cnc.cryptocoinexplorer.com/address/',
        SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,


some minor thing that doesnt look right is
Code:
SUBSIDY_FUNC=lambda height: 88*100000000 >> (height + 1)//462528000

shouldnt it be? (two zeroes less?)

Code:
SUBSIDY_FUNC=lambda height: 88*100000000 >> (height + 1)//4625280


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gyverlb on May 07, 2013, 01:54:11 AM
someone PM'd me about the outage before as well, all I can say is sorry, i switched to another p2pool network where payouts hopefully works as intended, this is live now, after the switch was made the node never synced up properly, since I was afk I didnt notice until a couple hours later.

anyways, its working fine now, and paying out already!
care to share how to join this network ?

Im using the code from https://github.com/skralg/p2pool-feathercoin now, this will bootstrap to http://chn.p2pool.skralg.com:8109

SHARE_PERIOD and SPREAD are still badly chosen for CHNCoin. That won't make many miners happy...

YES, #$%@#, I setup my standalone node with SHARE_PERIOD=30 and SPREAD=120 (what some FeatherCoin P2Pools were using), however even with 40MH/s only 1 block was found in 3 hours, that could be extremly unlucky.

Hum should have been ~35 minutes. But it's quite possible to have bad luck like this.

If you are truly standalone :
- make sure nothing can connect to your node,
- it doesn't have any data to find peers from,
- it doesn't have any bootstrap seeds.

You can play with share_period and spread any way you want (you could mine solo connecting directly to your chncoind too, but p2pool's web interface, especially with the enhancements you can find on github, is far nicer).

But if you missed any of the points above hell will break lose : your node will not understand why its shares aren't accepted by the rest of the network and vice-versa. If it becomes overloaded trying to make heads from tails on a fast coin like CHNCoin you might easily generate orphans.


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gyverlb on May 07, 2013, 01:58:35 AM
some minor thing that doesnt look right is
Code:
SUBSIDY_FUNC=lambda height: 88*100000000 >> (height + 1)//462528000

shouldnt it be? (two zeroes less?)

Code:
SUBSIDY_FUNC=lambda height: 88*100000000 >> (height + 1)//4625280

Hum, didn't check CHNCoin actual subsidy rule, but I suppose you are right. Shouldn't be a problem right now: this would generate invalid block only after the first block reward halving.


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 01:59:37 AM
Hum should have been ~35 minutes. But it's quite possible to have bad luck like this.

If you are truly standalone :
- make sure nothing can connect to your node,
- it doesn't have any data to find peers from,
- it doesn't have any bootstrap seeds.

You can play with share_period and spread any way you want (you could mine solo connecting directly to your chncoind too, but p2pool's web interface, especially with the enhancements you can find on github, is far nicer).


Thanks for your insight!

All the above was correct, e.g. node was really standalone with no old peers (firewall blocked and clean codebase and me observing peers: 0), no bootstrap since i had removed that (ip in code up there was just a 2nd testnode running same params i had setup).

So maybe it was really bad bad bad luck, but still having such bad luck was probably not going to be acceptable for miners :)

I might still try again then with those optimized parameters on a separate node from this one.


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: erk on May 07, 2013, 02:03:27 AM
I have seen the Pool Rate dropping over the last few hours, is that the same for everyone or am I loosing some BOOTSTRAP_ADDRS?

Pool rate: 142MH/s (29% DOA+orphan) Share difficulty: 0.105

I have not noticed that, e.g. the pool from the github code linked in the previous code is at the following values for me, taken from my node at http://cnc.crabdance.com:8400/static/

Pool Rate 295MH/s (37% DOA+orphan)
Peers 6 out, 5 in

From the "root" node at http://chn.p2pool.skralg.com:8109/static/

Pool rate: 293MH/s (36% DOA+orphan)
Peers: 4 out, 11 in

Hmm only getting half those figures. It was up over 400MH/s Pool rate 6 hours ago.
I am still running Version: 11.3-16-g104a596-dirty could that be a problems?



Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 02:18:20 AM
I have seen the Pool Rate dropping over the last few hours, is that the same for everyone or am I loosing some BOOTSTRAP_ADDRS?

Pool rate: 142MH/s (29% DOA+orphan) Share difficulty: 0.105

I have not noticed that, e.g. the pool from the github code linked in the previous code is at the following values for me, taken from my node at http://cnc.crabdance.com:8400/static/

Pool Rate 295MH/s (37% DOA+orphan)
Peers 6 out, 5 in

From the "root" node at http://chn.p2pool.skralg.com:8109/static/

Pool rate: 293MH/s (36% DOA+orphan)
Peers: 4 out, 11 in

Hmm only getting half those figures. It was up over 400MH/s Pool rate 6 hours ago.
I am still running Version: 11.3-16-g104a596-dirty could that be a problems?



are you using https://github.com/skralg/p2pool-feathercoin ?


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: erk on May 07, 2013, 02:30:49 AM
I have seen the Pool Rate dropping over the last few hours, is that the same for everyone or am I loosing some BOOTSTRAP_ADDRS?

Pool rate: 142MH/s (29% DOA+orphan) Share difficulty: 0.105

I have not noticed that, e.g. the pool from the github code linked in the previous code is at the following values for me, taken from my node at http://cnc.crabdance.com:8400/static/

Pool Rate 295MH/s (37% DOA+orphan)
Peers 6 out, 5 in

From the "root" node at http://chn.p2pool.skralg.com:8109/static/

Pool rate: 293MH/s (36% DOA+orphan)
Peers: 4 out, 11 in

Hmm only getting half those figures. It was up over 400MH/s Pool rate 6 hours ago.
I am still running Version: 11.3-16-g104a596-dirty could that be a problems?



are you using https://github.com/skralg/p2pool-feathercoin ?

No, I think I am using the version from git clone https://github.com/chrda/p2pool-chncoin.git is that a problem?





Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 02:51:30 AM
I have seen the Pool Rate dropping over the last few hours, is that the same for everyone or am I loosing some BOOTSTRAP_ADDRS?

Pool rate: 142MH/s (29% DOA+orphan) Share difficulty: 0.105

I have not noticed that, e.g. the pool from the github code linked in the previous code is at the following values for me, taken from my node at http://cnc.crabdance.com:8400/static/

Pool Rate 295MH/s (37% DOA+orphan)
Peers 6 out, 5 in

From the "root" node at http://chn.p2pool.skralg.com:8109/static/

Pool rate: 293MH/s (36% DOA+orphan)
Peers: 4 out, 11 in

Hmm only getting half those figures. It was up over 400MH/s Pool rate 6 hours ago.
I am still running Version: 11.3-16-g104a596-dirty could that be a problems?



are you using https://github.com/skralg/p2pool-feathercoin ?

No, I think I am using the version from git clone https://github.com/chrda/p2pool-chncoin.git is that a problem?





then you are connected to blastbobs p2pool network, that github was also updated a couple hours ago with new network identifiers/ports, so you would have to update, however i was on that network before and sometimes payouts for my nodes miners were missing somehow, i think someone explained a couple posts before in this thread why this might be.

im just setting up another network to test now actually, bit fed up with the stuff out there so far :)


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 03:02:32 AM
I setup a test node with better P2Pool parameters, if anyone wants to point miners at it here it goes (and yes if blocks are found this will pay better than if you join an existing p2pool since you will be first in line and the parameters are more sensible too):

http://paysmorecnc.crabdance.com:8888/

If anyone wants to join their node to the network they can get the original P2Pool code (11.4) from https://github.com/forrestv/p2pool
You would start P2Pool just as if you would want to mine litecoin (after making the below code changes!), so e.g. I use:
Code:
./run_p2pool.py --net litecoin -a yourChnCoinAddress --w 8888 --bitcoind-p2p-port 8106 --bitcoind-rpc-port 8108 yourChncoindUser yourChncoindPass

then exchange the litecoin= definitions in p2pool/networks.py and p2pool/bitcoin/networks.py as follows:

p2pool/networks.py:
Code:
    litecoin=math.Object(
        PARENT=networks.nets['litecoin'],
        SHARE_PERIOD=30, # seconds
        CHAIN_LENGTH=12*60*60//10, # shares
        REAL_CHAIN_LENGTH=12*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares
        SPREAD=120, # blocks
        IDENTIFIER='43484E636F696D21'.decode('hex'),
        PREFIX='B4C305FD74B0DEBE'.decode('hex'),
        P2P_PORT=12338,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=8888,
        BOOTSTRAP_ADDRS='paysmorecnc.crabdance.com'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-alt',
        VERSION_CHECK=lambda v: True,
    ),

p2pool/bitcoin/networks.py:
Code:
    litecoin=math.Object(
        P2P_PREFIX='fbc0b6db'.decode('hex'),
        P2P_PORT=8106,
        ADDRESS_VERSION=28,
        RPC_PORT=8108,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'chncoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 88*100000000 >> (height + 1)//4625280,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=60, # s
        SYMBOL='CNC',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'chncoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/chncoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.chncoin'), 'chncoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://cnc.cryptocoinexplorer.com/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://cnc.cryptocoinexplorer.com/address/',
        SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
    ),


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 07, 2013, 03:58:35 AM
need some more hashrate at http://paysmorecnc.crabdance.com:8888/
point your miners there, DOA is very low!


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 08, 2013, 02:40:09 AM
removed the test node at paysmorecnc.crabdance.com:8888 from first post, if you want to mine CNC see main server in first post


Title: Re: [ANN][CNC][P2pool] - Low Latency ChnCoin P2Pool - http://cnc.crabdance.com:8400
Post by: gritter on May 08, 2013, 03:56:48 PM
CNC 2nd most profitable coin again, who would've thought :)


Title: Re: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - http://cnc.crabdance.com:8107
Post by: gritter on November 29, 2013, 01:17:40 PM
reviving this thread as the pool is up and running again, given the high CNC profitability!


Title: Re: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - http://cnc.crabdance.com:8107
Post by: gritter on November 29, 2013, 04:05:03 PM
come mine here, the other public pool already has around 50% network hashrate, not healthy!


Title: Re: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - http://cnc.crabdance.com:8107
Post by: gritter on November 30, 2013, 12:47:45 AM
CNC still most profitable, around 3x Litecoin Mining Earnings atm, but difficulty is going up, so mine NOW!


Title: Re: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - http://cnc.crabdance.com:8107
Post by: gritter on December 03, 2013, 04:44:47 AM
still 1.5x profitable over LTC mining...


Title: Re: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - http://cnc.crabdance.com:8107
Post by: gritter on December 04, 2013, 10:45:34 AM
Fee lowered to 1%


Title: Re: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - http://cnc.crabdance.com:8107
Post by: gritter on December 06, 2013, 01:23:55 AM
p2pool pays out transactions fees to miners!


Title: Re: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - 1% Fee - Stable and Fast!
Post by: gritter on December 08, 2013, 01:57:14 AM
extra lucky in last few hours, expected blocks=4, actual blocks mined=10


Title: Re: [ANN][CNC][P2pool] - ChinaCoin (CHNCoin) P2Pool - 1% Fee - Stable and Fast!
Post by: Doxcade on January 08, 2014, 06:43:15 PM

Hay maybe a bit of help?

Setting up some P2pools, I have cnc working with newest chncoind (had to change the prefix id) but can't seem to connect to any other p2pools.
I know there are not many but if you could post your p2p_port and bootstrap your using. I added you in my bootstrap but wont connect.
Also check the code below and see if the identifier and prefix matches what your using.


Thanks!

Code:
 chncoin=math.Object(
        PARENT=networks.nets['chncoin'],
        SHARE_PERIOD=15, # seconds
        CHAIN_LENGTH=12*60*60//10, # shares
        REAL_CHAIN_LENGTH=12*60*60//10, # shares
        TARGET_LOOKBEHIND=200, # shares
        SPREAD=30, # blocks
        IDENTIFIER='e137d5b8c6923410'.decode('hex'),
        PREFIX='7218c1a53ef629b0'.decode('hex'),
        P2P_PORT=12388,
        MIN_TARGET=0,
        MAX_TARGET=2**256//2**20 - 1,
        PERSIST=False,
        WORKER_PORT=8800,
        BOOTSTRAP_ADDRS='42.2.216.54 cnc.crabdance.com'.split(' '),
        ANNOUNCE_CHANNEL='#p2pool-chn',
        VERSION_CHECK=lambda v: True,
    ),
)

Code:
chncoin=math.Object(
        P2P_PREFIX='fdc2b8dd'.decode('hex'),
        P2P_PORT=8106,
        ADDRESS_VERSION=28,
        RPC_PORT=8108,
        RPC_CHECK=defer.inlineCallbacks(lambda bitcoind: defer.returnValue(
            'chncoinaddress' in (yield bitcoind.rpc_help()) and
            not (yield bitcoind.rpc_getinfo())['testnet']
        )),
        SUBSIDY_FUNC=lambda height: 88*100000000 >> (height + 1)//462528000,
        POW_FUNC=lambda data: pack.IntType(256).unpack(__import__('ltc_scrypt').getPoWHash(data)),
        BLOCK_PERIOD=60, # s
        SYMBOL='CHN',
        CONF_FILE_FUNC=lambda: os.path.join(os.path.join(os.environ['APPDATA'], 'chncoin') if platform.system() == 'Windows' else os.path.expanduser('~/Library/Application Support/chncoin/') if platform.system() == 'Darwin' else os.path.expanduser('~/.chncoin'), 'chncoin.conf'),
        BLOCK_EXPLORER_URL_PREFIX='http://cnc.cryptocoinexplorer.com/block/',
        ADDRESS_EXPLORER_URL_PREFIX='http://cnc.cryptocoinexplorer.com/address/',
        SANE_TARGET_RANGE=(2**256//1000000000 - 1, 2**256//1000 - 1),
        DUMB_SCRYPT_DIFF=2**16,
    ),