Bitcoin Forum
March 19, 2024, 06:46:33 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 465 466 467 468 469 470 471 472 473 474 [475] 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591571 times)
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
July 05, 2014, 06:08:56 PM
 #9481

Also, I also noticed p2pool would complain a little bit about shares being submitted over difficulty every time p2pool changed the pseudo share size.  It even did this when I had the psuedo share size forced to the highest value (1000) by appending +1000 to my address!  It also happened when I override the share size on the proxy side to something larger than p2pool wanted.  I didn't check the math of the shares, so it could be an Ant problem, or it could be a p2pool problem.

M

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

Posts: 1710830793

View Profile Personal Message (Offline)

Ignore
1710830793
Reply with quote  #2

1710830793
Report to moderator
1710830793
Hero Member
*
Offline Offline

Posts: 1710830793

View Profile Personal Message (Offline)

Ignore
1710830793
Reply with quote  #2

1710830793
Report to moderator
If you want to be a moderator, report many posts with accuracy. You will be noticed.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1710830793
Hero Member
*
Offline Offline

Posts: 1710830793

View Profile Personal Message (Offline)

Ignore
1710830793
Reply with quote  #2

1710830793
Report to moderator
1710830793
Hero Member
*
Offline Offline

Posts: 1710830793

View Profile Personal Message (Offline)

Ignore
1710830793
Reply with quote  #2

1710830793
Report to moderator
JakeTri
Full Member
***
Offline Offline

Activity: 154
Merit: 100


View Profile
July 05, 2014, 06:48:19 PM
 #9482

At the moment my conclusion is a proxy isn't going to help getting S2s working with p2pool.

I believe the problem is the constant "drop EVERYTHING you are doing and restart" messages that p2pool sends every 30 seconds.  Then it rejects all the old work coming p2pool leading to large DOA.

My recommendations for p2pool to become more S2 friendly:

1 - Sending new work every 30 seconds is fine.  It's apparently not necessary to force the miner to restart "clean jobs" = true.  It also needs to gracefully accept work from prior job IDs for a period of time like other pools do.

2 - Start at a higher pseudo difficulty than 1.

3 - Allow a higher pseudo difficulty than 1000.

4 - Send the actual errors back for rejected work, instead of just "false".

If I understood python I'd take a stab at 2 through 4.  1 might be a big deal.

Here are 2 patches for p2pool that address point 2 and 3 from your list.

First a simple patch that allow higher than 1000 pseudo-difficulty.
https://github.com/jaketri/p2pool/commit/05b630f2c8f93b78093043b28c0c543fafa0a856

And another patch that add "--min-difficulty" parameter to p2pool. For my setup I use 256 as start pseudo difficulty.

https://github.com/jaketri/p2pool/commit/5f02f893490f2b9bfa48926184c4b1329c4d1554

BTC donations always welcome: 1JakeTriwbahMYp1rSfJbTn7Afd1w62p2q
sconklin321
Sr. Member
****
Offline Offline

Activity: 543
Merit: 250

Orjinal üyelik ToRiKaN banlanalı asır ol


View Profile
July 05, 2014, 06:55:22 PM
 #9483

At the moment my conclusion is a proxy isn't going to help getting S2s working with p2pool.

I believe the problem is the constant "drop EVERYTHING you are doing and restart" messages that p2pool sends every 30 seconds.  Then it rejects all the old work coming p2pool leading to large DOA.

My recommendations for p2pool to become more S2 friendly:

1 - Sending new work every 30 seconds is fine.  It's apparently not necessary to force the miner to restart "clean jobs" = true.  It also needs to gracefully accept work from prior job IDs for a period of time like other pools do.

2 - Start at a higher pseudo difficulty than 1.

3 - Allow a higher pseudo difficulty than 1000.

4 - Send the actual errors back for rejected work, instead of just "false".


If I understood python I'd take a stab at 2 through 4.  1 might be a big deal.

M

Does p2pool force the clean jobs when a share is found (should be 30 seconds due to share time)?  So wouldn't not forcing that, just result is lower node efficiency through more DOA's to the sharechain?  This would be why eligius doesn't need to force a restart everytime it sends new work, just every time a bitcoin block is found (7 to 10 minutes).  And if this is truly where the error, I could be wrong, but wouldn't that mean that you are hashing at the full hash rate, but it's just getting reported wrong??

- Orjinal Üyelik Eski Banlanmış ToRiKaN -

https://youtube.com/c/KriptoParatoner

www twitter.com/torikan
jonnybravo0311
Legendary
*
Offline Offline

Activity: 1344
Merit: 1023


Mine at Jonny's Pool


View Profile WWW
July 05, 2014, 07:11:39 PM
 #9484

This may seem like a simplistic approach, but if you're getting a whole lot of work submitted after the pool says "drop everything", couldn't you mitigate that by setting the queue depth to 0 in cgminer on the S2?

Jonny's Pool - Mine with us and help us grow!  Support a pool that supports Bitcoin, not a hardware manufacturer's pockets!  No SPV cheats.  No empty blocks.
MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 05, 2014, 10:17:54 PM
 #9485

I have a question, and it may have already been answered and my google-fu is off.

I can think of a few ways a dishonest p2pool operator can 'cheat' users of the pool (charging fee's while saying your not etc...).  Has anyone thought or implemented ways to detect cheating?

Nel

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
rav3n_pl
Legendary
*
Offline Offline

Activity: 1361
Merit: 1003


Don`t panic! Organize!


View Profile WWW
July 05, 2014, 10:27:18 PM
 #9486

Only way is to change poll code and hide fee.
P2pool idea is to run own node and use it Smiley
Use others only as backup.

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/
Bulk-Neteller Ltd
Member
**
Offline Offline

Activity: 67
Merit: 10


View Profile
July 05, 2014, 10:36:47 PM
 #9487

where can i learn pool tricks, very essential.
MineForeman.com
Legendary
*
Offline Offline

Activity: 896
Merit: 1000



View Profile WWW
July 05, 2014, 10:43:29 PM
 #9488

Only way is to change poll code and hide fee.
P2pool idea is to run own node and use it Smiley
Use others only as backup.


Not everyone can/want's to run their own node.  It would be cool though if they could use someone else's but I was wondering if there is some way to prove that it is fair.

Neil

Bitcoin News http://mineforeman.com/ || MinePeon - Bitcoin mining on the Raspberry PI http://mineforeman.com/minepeon/ || MinePeon Wiki http://minepeon.com/ || MinePeon Forums http://minepeon.com/forums/
sconklin321
Sr. Member
****
Offline Offline

Activity: 543
Merit: 250

Orjinal üyelik ToRiKaN banlanalı asır ol


View Profile
July 05, 2014, 11:03:04 PM
 #9489

Only way is to change poll code and hide fee.
P2pool idea is to run own node and use it Smiley
Use others only as backup.


Not everyone can/want's to run their own node.  It would be cool though if they could use someone else's but I was wondering if there is some way to prove that it is fair.

Neil

I don't know if there is anyway of proving any pool is really fair.  To that end, what would stop a pool op from saying 0 fee or a 1% fee and then taking all the profits.  In the end its all about what you feel comfortable with.  If, say you wanted to see the true node fee (barring them changing the coding behind p2pool) you can go to the node/fee and it is published there.  For example, the node I have setup, and will be returning to mining on once I get my two addresses into eligius's payout queue, is http://mine.njbtcmine.net:9332/fee.

FYI, that node is located in Newark, NJ if anyone is looking for a node to mine on.

Edit: Someone correct me if I'm wrong, but the fee to P2Pool is in shares too, isn't it?  So you'd notice your estimated payout adversely effected if someone did edit the code to hide the fee and take 100%, or something stupid like that.

- Orjinal Üyelik Eski Banlanmış ToRiKaN -

https://youtube.com/c/KriptoParatoner

www twitter.com/torikan
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
July 06, 2014, 01:35:28 AM
 #9490

At the moment my conclusion is a proxy isn't going to help getting S2s working with p2pool.

I believe the problem is the constant "drop EVERYTHING you are doing and restart" messages that p2pool sends every 30 seconds.  Then it rejects all the old work coming p2pool leading to large DOA.

My recommendations for p2pool to become more S2 friendly:

1 - Sending new work every 30 seconds is fine.  It's apparently not necessary to force the miner to restart "clean jobs" = true.  It also needs to gracefully accept work from prior job IDs for a period of time like other pools do.

2 - Start at a higher pseudo difficulty than 1.

3 - Allow a higher pseudo difficulty than 1000.

4 - Send the actual errors back for rejected work, instead of just "false".

If I understood python I'd take a stab at 2 through 4.  1 might be a big deal.

Here are 2 patches for p2pool that address point 2 and 3 from your list.

First a simple patch that allow higher than 1000 pseudo-difficulty.
https://github.com/jaketri/p2pool/commit/05b630f2c8f93b78093043b28c0c543fafa0a856

And another patch that add "--min-difficulty" parameter to p2pool. For my setup I use 256 as start pseudo difficulty.

https://github.com/jaketri/p2pool/commit/5f02f893490f2b9bfa48926184c4b1329c4d1554

Thanks, that's good.  Now why isn't it in the main code?

M

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

Activity: 1540
Merit: 1001



View Profile
July 06, 2014, 01:39:25 AM
 #9491

This may seem like a simplistic approach, but if you're getting a whole lot of work submitted after the pool says "drop everything", couldn't you mitigate that by setting the queue depth to 0 in cgminer on the S2?

Good idea.  I haven't tried that yet.  I think that's reachable via the api...

setconfig|queue,0

M

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

Activity: 1540
Merit: 1001



View Profile
July 06, 2014, 01:41:34 AM
 #9492

Does p2pool force the clean jobs when a share is found (should be 30 seconds due to share time)?  So wouldn't not forcing that, just result is lower node efficiency through more DOA's to the sharechain?  This would be why eligius doesn't need to force a restart everytime it sends new work, just every time a bitcoin block is found (7 to 10 minutes).  And if this is truly where the error, I could be wrong, but wouldn't that mean that you are hashing at the full hash rate, but it's just getting reported wrong??

I think your logic is correct.  Clean jobs has to be submitted when a new share is on the chain.

If the S2 was truly hashing at the full rate, at least one place would show it.  But every place shows it low: p2pool, the S2 web UI, and the S2 LCD.

M

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

Activity: 85
Merit: 10


View Profile
July 06, 2014, 04:25:47 AM
 #9493

Time for a BLOCK PARTY!!!!
nreal
Full Member
***
Offline Offline

Activity: 932
Merit: 100


arcs-chain.com


View Profile
July 06, 2014, 07:00:49 AM
 #9494

What is the doa% with s2?

► ARCS ◄ ♦ ARCS - The New World Token (*Listed on KuCoin) ♦ ► ARCS ◄
───●●───●●───●●───●●───●●─[   Bounty Detective   ]─●●───●●───●●───●●───●●───
Website|Twitter|Medium|Telegram|Whitepaper
cathoderay
Sr. Member
****
Offline Offline

Activity: 379
Merit: 250


Welcome to dogietalk.bs


View Profile
July 06, 2014, 11:04:07 AM
 #9495

Here are 2 patches for p2pool that address point 2 and 3 from your list.

First a simple patch that allow higher than 1000 pseudo-difficulty.
https://github.com/jaketri/p2pool/commit/05b630f2c8f93b78093043b28c0c543fafa0a856

And another patch that add "--min-difficulty" parameter to p2pool. For my setup I use 256 as start pseudo difficulty.

https://github.com/jaketri/p2pool/commit/5f02f893490f2b9bfa48926184c4b1329c4d1554

Thanks, that's good.  Now why isn't it in the main code?

M

Because that would require some kind of participation from the developer....

Talking of which, it's great to see him bouncing ideas off the community in an effort to help cure these issues isn't it?......... Roll Eyes

Have you been a victim of dogie insults, neg-rep'd for no reason or been falsely accused by him? If so, air your experiences here:  https://bitcointalk.org/index.php?topic=905210.0
Avoid manipulative Exchanges - Localbitcoins.com
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
July 06, 2014, 11:11:43 AM
 #9496

Here are 2 patches for p2pool that address point 2 and 3 from your list.

First a simple patch that allow higher than 1000 pseudo-difficulty.
https://github.com/jaketri/p2pool/commit/05b630f2c8f93b78093043b28c0c543fafa0a856

And another patch that add "--min-difficulty" parameter to p2pool. For my setup I use 256 as start pseudo difficulty.

https://github.com/jaketri/p2pool/commit/5f02f893490f2b9bfa48926184c4b1329c4d1554

Thanks, that's good.  Now why isn't it in the main code?

M

Because that would require some kind of participation from the developer....

Talking of which, it's great to see him bouncing ideas off the community in an effort to help cure these issues isn't it?......... Roll Eyes

Good point.

Forks have their place.  However my concern is if there isn't one main fork, the average user won't know what to use.

M

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

Activity: 434
Merit: 250



View Profile
July 06, 2014, 11:16:49 AM
Last edit: July 06, 2014, 11:33:40 AM by raskul
 #9497

Yet another reason i like p2pool
I wouldn't imagine it possible to hide the fee is it?
In any case if the fee is hidden just don't use the node

EU:

eu.centralcavern.uk:9332/fee

Only way is to change poll code and hide fee.
P2pool idea is to run own node and use it Smiley
Use others only as backup.


Not everyone can/want's to run their own node.  It would be cool though if they could use someone else's but I was wondering if there is some way to prove that it is fair.

Neil

I don't know if there is anyway of proving any pool is really fair.  To that end, what would stop a pool op from saying 0 fee or a 1% fee and then taking all the profits.  In the end its all about what you feel comfortable with.  If, say you wanted to see the true node fee (barring them changing the coding behind p2pool) you can go to the node/fee and it is published there.  For example, the node I have setup, and will be returning to mining on once I get my two addresses into eligius's payout queue, is http://mine.njbtcmine.net:9332/fee.

FYI, that node is located in Newark, NJ if anyone is looking for a node to mine on.

Edit: Someone correct me if I'm wrong, but the fee to P2Pool is in shares too, isn't it?  So you'd notice your estimated payout adversely effected if someone did edit the code to hide the fee and take 100%, or something stupid like that.

tips    1APp826DqjJBdsAeqpEstx6Q8hD4urac8a
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
July 06, 2014, 11:39:45 AM
 #9498

This may seem like a simplistic approach, but if you're getting a whole lot of work submitted after the pool says "drop everything", couldn't you mitigate that by setting the queue depth to 0 in cgminer on the S2?

Good idea.  I haven't tried that yet.  I think that's reachable via the api...

setconfig|queue,0

I just tried it.  No difference.  Still way too many rejects, because the Ant can't respond quick enough to job restarts.

I don't think p2pool can solve this without increasing the share time significantly.  The Ants will still get rejects, but since there won't be as many restarts, the ratio will be lower.

Ultimately I believe the problem is in Bitmain's hands.  (Or Kano, if he can rewrite the code to be more responsive.)

M

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

Activity: 932
Merit: 100


arcs-chain.com


View Profile
July 06, 2014, 02:31:38 PM
 #9499

What is the doa% with s2? on pool level its 13% now, so anything below 13 is just fine.

► ARCS ◄ ♦ ARCS - The New World Token (*Listed on KuCoin) ♦ ► ARCS ◄
───●●───●●───●●───●●───●●─[   Bounty Detective   ]─●●───●●───●●───●●───●●───
Website|Twitter|Medium|Telegram|Whitepaper
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
July 06, 2014, 03:26:54 PM
 #9500

What is the doa% with s2? on pool level its 13% now, so anything below 13 is just fine.

I believe it's much higher than that.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
Pages: « 1 ... 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 465 466 467 468 469 470 471 472 473 474 [475] 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 ... 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!