Author

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

legendary
Activity: 1036
Merit: 1000
DARKNETMARKETS.COM
I've been working with rav3n_pl to find out why my local Stratum mining proxy cannot connect to p2pool anymore, after upgrading to p2pool v10.
Finally we reported an issue on Stratum mining proxy: https://github.com/slush0/stratum-mining-proxy/issues/6
That's what slush respond:
Quote
slush0 commented a day ago

It is server side problem; server should send mining.notify message directly after mining.subscribe and not wait for mining.authorize.

Please ask server operator to fix it on his side.
Help needed Smiley
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
Posted issue on git, looks like thats WHY all my shares being orphaned...
https://github.com/forrestv/p2pool/issues/73


Bad build of bitcoind?

M
Trouble started after update to v10. I`m using git build of bitcoind, not have any issues earlier.
legendary
Activity: 1540
Merit: 1001
Posted issue on git, looks like thats WHY all my shares being orphaned...
https://github.com/forrestv/p2pool/issues/73


Bad build of bitcoind?

M
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
Posted issue on git, looks like thats WHY all my shares being orphaned...
https://github.com/forrestv/p2pool/issues/73
legendary
Activity: 1792
Merit: 1008
/dev/null
yea, was just about to EDIT my post since i found it... shame on me!
its funny, yesterday i had no problem at all...
AV
hero member
Activity: 910
Merit: 1000
K1773R
cgminer
--fix-protocol      Do not redirect to a different getwork protocol (eg. stratum)


Ups...
legendary
Activity: 1540
Merit: 1001
happens for me now too, how do i disable stratum?

Code:
--fix-protocol      Do not redirect to a different getwork protocol (eg. stratum)


M
legendary
Activity: 1792
Merit: 1008
/dev/null
happens for me now too, how do i disable stratum?
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
2013-01-01 08:32:06.699172 New work for worker! Difficulty: 1.565199 Share difficulty: 584.008722 Total block value: 25.481000 BTC including 420 transactions
2013-01-01 08:32:07.245097 GOT SHARE!  3cc1ec10 prev 43e63923 age 0.92s
2013-01-01 08:32:07.276257 > Share check failed:
2013-01-01 08:32:07.276323 > Traceback (most recent call last):
2013-01-01 08:32:07.276350 >   File "/home/jesus/p2pool/p2pool/bitcoin/worker_interface.py", line 70, in _getwork
2013-01-01 08:32:07.276384 >     defer.returnValue(self.merkle_root_to_handler[header['merkle_root']](header, request.getUser() if request.getUser() is not None else '', 0))
2013-01-01 08:32:07.276458 >   File "/home/jesus/p2pool/p2pool/work.py", line 345, in got_response
2013-01-01 08:32:07.276493 >     self.node.set_best_share()
2013-01-01 08:32:07.276536 >   File "/home/jesus/p2pool/p2pool/node.py", line 288, in set_best_share
2013-01-01 08:32:07.276569 >     best, desired, decorated_heads = self.tracker.think(self.get_height_rel_highest, self.bitcoind_work.value['previous_block'], self.bitcoind_work.value['bits'], self.known_txs_var.value)
2013-01-01 08:32:07.276610 >   File "/home/jesus/p2pool/p2pool/data.py", line 445, in think
2013-01-01 08:32:07.276641 >     if self.attempt_verify(share):
2013-01-01 08:32:07.276664 > --- ---
2013-01-01 08:32:07.276690 >   File "/home/jesus/p2pool/p2pool/data.py", line 424, in attempt_verify
2013-01-01 08:32:07.276713 >     share.check(self)
2013-01-01 08:32:07.276746 >   File "/home/jesus/p2pool/p2pool/data.py", line 314, in check
2013-01-01 08:32:07.276778 >     raise ValueError('''gentx doesn't match hash_link''')
2013-01-01 08:32:07.276809 > exceptions.ValueError: gentx doesn't match hash_link


what exactly does that signify?


it would have kept going forever if i had not caught it

re:

log.old.2:2013-01-01 08:19:28.273919 > Share check failed:
log.old.2:2013-01-01 08:23:18.504064 > Share check failed:

would it be from using the latest git bitcoind?

    "version" : 79900,
    "protocolversion" : 60002,
    "walletversion" : 60000,
    "balance" : 0.00000000,
    "blocks" : 214663,
    "connections" : 959,
    "proxy" : "",
    "difficulty" : 2979636.61693807,
    "testnet" : false,
    "keypoololdest" : 1357027515,
    "keypoolsize" : 1,
    "paytxfee" : 0.00000000,
    "errors" : "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"


i suppose it does give a warning at the end

    "blocks" : 214663,
    "currentblocksize" : 274839,
    "currentblocktx" : 465,
    "difficulty" : 2979636.61693807,
    "errors" : "This is a pre-release test build - use at your own risk - do not use for mining or merchant applications",
    "generate" : false,
    "genproclimit" : -1,
    "hashespersec" : 0,
    "pooledtx" : 986,
    "testnet" : false



anyway, i set it back to 30k size, as the only time ive had that problem (i guess that's what the other thing with the 25 orphans was as well) is when im not limiting block size
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???

something wrong with ur bitcoind
Recompiled to latest git and restarted, will see.
Nothing wrong i see in bitcoin log anyway.
Got  2 another shares and both orphaned.... I never had have SO BAD LUCK!
legendary
Activity: 1540
Merit: 1001
Been running with stratum now for close to 12 hours.  I've turned off port forwarding completely.  So far so good..

27051 accepted from cgminer, 544 rejected or 2.01% rejects. 

More importantly, though, my payout is where it's supposed to be.  Last time I lost 30% of my payout running stratum overnight.  It was with the pre-release v10 of p2pool, however, but I also had unlimited incoming connections.  Not sure which "fixed" it, but all seems to be well now.

M


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?

Yup, latest of both.....
well then just use getwork, unless u got more than 50 GH/s it dosnt need stratum Wink

Done. Much better results. I was of the understanding that stratum was going to be an improvement ie: less stales/DOA?
it should yes, altough if there are problems (since its new and therefore probably bit buggy) u can get worse performance. im running cminer too and i got 0.36% stale, all my shares have been accepted (due to alot of connections) so far with stratum enabled.

I had to disable stratum here as well, higher rejects with stratum than with LP.

M

Interesting indeed. I'm running cgminer/p2pool with Stratum and am not having the issues you and others are mentioning. My reject rate is 2.3% and is the same as it was when I was running getwork. I still show Zero stales on Stratum as I did on getwork as well.

p2pool and bitcoind are running on a local server on my LAN. My rigs communicate with them on that same LAN/subnet.
 
I do not use the un-released git version of bitcoind.

If you are using an un-released git version of bitcoind or are using a non local p2pool server that could be your problem.

I'm not using an unreleased version of bitcoind.  I tried it for a while, and it didn't help any.  I've come to the conclusion I don't have the bandwidth to run p2pool the "proper" way without getting excessive stales.  I've turned off port forwarding for everything - namecoind, bitcoind, and p2pool.  My stales are consistently low now, unless someone else starts hogging bandwidth on my network.

Tomorrow I think I'll try stratum again and see how things go.

M
see cgminer thread for my answer
legendary
Activity: 1540
Merit: 1001
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.....
well then just use getwork, unless u got more than 50 GH/s it dosnt need stratum Wink

Done. Much better results. I was of the understanding that stratum was going to be an improvement ie: less stales/DOA?
it should yes, altough if there are problems (since its new and therefore probably bit buggy) u can get worse performance. im running cminer too and i got 0.36% stale, all my shares have been accepted (due to alot of connections) so far with stratum enabled.

I had to disable stratum here as well, higher rejects with stratum than with LP.

M

Interesting indeed. I'm running cgminer/p2pool with Stratum and am not having the issues you and others are mentioning. My reject rate is 2.3% and is the same as it was when I was running getwork. I still show Zero stales on Stratum as I did on getwork as well.

p2pool and bitcoind are running on a local server on my LAN. My rigs communicate with them on that same LAN/subnet.
 
I do not use the un-released git version of bitcoind.

If you are using an un-released git version of bitcoind or are using a non local p2pool server that could be your problem.

I'm not using an unreleased version of bitcoind.  I tried it for a while, and it didn't help any.  I've come to the conclusion I don't have the bandwidth to run p2pool the "proper" way without getting excessive stales.  I've turned off port forwarding for everything - namecoind, bitcoind, and p2pool.  My stales are consistently low now, unless someone else starts hogging bandwidth on my network.

Tomorrow I think I'll try stratum again and see how things go.

M
sr. member
Activity: 383
Merit: 250
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.....
well then just use getwork, unless u got more than 50 GH/s it dosnt need stratum Wink

Done. Much better results. I was of the understanding that stratum was going to be an improvement ie: less stales/DOA?
it should yes, altough if there are problems (since its new and therefore probably bit buggy) u can get worse performance. im running cminer too and i got 0.36% stale, all my shares have been accepted (due to alot of connections) so far with stratum enabled.

I had to disable stratum here as well, higher rejects with stratum than with LP.

M

Interesting indeed. I'm running cgminer/p2pool with Stratum and am not having the issues you and others are mentioning. My reject rate is 2.3% and is the same as it was when I was running getwork. I still show Zero stales on Stratum as I did on getwork as well.

p2pool and bitcoind are running on a local server on my LAN. My rigs communicate with them on that same LAN/subnet.
 
I do not use the un-released git version of bitcoind.

If you are using an un-released git version of bitcoind or are using a non local p2pool server that could be your problem.
legendary
Activity: 1540
Merit: 1001
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.....
well then just use getwork, unless u got more than 50 GH/s it dosnt need stratum Wink

Done. Much better results. I was of the understanding that stratum was going to be an improvement ie: less stales/DOA?
it should yes, altough if there are problems (since its new and therefore probably bit buggy) u can get worse performance. im running cminer too and i got 0.36% stale, all my shares have been accepted (due to alot of connections) so far with stratum enabled.

I had to disable stratum here as well, higher rejects with stratum than with LP.

M
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?

Yup, latest of both.....
well then just use getwork, unless u got more than 50 GH/s it dosnt need stratum Wink

Done. Much better results. I was of the understanding that stratum was going to be an improvement ie: less stales/DOA?
it should yes, altough if there are problems (since its new and therefore probably bit buggy) u can get worse performance. im running cminer too and i got 0.36% stale, all my shares have been accepted (due to alot of connections) so far with stratum enabled.
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
Recompiled to latest git and restarted, will see.
Nothing wrong i see in bitcoin log anyway.
a share being orphaned means it dosnt fit the rules (did include wrong transactions, etc) or just really unlucky. therefore something wrong with ur bitcoind, restart it. i found that using the latest git is working well, but u shouldnt mine to a address in the wallet of the git bitcoind since its not declared stable yet. i got a VM running with every altcoin in it and bitcoind, p2pool is connecting to this and payout is set to another adress.
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.....
well then just use getwork, unless u got more than 50 GH/s it dosnt need stratum Wink

Done. Much better results. I was of the understanding that stratum was going to be an improvement ie: less stales/DOA?
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???

something wrong with ur bitcoind
Recompiled to latest git and restarted, will see.
Nothing wrong i see in bitcoin log anyway.
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?

Yup, latest of both.....
well then just use getwork, unless u got more than 50 GH/s it dosnt need stratum Wink
Jump to: