Richy_T
Legendary
Offline
Activity: 2520
Merit: 2240
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 01:32:45 AM |
|
What is the definitive way to see when a non orphaned block has been generated by p2pool?
Anyone know what's up with blocks 219190 and 219192 (and probably others) in there? I'm wanting to do some screen scraping and while I can handle that, it's meaning a lot more data is being pulled back than needs to be.
|
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
|
|
|
MINX
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 02:08:38 AM |
|
Hello everybody ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) I've only using p2pool a few days, previously only used the traditional mining Pools (BTC-Guild...and others) with an estimated earning of 0.03-0.04 BTC/day. I followed this guide for make a correct instalation: http://forum.litecoin.net/index.php?topic=1430.0I must say I'm a little confused with this because the second day I got four minering payments in less than two hours (about 0.03 BTC), and since then nothing more. I understand that this depends on many things and not something cyclical, and I promise I'm trying to be patient ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) . I would like to ask only two things, what miner do you think that it's most appropriate for p2pool?. CGMiner looks great, and the stales are very low for me (2-3%) if I compare with other, I have about 300 mhash/s with mi HD7850 GPU. And second question, in the output I read things like these: 2013-04-24 04:08:03.754000 P2Pool: 17360 shares in chain (17364 verified/17364 total) Peers: 6 (0 incoming), or: 2013-04-24 04:09:28.309000 Shares: 0 (0 orphan, 0 dead) Stale rate: ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Efficiency: ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Current payout: 0.0000 BTC Are this correct (0 incoming) or do i have something wrong? Thanks for your time ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) )
|
|
|
|
twmz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 02:11:19 AM |
|
What is the definitive way to see when a non orphaned block has been generated by p2pool?
Anyone know what's up with blocks 219190 and 219192 (and probably others) in there? I'm wanting to do some screen scraping and while I can handle that, it's meaning a lot more data is being pulled back than needs to be. They appear to be transactions where forrestv consolidated a zillion small inputs into a single larger output (to make them easier to spend in the future). FYI, if you are writing code to find p2pool blocks, I found that it was much easier to get data from blockchain.info' API in json format than to try to screen scrape the HTML from blockexplorer. p2pool.info's logic for finding p2pool blocks is: 1. Looks at every new block as it is found and examines the generation transaction and see if a) it has the donation address, b) has the weird script at the end, and c) has at least 25 outputs (this filters out p2pool forks that have only a few people mining on them) 2. Every once in a while looks at all of the transactions for the donation address looking for generation transactions that it doesn't already know about (because they came in way late and are probably orphans.
|
Was I helpful? 1 TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs WoT, GPGBitrated user: ewal.
|
|
|
GernMiester
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 02:20:00 AM |
|
I've finally bit the bullet and switched over from solo mining (litecoin) I set my CGminer to p2pool.org:9327 along with the address in my litecoin client as my username. Should I have also downloaded the p2pool program? Anyway, does this all look normal? Been running for about 4 hours. Nothing showing in my wallet yet. ![](https://ip.bitcointalk.org/?u=https%3A%2F%2Fi.imgur.com%2FrKPY8t7.jpg&t=665&c=gg_KsjHH_TjJkg) HW errors make all that work meaningless. MEANINGLESS.
|
|
|
|
maqifrnswa
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 02:39:31 AM |
|
I must say I'm a little confused with this because the second day I got four minering payments in less than two hours (about 0.03 BTC), and since then nothing more. I understand that this depends on many things and not something cyclical, and I promise I'm trying to be patient ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) . You only get paid when p2pool finds a block. See your web status page (yours will be in LTC, this is mine for BTC) Current block value: 25.5409 BTC Expected time to block: 17.2 hours As you can see, you'll only get 1 or 2 blocks a day on average - some days 0, some days more (LTC has different numbers, but it works the same way) I would like to ask only two things, what miner do you think that it's most appropriate for p2pool?. CGMiner looks great, and the stales are very low for me (2-3%) if I compare with other, I have about 300 mhash/s with mi HD7850 GPU.
It doesn't really matter, anything that can connect with long poll And second question, in the output I read things like these: 2013-04-24 04:08:03.754000 P2Pool: 17360 shares in chain (17364 verified/17364 total) Peers: 6 (0 incoming), or: 2013-04-24 04:09:28.309000 Shares: 0 (0 orphan, 0 dead) Stale rate: ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Efficiency: ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Current payout: 0.0000 BTC Are this correct (0 incoming) or do i have something wrong? if you don't have upnp on your router or port forwarding set up, you won't have any incoming. p2pool will still work without incoming
|
|
|
|
Richy_T
Legendary
Offline
Activity: 2520
Merit: 2240
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 03:50:28 AM |
|
They appear to be transactions where forrestv consolidated a zillion small inputs into a single larger output (to make them easier to spend in the future). FYI, if you are writing code to find p2pool blocks, I found that it was much easier to get data from blockchain.info' API in json format than to try to screen scrape the HTML from blockexplorer. p2pool.info's logic for finding p2pool blocks is: 1. Looks at every new block as it is found and examines the generation transaction and see if a) it has the donation address, b) has the weird script at the end, and c) has at least 25 outputs (this filters out p2pool forks that have only a few people mining on them) 2. Every once in a while looks at all of the transactions for the donation address looking for generation transactions that it doesn't already know about (because they came in way late and are probably orphans. I may have to look at that. But in the meantime, I have the scraping done and now have an Android app that notifies when a p2pool block is found (assuming logic is correct) and is set up to be able to report mining hashrate (cause I just like to know). Now I just need to work together some of the glue code and tidy up the graphics a little and I'll release it on here.
|
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
|
|
|
supwang
Newbie
Offline
Activity: 40
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 04:25:58 AM |
|
Why p2pool do not pay since 4/22/2013 11:00?
|
|
|
|
daemondazz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 04:59:54 AM |
|
Because no blocks have been found for ~1d18h
|
Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
|
|
|
supwang
Newbie
Offline
Activity: 40
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 05:16:09 AM |
|
Because no blocks have been found for ~1d18h
Thank you what means of "Estimated Time to Block" and "Current Round" in p2pool?
|
|
|
|
daemondazz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 05:53:40 AM |
|
'Estimated Time to Block' is a guess of how long it will take to find a block at the current rate, 'Current Round' is how long it's actually been.
|
Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
|
|
|
midnight
Newbie
Offline
Activity: 19
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 07:32:38 AM |
|
what means "punishing share for 'block-stale detected"?
|
|
|
|
Richy_T
Legendary
Offline
Activity: 2520
Merit: 2240
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 06:35:33 PM |
|
I may have to look at that. But in the meantime, I have the scraping done and now have an Android app that notifies when a p2pool block is found (assuming logic is correct) and is set up to be able to report mining hashrate (cause I just like to know). Now I just need to work together some of the glue code and tidy up the graphics a little and I'll release it on here.
Got my first notification early this AM ![Cheesy](https://bitcointalk.org/Smileys/default/cheesy.gif) Anyone want to design a 24x24 white-on-transparent icon for the notification? I may just copy the p2pool logo. Or should I go for something like the mined coin logo in the qt client?
|
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
|
|
|
Mogumodz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 07:08:43 PM |
|
if you don't have upnp on your router or port forwarding set up, you won't have any incoming. p2pool will still work without incoming
I seem to not have any incoming peers for both my BTC and LTC pools, ports have been forwarded for over a month and never had any problems with 11.2 (I updated to 11.3 the other day after managing to read this whole thread over the last month), both pools have had incoming peers since a couple of restarts this week. Since the last reset I seem to not have incoming peers. Any ideas ? ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fanony.ws%2Fi%2F2013%2F04%2F24%2F5OBlb.png&t=665&c=DiUbPdjY1N3yfg)
|
|
|
|
Richy_T
Legendary
Offline
Activity: 2520
Merit: 2240
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 07:49:39 PM |
|
if you don't have upnp on your router or port forwarding set up, you won't have any incoming. p2pool will still work without incoming
I seem to not have any incoming peers for both my BTC and LTC pools, ports have been forwarded for over a month and never had any problems with 11.2 (I updated to 11.3 the other day after managing to read this whole thread over the last month), both pools have had incoming peers since a couple of restarts this week. Since the last reset I seem to not have incoming peers. Any ideas ? ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fanony.ws%2Fi%2F2013%2F04%2F24%2F5OBlb.png&t=665&c=DiUbPdjY1N3yfg) Make sure something isn't eating up your bandwidth. I had trouble until I worked out that bitcoind was munching on mine (though I also turned off QOS which I haven't turned back on yet).
|
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
|
|
|
wacko
Legendary
Offline
Activity: 1106
Merit: 1014
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 09:12:46 PM |
|
if you don't have upnp on your router or port forwarding set up, you won't have any incoming. p2pool will still work without incoming
I seem to not have any incoming peers for both my BTC and LTC pools, ports have been forwarded for over a month and never had any problems with 11.2 (I updated to 11.3 the other day after managing to read this whole thread over the last month), both pools have had incoming peers since a couple of restarts this week. Since the last reset I seem to not have incoming peers. Any ideas ? Although I'm not sure, I think you're confusing 2 different things here. Upnp stuff is related to the ability of bitcoin/litecoin/etc client (that is the wallet software) to accept incoming connections from the internet so that you can have more than 8 connections (which is the limit for those users that don't have the appropriate port open/forwarded). I have ports 9332 and 9333 forwarded to the computer that is running litecoin client (in "server" mode) on my home firewall and set "maxconnections=24" in my litecoin.conf, though I'm not sure what's the benefit here, maybe I can "download" the info about the new blocks found faster or something... But what you're talking about now, the "incoming" peers on the p2pool statistics page, is the number of "miners" connected to your p2pool. If I understand it correctly you'll only see "incoming" there if someone from the internet will start mining on your p2pool.. for that, of course, you'll also have to open/forward the appropriate ports, but the point here is that if you haven't invited anyone to mine on your p2pool node — you'll never see anything other than "0" there. I might be wrong on this, but that's how I see it at the moment. I've got 6 miners at home and usually, if they're all running, I see "Peers: 6 out, 0 in" on my p2pool statistics page. It acts out sometimes and I see "7 out" although I have only 6 miners, might be a p2pool or cgminer bug, but most of the time it's "6 out, 0 in" in my case.
|
|
|
|
gyverlb
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 09:57:04 PM |
|
But what you're talking about now, the "incoming" peers on the p2pool statistics page, is the number of "miners" connected to your p2pool. If I understand it correctly
You don't: peers are other P2Pool nodes. P2Pool doesn't show the number of miner connections (you can see the active miners in the graphs though).
|
|
|
|
Mogumodz
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 24, 2013, 10:08:52 PM Last edit: April 24, 2013, 11:01:15 PM by Mogumodz |
|
Just checked and I've got screenshots of 6 outgoing 12 incoming, and others for 5, 2 and 1, Incoming peers are other nodes of the p2pool network AFAIK. I also had set the --max conns at 20 myself on 11.2 and maxconnection=20 in Bitcoin.conf because my upload speed was being completely saturated sometimes of the day when bitcoind would connect to 50+ peers, I posted a pic of how much bandwidth I had used daily since starting P2Pool and Bitcoind in server mode randomly, https://bitcointalk.org/index.php?topic=172090.msg1790993#msg1790993I have not set it currently. This is the first time I have not seen incoming nodes after about 24 hours of the node being up. Thanks for the advice. I have restarted the router as I have seen some errors in the routers logs and restarted all the nodes and miners anyway. I'll see what happens. *edit* Thought I would see how much more bandwidth I had used. ![](https://ip.bitcointalk.org/?u=http%3A%2F%2Fanony.ws%2Fi%2F2013%2F04%2F25%2FioG0x.png&t=665&c=0VXFBsXFuK0idQ)
|
|
|
|
davidkassa
Newbie
Offline
Activity: 37
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 25, 2013, 02:42:58 AM |
|
Do you know how to fix 'unknown' version issue, so it can be set up properly doing compilation? Without manual modifications? Or maybe we can suggest it to forrestv.
I`m doing it manually in setup.py version = __import__('p2pool').__version__
to version = "9.0-7-g738af95"
As for current git ofc ![Smiley](https://bitcointalk.org/Smileys/default/smiley.gif) I`m first update my linux node to see current version number then change that and compile under windows32/64. I have no idea how to fix it automagically. Very old question, but the answer is that git has to be on your path.
|
|
|
|
Xenotron
Newbie
Offline
Activity: 31
Merit: 0
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 25, 2013, 06:17:46 AM |
|
Make sure something isn't eating up your bandwidth. I had trouble until I worked out that bitcoind was munching on mine (though I also turned off QOS which I haven't turned back on yet).
What have you done with Bitcoind?
|
|
|
|
Amph
Legendary
Offline
Activity: 3234
Merit: 1070
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
April 25, 2013, 09:09:02 AM |
|
does this, work with multibit client?
ok it doesn't...
|
|
|
|
|