Bitcoin Forum
April 23, 2024, 04:16:28 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 [216] 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591621 times)
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
January 01, 2013, 01:05:52 AM
 #4301

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

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
1713888988
Hero Member
*
Offline Offline

Posts: 1713888988

View Profile Personal Message (Offline)

Ignore
1713888988
Reply with quote  #2

1713888988
Report to moderator
Even if you use Bitcoin through Tor, the way transactions are handled by the network makes anonymity difficult to achieve. Do not expect your transactions to be anonymous unless you really know what you're doing.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713888988
Hero Member
*
Offline Offline

Posts: 1713888988

View Profile Personal Message (Offline)

Ignore
1713888988
Reply with quote  #2

1713888988
Report to moderator
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
January 01, 2013, 02:29:45 AM
 #4302

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

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
January 01, 2013, 12:07:41 PM
 #4303

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



I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
January 01, 2013, 02:21:29 PM
 #4304

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!

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
January 01, 2013, 02:41:08 PM
 #4305

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 > --- <exception caught here> ---
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
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
January 01, 2013, 06:07:50 PM
 #4306

happens for me now too, how do i disable stratum?

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
January 01, 2013, 06:13:06 PM
 #4307

happens for me now too, how do i disable stratum?

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


M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
AV
Hero Member
*****
Offline Offline

Activity: 910
Merit: 1000



View Profile
January 01, 2013, 06:14:20 PM
 #4308

K1773R
cgminer
--fix-protocol      Do not redirect to a different getwork protocol (eg. stratum)


Ups...
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
January 01, 2013, 06:18:19 PM
 #4309

yea, was just about to EDIT my post since i found it... shame on me!
its funny, yesterday i had no problem at all...

[GPG Public Key]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
January 01, 2013, 06:52:34 PM
 #4310

Posted issue on git, looks like thats WHY all my shares being orphaned...
https://github.com/forrestv/p2pool/issues/73

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
January 01, 2013, 06:57:15 PM
 #4311

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

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
January 01, 2013, 06:59:32 PM
 #4312

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.

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

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
January 01, 2013, 07:37:12 PM
 #4313

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

DARKNET MARKETS >> https://DARKNETMARKETS.COM
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
January 01, 2013, 09:17:39 PM
 #4314

Lenny, it is fixed already Smiley
https://github.com/forrestv/p2pool/commit/2dffea00ee99f2c624a8504afee37532ba3daa5d

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
btctalk
Full Member
***
Offline Offline

Activity: 137
Merit: 112



View Profile WWW
January 01, 2013, 09:29:00 PM
 #4315

I was about to reply with the same problem that saw the updated version. I just updated hope that it solved the issue, I had lots of orphaned shares on v10 so far...

btw is there any way to prevent the statictic's reset when restarting p2pool?

Persian Blockchain Podcast: https://shiryakhat.net
Super Bitcoiner Club http://superbitcoiner.com
Persian Blockchain Community - http://coiniran.com - http://fb.com/IranBitcoin
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
January 01, 2013, 09:30:27 PM
 #4316


Thanks for info Smiley I wasn't there for a while, you know, New Year's Eve Wink

DARKNET MARKETS >> https://DARKNETMARKETS.COM
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
January 01, 2013, 11:12:24 PM
 #4317

I was about to reply with the same problem that saw the updated version. I just updated hope that it solved the issue, I had lots of orphaned shares on v10 so far...

btw is there any way to prevent the statictic's reset when restarting p2pool?
Nope. Number of shares is counted from 0.
But rest of stats is in the graphs, they are not lost.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
forrestv (OP)
Hero Member
*****
Offline Offline

Activity: 516
Merit: 643


View Profile
January 02, 2013, 07:19:40 AM
 #4318

P2Pool release 11.0 tag: 11.0 hash: bf3056c76330dcc776ad09650c567619e94dea3b

Windows binary: http://u.forre.st/u/fepwxaia/p2pool_win32_11.0.zip
Source zipball: https://github.com/forrestv/p2pool/zipball/11.0
Source tarball: https://github.com/forrestv/p2pool/tarball/11.0

Changes:
* Fixed shares being orphaned with error message, caused by a bug the subsidy fix in the previous release
* Work is shared between stratum connections, resulting in greatly decreased latency when many stratum clients are connected
* Fixed compatibility with stratum-mining-proxy

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
January 02, 2013, 10:42:09 AM
 #4319

Ah! Great work - and so quick! Upgraded, let's see how goes it. Many thanks.

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
lenny_
Legendary
*
Offline Offline

Activity: 1036
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
January 02, 2013, 03:32:28 PM
 #4320

Stratum-mining-proxy still not working at all. At least, BTC Miner itself work now with default protocol GetWork without problems.
Here some logs:

1. Connected Ztex BTCMiner with BTC address as user to Stratum-mining-proxy
Stratum-mining-proxy error output:
Code:
2013-01-02 15:21:33,368 INFO proxy client_service.handle_event # Setting new difficulty: 0.999984741211
2013-01-02 15:21:33,373 INFO proxy client_service.handle_event # New job 218616616958190723782478161383154985014 for prevhash ccca5c12, clean_jobs=True
2013-01-02 15:21:41,314 WARNING proxy getwork_listener.render_POST # Worker '1JsdviS8oYHVtLxEzFYGHUTZk88EQtN1Bd' subscribed for LP
2013-01-02 15:21:43,670 INFO proxy client_service.handle_event # Setting new difficulty: 0.999984741211
2013-01-02 15:21:43,676 INFO proxy client_service.handle_event # New job 109043941172271690938874337452704092682 for prevhash ccca5c12, clean_jobs=True
2013-01-02 15:21:43,677 INFO proxy getwork_listener._on_lp_broadcast # LP broadcast for worker '1JsdviS8oYHVtLxEzFYGHUTZk88EQtN1Bd'
2013-01-02 15:21:43,678 INFO proxy jobs.extranonce2_padding # Extranonce size mismatch. Please report this error to pool operator!
2013-01-02 15:21:43,698 WARNING proxy getwork_listener.render_POST # Worker '1JsdviS8oYHVtLxEzFYGHUTZk88EQtN1Bd' subscribed for LP
Ztex BTCMiner output:
Code:
2013-01-02T15:22:23: 001-0: ztex_ufm1_15y1-04A39E424E-3: Error: jsonParse: Parameter `data' not found: Disabling URL http://localhost:4555 for 60s


2. Connected Ztex BTCMiner with empty user field to Stratum-mining-proxy
Startum-mining-proxy output:
Code:
2013-01-02 15:23:37,214 WARNING proxy getwork_listener.render_POST # Authorization required
Ztex BTCMiner output:
Code:
001-0: ztex_ufm1_15y1-04A3465EA1-1: Error: Server returned HTTP response code: 401 for URL: http://localhost:4555: Disabling URL http://localhost:4555 for 60s

DARKNET MARKETS >> https://DARKNETMARKETS.COM
Pages: « 1 ... 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 [216] 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!