Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 751. (Read 2591916 times)

newbie
Activity: 14
Merit: 0
Just launch it using a .bat file.   Shocked

sorry, can you explain how to do that?
sr. member
Activity: 378
Merit: 250
Why is it so damn hot in here?
Just launch it using a .bat file.   Shocked
newbie
Activity: 14
Merit: 0
There are quotes around it by default, so dont know what's going wrong?
newbie
Activity: 14
Merit: 0
just putting a space and typing it, i dont delete anything...?
newbie
Activity: 14
Merit: 0
when i do that i get an error message:

The name: C:/......./.... specified in the target box is not valid. make sure the path and file name are correct?
hero member
Activity: 591
Merit: 500
Can anyone help me, when i try to do this:

 b. Right click the new shortcut and choose properties. Click in the "target" box and move the cursor to the far right. Put a space after cgminer.exe and type: -o http://127.0.0.1:9332 -u noob -p sauce

My computer says i can't use the : and // in the file name? How to fix this?
Put quotation marks around the file location before adding the flags.
newbie
Activity: 14
Merit: 0
Can anyone help me, when i try to do this:

 b. Right click the new shortcut and choose properties. Click in the "target" box and move the cursor to the far right. Put a space after cgminer.exe and type: -o http://127.0.0.1:9332 -u noob -p sauce

My computer says i can't use the : and // in the file name? How to fix this?
hero member
Activity: 682
Merit: 500
Any BTC we make from donations doesn't get added to the [mined] payments, right? I haven't gotten any part of a donation in a while. Sad
member
Activity: 66
Merit: 10
twmz and Holliday,

Thank you very much for the information.  I had read that when I first started but it just didn't click in my head.  Now it makes sense and it makes me like p2pool even more.  Thanks again.
hero member
Activity: 737
Merit: 500
I've been P2Pool mining for a week now with about 600MH/s.  So far so good.  However, I'm trying to understand something.  I keep a running tail on my log file to see the shares I get and blocks found.  Today, there were two blocks found which I did not get any shares during the round.  However, my bitcoin client shows income under "Mined" at the precise time those blocks were found.  I thought I only get paid for shares I find and if a block is found that I didn't find a share, I would receive no payment on it.  Looks like I'm wrong.  Can anyone clarify and set me straight?

P2Pool uses the PPLNS payment scheme.  Every time a block is found, the previous "N" shares get paid.  N is 3 times the number of shares needed to find a block on average.  At the moment, N=7546.

Note, all of the past N shares get paid even if they were submitted before a previous block was found.  Yes, that means that a single share can result in you getting paid for multiple blocks.  In fact, on average, you should get paid for 3 blocks for every share that you find.  When we are lucky, you'll get paid in more than 3 blocks.  When we are unlucky, you'll get paid for fewer.
member
Activity: 66
Merit: 10
I've been P2Pool mining for a week now with about 600MH/s.  So far so good.  However, I'm trying to understand something.  I keep a running tail on my log file to see the shares I get and blocks found.  Today, there were two blocks found which I did not get any shares during the round.  However, my bitcoin client shows income under "Mined" at the precise time those blocks were found.  I thought I only get paid for shares I find and if a block is found that I didn't find a share, I would receive no payment on it.  Looks like I'm wrong.  Can anyone clarify and set me straight?
hero member
Activity: 737
Merit: 500
A couple p2pool.info updates...

Donations/Subsidies

I was thinking it would be cool if p2pool.info listed how much has been donated as subsidies.  Maybe that could be added into the luck calculation, too.

I updated p2pool.info to include a list of donations/subsidy payments.  I decided not to include them in the luck calculation.

I detect these transactions by looking for any transaction that includes payments to 10 or more known p2pool miner addresses (I have a list of basically all the addresses that have ever submitted a share).  I think this is a pretty robust approach as long as there aren't any donations that go to less than 10 people.  If that ever happens and someone lets me know, I can manually add that transaction to the list.

JSON API

It may not have been obvious, but the way that p2pool.info actually works is that all of the things you see on the web page are rendered in your local browser with client-side, javascript code.  The web page gets all the data it uses via a series of ajax requests to retrieve JSON data from the p2pool.info web server.

On the chance that someone may find something interesting to do with the JSON data, I decided to CORS enable them.  So feel free to use this data to make awesome things.  Please to not make a zillion requests to my web server though, because while I can easily scale out to handle more load (yay, Cloud!), I don't want to have to do so just for the JSON API because it costs me money.  If these APIs get abused, I'll have to remove access to them.


The stats and blocks endpoints can also be used to retrieve deltas:


P.S.  If the response to any of these JSON APIs is not self explanatory, feel free to just ask.
sr. member
Activity: 378
Merit: 250
Why is it so damn hot in here?
Well, I hate to do it, but I just pulled my 2GH/s from P2Pool.  Something is very seriously wrong.  I have been keeping it up to date, so don't tell me it's me version of p2pool or bitcoin, it's not.  Over the last 4 days I have watched my payout per block drop from around 0.4 to 0.15 on the last one, and p2pool.info is showing 950MH/s.  I will come back, but after what ever the hell is broken is fixed.

Were you getting more orphaned or dead shares, or was the number of shares that you got decreasing?

No, everything local stayed the same.  Orphaned/dead stayed around 5% overall, still cranking out shares about every 25 minutes, nothing here reporting errors anywhere.  Just a steady decrease in hashrate shown at p2pool.info and a steady decline in payout values.  It's like over 50% of my hashrate/shares are leaving my end, but aren't making it into the chain.

I just did a fresh install of Bitcoin 0.6.0r2 and p2pool on the server and re-downloaded the chains on both of them, going to give it until tomorrow morning to see if that fixed it, if not, i have to pull out back to a pool until the problem is located.

Seems like a fresh install and re-downloading of both chains fixed whatever was going on.  While i would like to get to the bottom of whatever caused this, I will be making no attempt to replicate it, sorry.   Cheesy
legendary
Activity: 980
Merit: 1008
Thanks guys. I hadn't considered it might be a bitcoind problem.

EDIT: I'm experiencing this as well. bitcoind is stuck at exactly block 170059. Will try re-downloading the block chain.

Quote
I think 0.6.0rc1 broke my blk0001.dat,  blkindex.dat or something else not located in .bitcoin/ (is there something else?)
When I get home I will also delete these files. (I have a 170190+ blockchain here that I will try first, before downloading the whole thing again)

I thought this too.. but mine did recover after ~5 min after installing rc2.

I gave it another hour, but it didn't recover. I copied the blockchain files from another machine and now it works.
hero member
Activity: 742
Merit: 500
I restarted cgminer as well. It seems cgminer won't even connect to p2pool. cgminer is using my backup pool instead.

The p2pool log only contains these errors it seems: http://pastebin.com/uCEdHzvu

Go back a few pages.  This is a known problem with bitcoind 0.6.0rc1.  You need to either upgrade to rc2, or add a -paytoscripthashtime option to your config file or command line.
"WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade."

Do what the error says...  Upgrade.
kjj
legendary
Activity: 1302
Merit: 1026
I restarted cgminer as well. It seems cgminer won't even connect to p2pool. cgminer is using my backup pool instead.

The p2pool log only contains these errors it seems: http://pastebin.com/uCEdHzvu

Go back a few pages.  This is a known problem with bitcoind 0.6.0rc1.  You need to either upgrade to rc2, or add a -paytoscripthashtime option to your config file or command line.
legendary
Activity: 980
Merit: 1008
I restarted cgminer as well. It seems cgminer won't even connect to p2pool. cgminer is using my backup pool instead.

The p2pool log only contains these errors it seems: http://pastebin.com/uCEdHzvu
legendary
Activity: 980
Merit: 1008
anyone else getting tons of these.. or just me? I am on rc2, for sure. Earlier in this thread it was mentioned it is supposed to be 'ok', but still.. it isn't going away..

2012-03-08 19:22:44.788000 >     return g.throw(self.type, self.value, self.tb)
2012-03-08 19:22:44.788000 >   File "C:\data\miner2\p2pool-a15c106\p2pool\util\jsonrpc.py", line 67, in callRemote
2012-03-08 19:22:44.788000 >     raise Error(**resp['error'])
2012-03-08 19:22:44.789000 > p2pool.util.jsonrpc.Error: -5 Block not found
2012-03-08 19:22:44.790000


I had that one, too ... p2pool seems to work though.

Dia
I experience this as well:
Code:
2012-03-09 17:35:27.652975 > Error:
2012-03-09 17:35:27.653049 > Traceback (most recent call last):
2012-03-09 17:35:27.653086 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
2012-03-09 17:35:27.653122 >     current.result = callback(current.result, *args, **kw)
2012-03-09 17:35:27.653157 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
2012-03-09 17:35:27.653192 >     _inlineCallbacks(r, g, deferred)
2012-03-09 17:35:27.653226 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-03-09 17:35:27.653261 >     result = result.throwExceptionIntoGenerator(g)
2012-03-09 17:35:27.653296 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-03-09 17:35:27.653331 >     return g.throw(self.type, self.value, self.tb)
2012-03-09 17:35:27.653366 > --- ---
2012-03-09 17:35:27.653400 >   File "/home/user/p2pool/p2pool/util/deferral.py", line 30, in f
2012-03-09 17:35:27.653434 >     result = yield func(*args, **kwargs)
2012-03-09 17:35:27.653468 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-03-09 17:35:27.653503 >     result = result.throwExceptionIntoGenerator(g)
2012-03-09 17:35:27.653543 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-03-09 17:35:27.653581 >     return g.throw(self.type, self.value, self.tb)
2012-03-09 17:35:27.653615 >   File "/home/user/p2pool/p2pool/util/deferral.py", line 147, in __call__
2012-03-09 17:35:27.653649 >     value = yield self.func(key)
2012-03-09 17:35:27.653683 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-03-09 17:35:27.653718 >     result = result.throwExceptionIntoGenerator(g)
2012-03-09 17:35:27.653752 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-03-09 17:35:27.653798 >     return g.throw(self.type, self.value, self.tb)
2012-03-09 17:35:27.653832 >   File "/home/user/p2pool/p2pool/main.py", line 171, in
2012-03-09 17:35:27.653866 >     height_cacher = deferral.DeferredCacher(defer.inlineCallbacks(lambda block_hash: defer.returnValue((lambda x: x['blockcount'] if 'blockcount' in x else x['height'])((yield bitcoind.rpc_getblock('%x' % (block_hash,)))))))
2012-03-09 17:35:27.653903 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-03-09 17:35:27.653939 >     result = result.throwExceptionIntoGenerator(g)
2012-03-09 17:35:27.653973 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-03-09 17:35:27.654007 >     return g.throw(self.type, self.value, self.tb)
2012-03-09 17:35:27.654041 >   File "/home/user/p2pool/p2pool/util/jsonrpc.py", line 67, in callRemote
2012-03-09 17:35:27.654075 >     raise Error(**resp['error'])
2012-03-09 17:35:27.654109 > p2pool.util.jsonrpc.Error: -2 Safe mode: WARNING: Displayed transactions may not be correct!  You may need to upgrade, or other nodes may need to upgrade.

I just stopped p2pool, pulled the newest version from git, and started it again. So it can't be due to an outdated version.
Before stopping p2pool my "Current payout" was "0.0000 BTC", apparently due to a lot of orphaned shares recently. I will try letting it run a bit and see if this persists.
hero member
Activity: 737
Merit: 500
Code:
2012-03-09 16:57:48.460000 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: No connection could be made because the target machine actively refused it..
I'm getting this error, can anyone help me?

That error means that either bitcoind is not running (p2pool is looking for it on the same machine as the p2pool process) or is not configured to accept RPC requests.  
newbie
Activity: 14
Merit: 0
Code:
2012-03-09 16:57:47.431000 p2pool (version 1f87c32)
2012-03-09 16:57:47.431000
2012-03-09 16:57:47.431000 Testing bitcoind RPC connection to 'http://127.0.0.1:8332/' with username 'user'...
2012-03-09 16:57:48.460000 > Error while checking bitcoind identity:
2012-03-09 16:57:48.460000 > Traceback (most recent call last):
2012-03-09 16:57:48.460000 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: No connection could be made because the target machine actively refused it..
2012-03-09 16:57:50.488000 > Error while checking bitcoind identity:
2012-03-09 16:57:50.488000 > Traceback (most recent call last):
2012-03-09 16:57:50.488000 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: No connection could be made because the target machine actively refused it..
2012-03-09 16:57:52.516000 > Error while checking bitcoind identity:
2012-03-09 16:57:52.516000 > Traceback (most recent call last):
2012-03-09 16:57:52.516000 > Failure: twisted.internet.error.ConnectionRefusedError: Connection was refused by other side: 10061: No connection could be made because the target machine actively refused it..

I'm getting this error, can anyone help me?
Jump to: