Bitcoin Forum
December 11, 2016, 02:26:32 AM *
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 ... 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 [414] 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2035308 times)
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
April 16, 2014, 01:18:09 AM
 #8261

In the p2pool log, I'm seeing a ton of these:

Quote
2014-04-14 21:10:16.531268 Worker 12uCQa1rEBxQutWUkXE2AA6LnhfrAPJpgF submitted share with hash > target:
2014-04-14 21:10:16.531393     Hash:   93b4405c1ef4a1104a9a26bf30cbce5034847d7a6d5cb6babc8792326ef6b0ce
2014-04-14 21:10:16.531472     Target: ffffffffffffffffffffffffffffffffffffffffffffffffffffffff

I've tried reading through p2pool's source, but Python isn't my thing and the code doesn't appear well structured IMHO. So, it was hard for me to tell if "target" referred to:

a) A Bitcoin block target - unlikely
b) A p2pool share - my first thought
or
c) A difficulty 1 (or x) share - my fear

Surely somebody knows which it's referring to?

A difficulty 1 share.

That target is 2^(256-32)-1, the maximum possible target for most hardware (H=0).

That message is printed when a miner returns work that doesn't match the target it was sent, meaning that there's a bug or other problem.

EDIT: That returned work has a hash that isn't low at all. What mining hardware are you using?

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
1481423192
Hero Member
*
Offline Offline

Posts: 1481423192

View Profile Personal Message (Offline)

Ignore
1481423192
Reply with quote  #2

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

Posts: 1481423192

View Profile Personal Message (Offline)

Ignore
1481423192
Reply with quote  #2

1481423192
Report to moderator
irrational
Jr. Member
*
Offline Offline

Activity: 56


View Profile
April 16, 2014, 01:32:59 AM
 #8262

A difficulty 1 share.

That target is 2^(256-32)-1, the maximum possible target for most hardware (H=0).

That message is printed when a miner returns work that doesn't match the target it was sent, meaning that there's a bug or other problem.

EDIT: That returned work has a hash that isn't low at all. What mining hardware are you using?

Thank you very much for that info. That was my fear.

As for hardware, I'm using Antminer U2s. But, I don't think the hardware is sat fault. If I point my Ants (via Bfgminer) directly at p2pool, it works. I don't get those messages, and the p2pool stats page displays a local hash rate.

This problem arises when I first point my miners to a proxy I'm writing, and then the proxy talks to p2pool. The stratum communication looks identical to me:

Message to p2pool:
Quote
{"params":["12uCQa1rEBxQutWUkXE2AA6LnhfrAPJpgF","226858380923200241282647501746235717849","08000000","534ddc22","b9609317"],"id":800,"method":"mining.submit"}

Response from p2pool:
Quote
{"id":800,"error":null,"result":true}

And then in p2pool's console output I see these:

Quote
2014-04-15 20:26:07.905276 Worker 12uCQa1rEBxQutWUkXE2AA6LnhfrAPJpgF submitted share with hash > target:
2014-04-15 20:26:07.905412     Hash:   ef95748110ef4e9612d216da2cb08d1de41e28b872d7761aaff7db538d1f084b
2014-04-15 20:26:07.905520     Target: ffffffffffffffffffffffffffffffffffffffffffffffffffffffff

I'm still trying to debug what I've done wrong, but I figured stopping in here and double checking my understanding of p2pool's message was a good start.

Still confused as to why I'm getting a "result: true", despite p2pool claiming the hash doesn't meet difficulty 1 though.

14Cow1HA12umeV3zdZXNmrE3TsnYaaf4Q5
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
April 16, 2014, 01:48:27 AM
 #8263

Still confused as to why I'm getting a "result: true", despite p2pool claiming the hash doesn't meet difficulty 1 though.

P2Pool only returns "result: false" for stale work, not invalid work, the idea being that rejected/accepted shares represent some useful quantity and that P2Pool will complain loudly if something is actually wrong.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
novanoob
Jr. Member
*
Offline Offline

Activity: 43


View Profile
April 16, 2014, 08:33:10 AM
 #8264

anyone found solution for incompatibility mining_proxy with p2pool?

Code:
C:\>mining_proxy -o 127.0.0.1 -p 9332 -gp 8330
2014-04-16 11:30:30,444 INFO proxy jobs.<module> # C extension for midstate not available. Using default implementation instead.
2014-04-16 11:30:30,444 ERROR proxy mining_proxy.main # Stratum host/port autodetection failed
Traceback (most recent call last):
  File "mining_proxy.py", line 182, in main
AttributeError: 'module' object has no attribute '_parse'
2014-04-16 11:30:30,444 WARNING proxy mining_proxy.main # Stratum proxy version: 1.5.5
2014-04-16 11:30:30,460 WARNING proxy mining_proxy.test_update # Checking for updates...
2014-04-16 11:30:31,022 WARNING proxy mining_proxy.main # Trying to connect to Stratum pool at 127.0.0.1:9332
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: stratum.custom_exceptions.TransportException: SocketTransportClientFactory connection timed out
2014-04-16 11:31:09,132 INFO proxy mining_proxy.on_shutdown # Shutting down proxy...
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
April 16, 2014, 08:51:16 AM
 #8265

anyone found solution for incompatibility mining_proxy with p2pool?

Code:
C:\>mining_proxy -o 127.0.0.1 -p 9332 -gp 8330
2014-04-16 11:30:30,444 INFO proxy jobs.<module> # C extension for midstate not available. Using default implementation instead.
2014-04-16 11:30:30,444 ERROR proxy mining_proxy.main # Stratum host/port autodetection failed
Traceback (most recent call last):
  File "mining_proxy.py", line 182, in main
AttributeError: 'module' object has no attribute '_parse'
2014-04-16 11:30:30,444 WARNING proxy mining_proxy.main # Stratum proxy version: 1.5.5
2014-04-16 11:30:30,460 WARNING proxy mining_proxy.test_update # Checking for updates...
2014-04-16 11:30:31,022 WARNING proxy mining_proxy.main # Trying to connect to Stratum pool at 127.0.0.1:9332
Unhandled error in Deferred:
Unhandled Error
Traceback (most recent call last):
Failure: stratum.custom_exceptions.TransportException: SocketTransportClientFactory connection timed out
2014-04-16 11:31:09,132 INFO proxy mining_proxy.on_shutdown # Shutting down proxy...

Don't use the mining proxy? iirc p2pool works fine with getwork.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
novanoob
Jr. Member
*
Offline Offline

Activity: 43


View Profile
April 16, 2014, 09:25:46 AM
 #8266

Don't use the mining proxy? iirc p2pool works fine with getwork.
ASICMiner Block Erupter Cube directed to p2pool has only about 60% efficiency
and p2pool not show hashrate fo it insted console msg:
Code:
2014-04-16 12:28:24.499000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:24.795000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:24.795000     Hash:   b06b586f4dac49697137d0d941e4bb5460f6b340cd1b2bc02236bf79cdcf8ad
2014-04-16 12:28:24.795000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:24.811000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:24.811000     Hash:   fbc6c59bd5586e439ea88260933111aefff5a2d5c8916302453781ce60c494ed
2014-04-16 12:28:24.811000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:24.826000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:24.826000     Hash:   4d1503faebd95b9e174da6e32146fbc131767282eb88d4b2c8edf6e6fd17ed47
2014-04-16 12:28:24.826000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:25.060000 P2Pool: 17688 shares in chain (14732 verified/17692 total) Peers: 6 (0 incoming)
2014-04-16 12:28:25.060000  Local: 0H/s in last 10.0 minutes Local dead on arrival: ??? Expected time to share: ???
2014-04-16 12:28:25.060000  Shares: 0 (0 orphan, 0 dead) Stale rate: ??? Efficiency: ??? Current payout: 0.0000 BTC
2014-04-16 12:28:25.060000  Pool: 165TH/s Stale rate: 13.0% Expected time to block: 1.8 days
2014-04-16 12:28:25.232000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:25.232000     Hash:   63311e01ab25caf7eb4760d5557ec77eaf7cfe037568d7f6abd23359d31f9a03
2014-04-16 12:28:25.232000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:25.248000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:25.248000     Hash:   e403b813ac18c496bdb9e7c98141944ddf0454abd39c1a38189823b3e8fcdcfb
2014-04-16 12:28:25.248000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:25.263000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:25.263000     Hash:   3987e9f12da6fbf7dd74b871f6e3994317da901e4de3366cd673915f981043a6
2014-04-16 12:28:25.263000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:25.279000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:25.279000     Hash:   e004ab6b08d567116c9334d6c1cbafb92c00fccbab6f0407f705efd2765c99a7
2014-04-16 12:28:25.279000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:25.638000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:25.638000     Hash:   e89f94af0e8430c4ab61b98a03b4e95d09888a14389b1691ea8c8486b446d783
2014-04-16 12:28:25.638000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:25.669000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:25.669000     Hash:   78bb795c7ebdf9d232f8e7227c5a3f1b4db6a2f10e967baf51e6a1ff2412a202
2014-04-16 12:28:25.669000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:25.684000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:25.684000     Hash:   49ae678a407d942dfaa7247a88e4b602d6c61ba4a6d26ef82751073de15c67ad
2014-04-16 12:28:25.684000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:25.716000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:25.716000     Hash:   ad28087bd567f5c6616ce674d80d0f9fa2d71f472538eefc7a13105cdc85e9e6
2014-04-16 12:28:25.716000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:26.028000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:26.043000     Hash:   9af797c5688dfa2ff9e6739b4b57d457349eb21e02e2b54ae7f160ff766052d6
2014-04-16 12:28:26.043000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:26.059000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:26.059000     Hash:   cfa674770ea156cb8aa45f188d07a623fc2d57a94ccedbb7007086f7544055d9
2014-04-16 12:28:26.059000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:26.106000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:26.106000     Hash:   5647fe3176bbe09fb5adc9bad7a502f92806708cfd3b47475210cd6698051ec8
2014-04-16 12:28:26.106000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
2014-04-16 12:28:26.308000 Worker cube253 submitted share with hash > target:
2014-04-16 12:28:26.308000     Hash:   7147c9870bcb9967e40e588e86e2471035bd78dc89c3998a3b146d2adb24f6e8
2014-04-16 12:28:26.308000     Target: db24b5c57d9bb0000000000000000000000000000000000000000000
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
April 16, 2014, 09:27:34 AM
 #8267

Don't use the mining proxy? iirc p2pool works fine with getwork.
ASICMiner Block Erupter Cube directed to p2pool has only about 60% efficiency
and p2pool not show hashrate fo it insted console msg:

I believe others have said cubes don't work well with p2pool.  But hey, 60% is better than 0% with the proxy. Smiley

Seriously, I suggest another pool with a cube.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
novanoob
Jr. Member
*
Offline Offline

Activity: 43


View Profile
April 16, 2014, 09:33:37 AM
 #8268

Don't use the mining proxy? iirc p2pool works fine with getwork.
ASICMiner Block Erupter Cube directed to p2pool has only about 60% efficiency
and p2pool not show hashrate fo it insted console msg:

I believe others have said cubes don't work well with p2pool.  But hey, 60% is better than 0% with the proxy. Smiley

Seriously, I suggest another pool with a cube.

cubes work well with proxy - 97-98% efficiency...
will be fine that proxy work with p2pool...
kano
Legendary
*
Offline Offline

Activity: 1932


Linux since 1997 RedHat 4


View Profile
April 16, 2014, 10:54:01 AM
 #8269

I have no care/consideration for what Bitcoin represents?  HUH?Huh?

You are a cgminer developer?   Please explain your ethical position to me.  I do not understand why you think I am abusing the Bitcoin network by simply mining on it.     
Well, oddly enough, if you ignore part of what I said, you will indeed not understand what I said ...

Pool: https://kano.is BTC: 1KanoiBupPiZfkwqB7rfLXAzPnoTshAVmb
CKPool and CGMiner developer, IRC FreeNode #ckpool and #cgminer kanoi
Help keep Bitcoin secure by mining on pools with Stratum, the best protocol to mine Bitcoins with ASIC hardware
CaptEmulation
Full Member
***
Offline Offline

Activity: 135


View Profile
April 16, 2014, 12:50:53 PM
 #8270

I use bfgminer -http-port 8330 to proxy for an ASICMiner BE Cube and it works very well with p2pool.

novanoob
Jr. Member
*
Offline Offline

Activity: 43


View Profile
April 16, 2014, 01:29:52 PM
 #8271

I use bfgminer -http-port 8330 to proxy for an ASICMiner BE Cube and it works very well with p2pool.
this is Long Poll: inactive sheme, could you please check your Efficieny: ?%
oldbushie
Member
**
Offline Offline

Activity: 94


View Profile
April 16, 2014, 06:24:05 PM
 #8272

How do I manually update bitcoind on Ubuntu? apt-get is still out of date.

Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
April 16, 2014, 07:21:27 PM
 #8273

I use bfgminer -http-port 8330 to proxy for an ASICMiner BE Cube and it works very well with p2pool.
this is Long Poll: inactive sheme, could you please check your Efficieny: ?%
Yeah, that's kinda the idea. BE Cubes wouldn't need a proxy if they supported stratum.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
April 17, 2014, 06:16:19 AM
 #8274

How do I manually update bitcoind on Ubuntu? apt-get is still out of date.
You need build it from sources. Clone git and make/qmake ;]

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
April 17, 2014, 01:25:45 PM
 #8275

How do I manually update bitcoind on Ubuntu? apt-get is still out of date.
You need build it from sources. Clone git and make/qmake ;]

No, he don't. Linux binary is here:
https://bitcoin.org/bin/0.9.1/bitcoin-0.9.1-linux.tar.gz
roy7
Sr. Member
****
Offline Offline

Activity: 434


View Profile
April 17, 2014, 02:18:34 PM
 #8276


I run the binary myself, works great. Compiling on my little amazon EC2 machines takes forever. Smiley

RoyalMiningCo: Pools retired. Was fun!
macdaddy
Newbie
*
Offline Offline

Activity: 9


View Profile
April 17, 2014, 02:22:11 PM
 #8277

I have a P2Pool node up and running and I've been testing it a few days. It's been running stable and I was wondering how I should publish it for other folks to use. It's running on a hosted server so latency should be low.  Doing some searches, I didn't find anything other than the announce to IRC channel switch (that didn't work). Any help would be appreciated, I just didn't want to throw it out there in the wrong place.

oldbushie
Member
**
Offline Offline

Activity: 94


View Profile
April 17, 2014, 03:37:28 PM
 #8278

How do I manually update bitcoind on Ubuntu? apt-get is still out of date.
You need build it from sources. Clone git and make/qmake ;]

No, he don't. Linux binary is here:
https://bitcoin.org/bin/0.9.1/bitcoin-0.9.1-linux.tar.gz

Will that mess up an apt-get install at all?

roy7
Sr. Member
****
Offline Offline

Activity: 434


View Profile
April 17, 2014, 03:52:48 PM
 #8279

Will that mess up an apt-get install at all?

You might want to uninstall the old apt package so you don't accidentially run the wrong one at some point. But the binary is a standalone with no separate includes, libraries, etc needed. Just put the bitcoind wherever you want and run it from there directly.

RoyalMiningCo: Pools retired. Was fun!
oldbushie
Member
**
Offline Offline

Activity: 94


View Profile
April 18, 2014, 04:50:30 PM
 #8280

Will that mess up an apt-get install at all?

You might want to uninstall the old apt package so you don't accidentially run the wrong one at some point. But the binary is a standalone with no separate includes, libraries, etc needed. Just put the bitcoind wherever you want and run it from there directly.
Thanks, I went ahead and did that. For now I'll just stick to manual updates of bitcoind so I don't have to rely on the PPA.

Pages: « 1 ... 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 [414] 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 ... 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!