Author

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

hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
I upgraded to the stratum enabled p2pool & cgminer but had to turn stratum off due to massive rise in stale/rejects, even after lowering my intensity on both Linux & windoze rigs - anyone else having these problems?  Huh
did you upgrade to latest cgminer?

Yup, latest of both.....
legendary
Activity: 1792
Merit: 1008
/dev/null
I upgraded to the stratum enabled p2pool & cgminer but had to turn stratum off due to massive rise in stale/rejects, even after lowering my intensity on both Linux & windoze rigs - anyone else having these problems?  Huh
did you upgrade to latest cgminer?
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
I upgraded to the stratum enabled p2pool & cgminer but had to turn stratum off due to massive rise in stale/rejects, even after lowering my intensity on both Linux & windoze rigs - anyone else having these problems?  Huh
legendary
Activity: 1792
Merit: 1008
/dev/null
grep SHARE p2pool/data/bitcoin/log
2012-12-31 07:26:37.637027 GOT SHARE! toy.gpu 005461de prev 7f752c8e age 1.00s
2012-12-31 09:41:22.081034 GOT SHARE! toy.gpu 5bb6c97b prev 28ae9b73 age 10.18s
2012-12-31 11:42:48.881662 GOT SHARE! toy.gpu 498af61a prev a690bd70 age 1.22s
2012-12-31 15:27:47.966547 GOT SHARE! 1FooBarwPJBCHENtafHz7UCfSK15FTh8wm 7c447bf4 prev 33c2552f age 0.78s
2012-12-31 16:17:29.271429 GOT SHARE! toy.gpu eaf9f045 prev 46eef6d5 age 1.84s

Shares: 5 total (5 orphaned, 0 dead) Efficiency: 0.000%

Mean GBT is 0.2s

WHY all orphaned???

something wrong with ur bitcoind
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
grep SHARE p2pool/data/bitcoin/log
2012-12-31 07:26:37.637027 GOT SHARE! toy.gpu 005461de prev 7f752c8e age 1.00s
2012-12-31 09:41:22.081034 GOT SHARE! toy.gpu 5bb6c97b prev 28ae9b73 age 10.18s
2012-12-31 11:42:48.881662 GOT SHARE! toy.gpu 498af61a prev a690bd70 age 1.22s
2012-12-31 15:27:47.966547 GOT SHARE! 1FooBarwPJBCHENtafHz7UCfSK15FTh8wm 7c447bf4 prev 33c2552f age 0.78s
2012-12-31 16:17:29.271429 GOT SHARE! toy.gpu eaf9f045 prev 46eef6d5 age 1.84s

Shares: 5 total (5 orphaned, 0 dead) Efficiency: 0.000%

Mean GBT is 0.2s

WHY all orphaned???
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
Luke jr, I thought you were anti stratum last I checked Wink
I'm anti-stratum for the pool<->miner connection, because it is* harmful to Bitcoin's security. In this case, the p2pool daemon is running locally, so it makes sense. (It also makes more work for me, and slush did it behind closed doors instead of contributing to the open developement of GBT)

* slush added a get_transactions method to allow for more transparent stratum use, but in this usage, it just consumes more bandwidth than GBT with none of the benefits
Can you at least back up those lies?

1) How is stratum harmful to bitcoin's security in any way that GBT isn't also therefore harmful by your definition in their current incarnations?

2) Why does someone have to contribute to the development of GBT when they have their own idea that was known and in the open since the beginning of the year?

3) What is this new lie you are now spreading about comparing GBT to Stratum and saying that the Stratum transaction list is in any way less meaningful than the GBT transaction list and in any way uses more bandwidth?

Seriously, you lie about this all the time and never back up your lies coz they are simply that: lies.

Backup your bullshit or shut the fuck up about this crap you keep lying about all over the place.

Yes I know you wont follow this up and give any proof to your lies, coz they are simply that - lies - as everyone should understand that they are.
legendary
Activity: 2912
Merit: 1060
legendary
Activity: 2576
Merit: 1186
Luke jr, I thought you were anti stratum last I checked Wink
I'm anti-stratum for the pool<->miner connection, because it is* harmful to Bitcoin's security. In this case, the p2pool daemon is running locally, so it makes sense. (It also makes more work for me, and slush did it behind closed doors instead of contributing to the open developement of GBT)

* slush added a get_transactions method to allow for more transparent stratum use, but in this usage, it just consumes more bandwidth than GBT with none of the benefits
legendary
Activity: 2912
Merit: 1060
Luke jr, I thought you were anti stratum last I checked Wink
member
Activity: 75
Merit: 10

Both BTCMiner (v121126, cluster mode) and BFGminer seem work well with p2pool Stratum for me,
I don't see the same error for BTCMiner, running on amd64 Linux,
do you use different version or platform?


BTCMiner does not have any Stratum support, only GetWork+ var diff. How it can be working for you, mate?  Cheesy
I am using same as you AMD64 Linux.

Haha..I just mean the version of p2pool with Stratum support Smiley
But maybe I don't run BTCMiner long enough to see the error.
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
P2pool becomes incompatible with some miners. Even with Stratum mining-proxy itself!
Look at Ztex BTCMiner log:
Code:
001-0: ztex_ufm1_15y1-04A3461AD9-3: Error: unknown protocol: localhost: Disabling URL localhost:9332 for 60s
It cannot connect to p2pool and switching to backup pool

Both BTCMiner (v121126, cluster mode) and BFGminer seem work well with p2pool Stratum for me,
I don't see the same error for BTCMiner, running on amd64 Linux,
do you use different version or platform?


BTCMiner does not have any Stratum support, only GetWork+ var diff. How it can be working for you, mate?  Cheesy
I am using same as you AMD64 Linux.
member
Activity: 75
Merit: 10
P2pool becomes incompatible with some miners. Even with Stratum mining-proxy itself!
Look at Ztex BTCMiner log:
Code:
001-0: ztex_ufm1_15y1-04A3461AD9-3: Error: unknown protocol: localhost: Disabling URL localhost:9332 for 60s
It cannot connect to p2pool and switching to backup pool

Both BTCMiner (v121126, cluster mode) and BFGminer seem work well with p2pool Stratum for me,
I don't see the same error for BTCMiner, running on amd64 Linux,
do you use different version or platform?
legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
P2pool becomes incompatible with some miners. Even with Stratum mining-proxy itself!
Look at Ztex BTCMiner log:
Code:
001-0: ztex_ufm1_15y1-04A3461AD9-3: Error: unknown protocol: localhost: Disabling URL localhost:9332 for 60s
It cannot connect to p2pool and switching to backup pool
Stratum-mining-proxy reports:
Code:
$ python ~/stratum-mining-proxy/mining_proxy.py -gp 4704 -sp 4705 -rt -oh localhost -o localhost -p 9332
2012-12-31 01:08:20,062 INFO proxy jobs. # Using C extension for midstate speedup. Good!
2012-12-31 01:08:23,061 ERROR proxy mining_proxy.main # Stratum host/port autodetection failed
Traceback (most recent call last):
  File "/home/pioruns/stratum-mining-proxy/mining_proxy.py", line 154, in main
    new_host = (yield utils.detect_stratum(args.host, args.port))
  File "/usr/local/lib/python2.6/dist-packages/Twisted-12.2.0-py2.6-linux-x86_64.egg/twisted/internet/defer.py", line 1045, in _inlineCallbacks
    result = g.send(result)
  File "/home/pioruns/stratum-mining-proxy/mining_libs/utils.py", line 69, in detect_stratum
    header = f.response_headers.get('x-stratum', None)[0]
TypeError: 'NoneType' object is unsubscriptable
2012-12-31 01:08:23,083 WARNING proxy mining_proxy.main # Stratum proxy version: 1.3.0
2012-12-31 01:08:23,083 WARNING proxy mining_proxy.main # Trying to connect to Stratum pool at localhost:9332
2012-12-31 01:08:23,092 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2012-12-31 01:08:23,093 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at localhost:9332
2012-12-31 01:08:23,094 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2012-12-31 01:08:23,111 WARNING proxy mining_proxy.main # -----------------------------------------------------------------------
2012-12-31 01:08:23,112 WARNING proxy mining_proxy.main # LISTENING FOR MINERS ON http://localhost:4704 (getwork) and stratum+tcp://0.0.0.0:4705 (stratum)
2012-12-31 01:08:23,113 WARNING proxy mining_proxy.main # -----------------------------------------------------------------------
And it's not working, miner connected to this stratum-mining-proxy cannot get any work (proxy spits out thousands of errors) and switching to backup pool.
With new version 10, P2pool become unusable for both miners I am using - Ztex BTCMiner and Stratum mining proxy.
legendary
Activity: 1540
Merit: 1001
EDIT: You can disable cgminer's auto-switching to Stratum if you think Stratum is worse by using --fix-protocol on cgminer
Or --disable-stratum in BFGMiner. But note that in general, stratum is better than getwork and makes good sense for local stuff like p2pool.

Makes sense, but reality doesn't always match theory.  As I said above, I have it disabled for now until my payout gets back up to par.  Whether it was stratum or a p2pool bug that caused it, I don't know.  I can tell you my local rejects from cgminer increased with stratum.

M
legendary
Activity: 2576
Merit: 1186
EDIT: You can disable cgminer's auto-switching to Stratum if you think Stratum is worse by using --fix-protocol on cgminer
Or --disable-stratum in BFGMiner. But note that in general, stratum is better than getwork and makes good sense for local stuff like p2pool.
legendary
Activity: 1540
Merit: 1001
P2Pool release 10.0 tag: 10.0 hash: 541fa38d384428337da22f5115ae8ce92ed3f8e2

This upgrade is critical for fixing an issue that causes us to lose blocks. Please upgrade!

Windows binary: http://u.forre.st/u/twrtsxtl/p2pool_win32_10.0.zip
Source zipball: https://github.com/forrestv/p2pool/zipball/10.0
Source tarball: https://github.com/forrestv/p2pool/tarball/10.0

Changes:
* Stratum support - just connect to stratum+tcp://127.0.0.1:9332 or let cgminer autodetect and switch using the X-Stratum header
* Fixed coinbase value bug that caused two produced blocks to be invalid - shares produced after a quick series of transactions are produced on the Bitcoin network don't include all transactions due to the share size limit, but the fee was calculated improperly in this case
* Increased default donation amount to 1%  to continue to support post-halving development

EDIT: You can disable cgminer's auto-switching to Stratum if you think Stratum is worse by using --fix-protocol on cgminer

I'm forcing LP.  I lost 1/3 of my shares overnight, not sure if it's because of the bug, or if stratum.  I'll try again once my payout gets back up to par.

I also keep lowering the maximum incoming connections.  I noticed I start getting stales left and right when the connections increase.  I dropped it to 10, then to 5, and now to 3.  Seems to be working well to keep the stales and deads at bay. 

M
hero member
Activity: 516
Merit: 643
P2Pool release 10.0 tag: 10.0 hash: 541fa38d384428337da22f5115ae8ce92ed3f8e2

This upgrade is critical for fixing an issue that causes us to lose blocks. Please upgrade!

Windows binary: http://u.forre.st/u/twrtsxtl/p2pool_win32_10.0.zip
Source zipball: https://github.com/forrestv/p2pool/zipball/10.0
Source tarball: https://github.com/forrestv/p2pool/tarball/10.0

Changes:
* Stratum support - just connect to stratum+tcp://127.0.0.1:9332 or let cgminer autodetect and switch using the X-Stratum header
* Fixed coinbase value bug that caused two produced blocks to be invalid - shares produced after a quick series of transactions are produced on the Bitcoin network don't include all transactions due to the share size limit, but the fee was calculated improperly in this case
* Increased default donation amount to 1%  to continue to support post-halving development

EDIT: You can disable cgminer's auto-switching to Stratum if you think Stratum is worse by using --fix-protocol on cgminer
legendary
Activity: 1540
Merit: 1001
v10 already on github Smiley
http://git.io/PtL8AQ

Upgraded.  Doesn't seem to have decreased cgminer stales though. Sad

M

My Doa wents up from 3% in v9 to 10% in v10 with Stratum between cgminer V2.10.4 an p2pool

I think mine increased as well, and I'm getting less shares. 

M
newbie
Activity: 22
Merit: 0
My incoming peer has always been 0. Any cause for concern?

That means you aren't forwarding the p2pool port from your firewall.  Probably okay.

M
Thanks, that solved it.
sr. member
Activity: 344
Merit: 250
Flixxo - Watch, Share, Earn!
does stratum use a new port?

at the same port (9332)

on my cgminer the old config runs amd detect automatical the Stratum.

Jump to: