Bitcoin Forum
December 09, 2016, 03:54:22 PM *
News: To be able to use the next phase of the beta forum software, please ensure that your email address is correct/functional.
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 [64] 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2033341 times)
Red Emerald
Hero Member
*****
Offline Offline

Activity: 742



View Profile WWW
March 09, 2012, 05:49:38 PM
 #1261

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.

1481298862
Hero Member
*
Offline Offline

Posts: 1481298862

View Profile Personal Message (Offline)

Ignore
1481298862
Reply with quote  #2

1481298862
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481298862
Hero Member
*
Offline Offline

Posts: 1481298862

View Profile Personal Message (Offline)

Ignore
1481298862
Reply with quote  #2

1481298862
Report to moderator
runeks
Legendary
*
Offline Offline

Activity: 924



View Profile WWW
March 09, 2012, 10:53:36 PM
 #1262

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.
TheHarbinger
Sr. Member
****
Offline Offline

Activity: 378


Why is it so damn hot in here?


View Profile
March 10, 2012, 01:25:10 AM
 #1263

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

12Um6jfDE7q6crm1s6tSksMvda8s1hZ3Vj
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
March 10, 2012, 01:37:43 AM
 #1264

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.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
ragnard
Member
**
Offline Offline

Activity: 66



View Profile
March 10, 2012, 03:59:50 AM
 #1265

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?
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
March 10, 2012, 04:05:39 AM
 #1266

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.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
ragnard
Member
**
Offline Offline

Activity: 66



View Profile
March 10, 2012, 05:05:11 AM
 #1267

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.
ChanceCoats123
Hero Member
*****
Offline Offline

Activity: 680



View Profile
March 10, 2012, 07:18:30 AM
 #1268

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
tomtheminer
Newbie
*
Offline Offline

Activity: 14


View Profile
March 10, 2012, 07:23:40 AM
 #1269

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?

Please donate: BTC:
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
March 10, 2012, 07:27:29 AM
 #1270

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.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
tomtheminer
Newbie
*
Offline Offline

Activity: 14


View Profile
March 10, 2012, 07:38:29 AM
 #1271

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?

Please donate: BTC:
tomtheminer
Newbie
*
Offline Offline

Activity: 14


View Profile
March 10, 2012, 07:51:28 AM
 #1272

just putting a space and typing it, i dont delete anything...?

Please donate: BTC:
tomtheminer
Newbie
*
Offline Offline

Activity: 14


View Profile
March 10, 2012, 07:56:54 AM
 #1273

There are quotes around it by default, so dont know what's going wrong?

Please donate: BTC:
TheHarbinger
Sr. Member
****
Offline Offline

Activity: 378


Why is it so damn hot in here?


View Profile
March 10, 2012, 07:59:47 AM
 #1274

Just launch it using a .bat file.   Shocked

12Um6jfDE7q6crm1s6tSksMvda8s1hZ3Vj
tomtheminer
Newbie
*
Offline Offline

Activity: 14


View Profile
March 10, 2012, 08:00:51 AM
 #1275

Just launch it using a .bat file.   Shocked

sorry, can you explain how to do that?

Please donate: BTC:
tomtheminer
Newbie
*
Offline Offline

Activity: 14


View Profile
March 10, 2012, 08:55:15 AM
 #1276

I solved it, it must be outside the quotation marks,

Code:
"C:\****\cgminer.exe" -o http://127.0.0.1:9332 -u noob -p sauce

Please donate: BTC:
tomtheminer
Newbie
*
Offline Offline

Activity: 14


View Profile
March 10, 2012, 09:24:15 AM
 #1277

Another problem, when i start cgminer it says: all devices disabled, cannot mine!    ??

Please donate: BTC:
ancow
Sr. Member
****
Offline Offline

Activity: 373


View Profile WWW
March 10, 2012, 12:11:02 PM
 #1278

Another problem, when i start cgminer it says: all devices disabled, cannot mine!    ??

That is not a p2pool problem and the cgminer thread is that way: https://bitcointalk.org/index.php?topic=28402

You may want to post the output of "cgminer -n" when posting there and consider doing a debug run (add " -T -D --verbose" at the end of the current command).

BTC: 1GAHTMdBN4Yw3PU66sAmUBKSXy2qaq2SF4
NothinG
Hero Member
*****
Offline Offline

Activity: 560



View Profile
March 10, 2012, 08:01:41 PM
 #1279

When I try to startup p2pool, during the RPC connection phase it crashes my bitcoind.

(I'm testing with a server using CPU mining, so don't laugh at my specs.)

Windows Server 2008 R2 64-bit
Bitcoin 0.5.2
p2pool (version 1f87c32)

Running p2pool:
Code:
C:\Users\{USER}\Desktop\p2pool\run_p2pool.exe {user} {password}

This is the error I'm getting.
Code:
2012-03-10 21:00:03.966000 p2pool (version 1f87c32)
2012-03-10 21:00:03.966000
2012-03-10 21:00:03.967000 Testing bitcoind RPC connection to 'http://127.0.0.1:8332/' with username '{user}'...
2012-03-10 21:00:08.975000 > Error getting work from bitcoind:
2012-03-10 21:00:08.975000 > Traceback (most recent call last):
2012-03-10 21:00:08.975000 > Failure: twisted.internet.defer.TimeoutError: Getting http://127.0.0.1:8332/ took longer than 5 seconds.


{user} and {password} have been replaced.

echris1
Full Member
***
Offline Offline

Activity: 124


View Profile
March 10, 2012, 08:34:18 PM
 #1280

When I try to startup p2pool, during the RPC connection phase it crashes my bitcoind.

(I'm testing with a server using CPU mining, so don't laugh at my specs.)

Windows Server 2008 R2 64-bit
Bitcoin 0.5.2
p2pool (version 1f87c32)

Running p2pool:
Code:
C:\Users\{USER}\Desktop\p2pool\run_p2pool.exe {user} {password}

This is the error I'm getting.
Code:
2012-03-10 21:00:03.966000 p2pool (version 1f87c32)
2012-03-10 21:00:03.966000
2012-03-10 21:00:03.967000 Testing bitcoind RPC connection to 'http://127.0.0.1:8332/' with username '{user}'...
2012-03-10 21:00:08.975000 > Error getting work from bitcoind:
2012-03-10 21:00:08.975000 > Traceback (most recent call last):
2012-03-10 21:00:08.975000 > Failure: twisted.internet.defer.TimeoutError: Getting http://127.0.0.1:8332/ took longer than 5 seconds.


{user} and {password} have been replaced.

Have your bitcoind downloaded the entire blockchain?  Because until it does P2Pool will keep spitting this message out.  When I restart my P2Pool machine it always says this for a little bit until bitcoind syncs up the blockchain again.  The first time can take a long time, I believe it took almost a day to download the whole blockchain again.
Pages: « 1 ... 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 [64] 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!