Bitcoin Forum
December 08, 2016, 04:09:20 PM *
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 ... 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 [327] 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2032811 times)
Ghost of USD
Jr. Member
*
Offline Offline

Activity: 31


View Profile
August 26, 2013, 11:57:55 PM
 #6521

Work is not lost using p2pool, those stale p2pool shares can still solve a block and still be submitted to the bitcoin network for reward. The time and work invested in them is not lost. Those shares just don't show up in the p2pool sharechain, but will show up in the bitcoin blockchain.

Doesn't a winning (bitcoin) block not override the share chain?  Otherwise, that block couldn't actually be paid (by the share-chain)

Well, it depends on what you mean by "override."

A winning bitcoin block is sent to the bitcoin network and to the p2pool network. Bitcoin will payout the reward normally for the found block (including the finder's share). However, if the winning block isn't on the longest chain of the p2pool sharechain, it will get orphaned by the p2pool network.

In that case, the winning block is paid out and the solver will get credit for it for the current block (in addition to the 0.5% bonus for finding it), but the person that solved it won't get a credit for the share it for future blocks on the p2pool chain. This is fair because everyone has the same chance of it happening, and it does not mathematically affect expected payout for anyone. Additionally, this is extremely rare (<0.1% of blocks found will have this).

Ironically this just happened to me on the last block.

1ghostLfPmdYi4PuDsECRBXYadsGSHofz
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481213360
Hero Member
*
Offline Offline

Posts: 1481213360

View Profile Personal Message (Offline)

Ignore
1481213360
Reply with quote  #2

1481213360
Report to moderator
1481213360
Hero Member
*
Offline Offline

Posts: 1481213360

View Profile Personal Message (Offline)

Ignore
1481213360
Reply with quote  #2

1481213360
Report to moderator
maqifrnswa
Sr. Member
****
Offline Offline

Activity: 454


View Profile
August 27, 2013, 02:41:43 AM
 #6522

Well, it depends on what you mean by "override."

A winning bitcoin block is sent to the bitcoin network and to the p2pool network. Bitcoin will payout the reward normally for the found block (including the finder's share). However, if the winning block isn't on the longest chain of the p2pool sharechain, it will get orphaned by the p2pool network.

In that case, the winning block is paid out and the solver will get credit for it for the current block (in addition to the 0.5% bonus for finding it), but the person that solved it won't get a credit for the share it for future blocks on the p2pool chain. This is fair because everyone has the same chance of it happening, and it does not mathematically affect expected payout for anyone. Additionally, this is extremely rare (<0.1% of blocks found will have this).

Ironically this just happened to me on the last block.

holy crap:
https://blockchain.info/tx/270d0e76ac7bbe95720b95651a427bb75112005c4be8e57e3be14dadffc6ea9d

what are the chances of that!?  Wink

This is perfectly the example of how p2pool doesn't waste more work than solo mining! This counted as a p2pool "reject" but it still paid out!

I will admit that my math was wrong, it's > 0.1% of blocks. It should be ~ the DOA/stale rate, which is pretty high actually. See your stats:
"Note that blocks may have been orphaned from the P2Pool chain and so not be here."
zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
August 27, 2013, 06:27:20 AM
 #6523

The amount of lost shares in p2pool are normal. And every p2pool miner has the same. So its fair among the p2pool users.
Theory: But that means that a certain amount of hashpower is lost compared to solo mining. The shares maybe were good but they are lost and so is the amount of time invested in them.
Solution?: Am i right that this is no disadvantage to solo mining because the real bitcoin block that is found in p2pool is directly put into the network via solomining? So the lost shares does not affect in the end because for the real found block those lost shares dont exist. Correct? Then p2pool would be even better than normal pools because they have to receive the found share first and from there propagate it.

Sorry for the many questions... Smiley

no problem, they are good questions - some are answered in other places but it can be hard to find.

Yes, p2pool's internal share chain has lots of stales. But the p2pool network DOES NOT produce more bitcoin chain orphans (and thus wasted work) than solo mining.

Work is not lost using p2pool, those stale p2pool shares can still solve a block and still be submitted to the bitcoin network for reward. The time and work invested in them is not lost. Those shares just don't show up in the p2pool sharechain, but will show up in the bitcoin blockchain. The rewards for those blocks are paid out normally to p2pool users and are not wasted.

Theoretically, a 100% efficient p2pool miner that has ~5-10% stale/DOA rate will have the exact same expected value as a solominer with the < 0.5% orphan rate.

except sometimes those stales that solve blocks... are, well, a stale right after a block was found.  re the shenanigans that go on when switching from one block to another

not sure if p2pool would proceed along it's own chain or not?  either way, it's a block that'll most likely be orphaned.  that's when the slow getblocktemplate matters


Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
gyverlb
Hero Member
*****
Offline Offline

Activity: 896



View Profile
August 27, 2013, 07:47:35 AM
 #6524


except sometimes those stales that solve blocks... are, well, a stale right after a block was found.  re the shenanigans that go on when switching from one block to another

not sure if p2pool would proceed along it's own chain or not?  either way, it's a block that'll most likely be orphaned.  that's when the slow getblocktemplate matters


Bullshit.

After heaps of messages on this subject on this very thread (last was mine a few messages ago) you still don't understand that p2pool doesn't rely on getblocktemplate result being available to build the coinbase miners are working on.
p2pool is connected to the bitcoin P2P network and detects blocks before a getblocktemplate result is available for the new block and present a valid coinbase to miners ASAP. So there's absolutely no reason a "stale p2pool share" block would have more chance of being orphaned than any other block.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
August 27, 2013, 09:03:55 AM
 #6525

Share is every 30 seconds, block in network every 10 minutes.
Even if ALL of your shares will be DOA for share chain only 1 per 20 will be DOA for network block.
So if you will be REALLY lucky, you can find VALID block 20 times from DOA share ;]

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
TierNolan
Legendary
*
Offline Offline

Activity: 1036


View Profile
August 27, 2013, 10:59:42 AM
 #6526

p2pool is connected to the bitcoin P2P network and detects blocks before a getblocktemplate result is available for the new block and present a valid coinbase to miners ASAP. So there's absolutely no reason a "stale p2pool share" block would have more chance of being orphaned than any other block.

I assume getblocktemplate is used to build up the actual block transactions?  So, there is a window where p2pool miners mine against a block that only contains coinbase?

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
August 27, 2013, 02:56:33 PM
 #6527


except sometimes those stales that solve blocks... are, well, a stale right after a block was found.  re the shenanigans that go on when switching from one block to another

not sure if p2pool would proceed along it's own chain or not?  either way, it's a block that'll most likely be orphaned.  that's when the slow getblocktemplate matters


Bullshit.

After heaps of messages on this subject on this very thread (last was mine a few messages ago) you still don't understand that p2pool doesn't rely on getblocktemplate result being available to build the coinbase miners are working on.
p2pool is connected to the bitcoin P2P network and detects blocks before a getblocktemplate result is available for the new block and present a valid coinbase to miners ASAP. So there's absolutely no reason a "stale p2pool share" block would have more chance of being orphaned than any other block.

I think you're the one that doesn't understand, lol.

Maybe you should look at the specifics presented.

Listen, there's a reason why so many shares  get 'punished'.  

ed:  since I've disabled the 'punish' feature you'll be able to see all the orphans.  most of the time it's just one, the person unfortunate enough to have the share right before the new block, but just wait for a block where you have 2 or 3 orphans coming off of it,  some will have a received time after the new block, but still be working on old block.

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
TierNolan
Legendary
*
Offline Offline

Activity: 1036


View Profile
August 27, 2013, 03:08:52 PM
 #6528

since I've disabled the 'punish' feature you'll be able to see all the orphans.  most of the time it's just one, the person unfortunate enough to have the share right before the new block, but just wait for a block where you have 2 or 3 orphans coming off of it,  some will have a received time after the new block, but still be working on old block.

What is the punish feature?

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
gyverlb
Hero Member
*****
Offline Offline

Activity: 896



View Profile
August 27, 2013, 11:32:25 PM
 #6529

p2pool is connected to the bitcoin P2P network and detects blocks before a getblocktemplate result is available for the new block and present a valid coinbase to miners ASAP. So there's absolutely no reason a "stale p2pool share" block would have more chance of being orphaned than any other block.

I assume getblocktemplate is used to build up the actual block transactions?

I'm not sure how this part works as I'm not familiar with how a block template can be manipulated. I assume that getblocktemplate is called to get the transactions to confirm in the block and the reward transaction (the one distributing the reward to p2pool miners) is added.

So, there is a window where p2pool miners mine against a block that only contains coinbase?

With 0 transactions in the block, yes.
In fact when I was worried about getblocktemplate latencies I asked if such a mechanism (using an empty block built on top of the just found new block until getblocktemplate returned a result) would make sense and explored alternatives like workarounds/hacks in bitcoind's getblocktemplate. The reply from more knowledgeable people including Bitcoin devs was that there was no need for workarounds as pools were expected to implement this for ages to avoid producing orphans and forrestv confirmed that p2pool was using this technique too.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
gyverlb
Hero Member
*****
Offline Offline

Activity: 896



View Profile
August 27, 2013, 11:39:31 PM
 #6530


except sometimes those stales that solve blocks... are, well, a stale right after a block was found.  re the shenanigans that go on when switching from one block to another

not sure if p2pool would proceed along it's own chain or not?  either way, it's a block that'll most likely be orphaned.  that's when the slow getblocktemplate matters


Bullshit.

After heaps of messages on this subject on this very thread (last was mine a few messages ago) you still don't understand that p2pool doesn't rely on getblocktemplate result being available to build the coinbase miners are working on.
p2pool is connected to the bitcoin P2P network and detects blocks before a getblocktemplate result is available for the new block and present a valid coinbase to miners ASAP. So there's absolutely no reason a "stale p2pool share" block would have more chance of being orphaned than any other block.

I think you're the one that doesn't understand, lol.

Maybe you should look at the specifics presented.

Listen, there's a reason why so many shares  get 'punished'.  

ed:  since I've disabled the 'punish' feature you'll be able to see all the orphans.  most of the time it's just one, the person unfortunate enough to have the share right before the new block, but just wait for a block where you have 2 or 3 orphans coming off of it,  some will have a received time after the new block, but still be working on old block.

If you want to be taken seriously present your case clearly "a block that'll most likely be orphaned" is not the same than an orphaned p2pool share. It's a misleading statement at best FUD at worst, don't be surprised to see "bullshit" in response.

I usually don't read your posts in details anymore as I can't understand much of it without disproportionate efforts, but what reads like a risk of orphaned blocks with no basis is enough to catch my attention...

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
astutiumRob
Full Member
***
Offline Offline

Activity: 195



View Profile WWW
August 28, 2013, 01:14:34 AM
 #6531

You will get paid more for the higher difficulty shares.  It will reduce your bandwidth usage if you are putting out a lot of hash power.
Could just be anecdotal rather than consequential, but since adjusting my miners' difficulty the number of orphaned shares has dropped significantly:
to 23/August: Shares: 54 total (10 orphaned, 1 dead)
as at 28/August: Shares: 85 total (11 orphaned, 2 dead)

So only 1 orphan, 1 dead in 5 days compared to 10 orphan and 1 dead in previous 8

I've set (local) difficulty to nearest power of 2 up from actual ghs/2 (after doing some testing with a few pps pools and comparing 24h earnings at various difficulties - 30 Gh/s @ 32 actually earned more (2.1%) than 30Gh/s @ 16, but 30Gh/s @ 64 earned 17% less.

www.astutium.com - domains | hosting | vps | servers | cloud - proud to accept bitcoins. UK colocation for BFL and KNC ASICs in Tier3+ DC
Register Domains with BTC
Want to make some bitcoins ? Miner on ebay | Buy GH/s
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
August 28, 2013, 07:17:07 AM
 #6532

It is useless to compare P2pool to any other pool after 24h mining...
See p2pool.info - if luck >100% you are earning more than 0% PPS, if <100% you earning less.

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
CartmanSPC
Legendary
*
Offline Offline

Activity: 1148



View Profile WWW
August 29, 2013, 06:18:57 PM
 #6533

Have received this error twice now. This is on a DGC p2pool with 30 Mh/s. When the error occurs it stops all mining until the pool is restarted.



Based off of p2pool 13.3. 6 nodes with one having 98% of the hashrate. Any help would be appreciated.

zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
August 29, 2013, 10:40:17 PM
 #6534

Quote
If you want to be taken seriously present your case clearly "a block that'll most likely be orphaned" is not the same than an orphaned p2pool share. It's a misleading statement at best FUD at worst, don't be surprised to see "bullshit" in response.

I usually don't read your posts in details anymore as I can't understand much of it without disproportionate efforts, but what reads like a risk of orphaned blocks with no basis is enough to catch my attention...

Everything is "FUD", misleading, or needs more data...  go ahead, present yourself as the resident p2pool 'guru', solicit more donations

my pool is public and I make shit all from it, but it is fun to tinker with.  like the change regarding punishing shares, it's 35/35 since then.  ofc that's too small a sample to make a conclusive opinion, but it's promising

i don't read your posts either, unless they're directed towards me.  obvious, right?  otherwise I wouldn't be spewing all the FUD as I'd already know all the answers

Quote
Based off of p2pool 13.3. 6 nodes with one having 98% of the hashrate. Any help would be appreciated.
I wouldn't have a clue how to fix it, but it'd probably be helpful to (someone) to know if you're the node that's contributing the 98%

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
CartmanSPC
Legendary
*
Offline Offline

Activity: 1148



View Profile WWW
August 29, 2013, 11:55:44 PM
 #6535

Quote
Quote
Based off of p2pool 13.3. 6 nodes with one having 98% of the hashrate. Any help would be appreciated.
I wouldn't have a clue how to fix it, but it'd probably be helpful to (someone) to know if you're the node that's contributing the 98%

Yes. The node contributing 98% is the one that got the error.

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
August 30, 2013, 12:39:20 AM
 #6536

Have received this error twice now. This is on a DGC p2pool with 30 Mh/s. When the error occurs it stops all mining until the pool is restarted.

Based off of p2pool 13.3. 6 nodes with one having 98% of the hashrate. Any help would be appreciated.

Where's the source for DGC-P2Pool? This seems like it should be impossible with vanilla P2Pool.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
CartmanSPC
Legendary
*
Offline Offline

Activity: 1148



View Profile WWW
August 30, 2013, 02:50:30 AM
 #6537

Where's the source for DGC-P2Pool? This seems like it should be impossible with vanilla P2Pool.

https://github.com/CartmanSPC/p2pool

Files modified:
p2pool/networks.py
p2pool/bitcoin/networks.py

rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
August 30, 2013, 06:50:28 AM
 #6538

Have received this error twice now. This is on a DGC p2pool with 30 Mh/s. When the error occurs it stops all mining until the pool is restarted.

Based off of p2pool 13.3. 6 nodes with one having 98% of the hashrate. Any help would be appreciated.

Where's the source for DGC-P2Pool? This seems like it should be impossible with vanilla P2Pool.
You can also use my fork for altcoins: https://github.com/Rav3nPL/p2pool-rav

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
diskodasa
Member
**
Offline Offline

Activity: 84


BTC 1Hek4mF4sHcpEJpQdeKwN2i1rVrK5JcZuy


View Profile
August 31, 2013, 11:22:24 AM
 #6539

I have a huge problem! Shocked I didn't recieve payments from last 2 found blocks!!! My miner is working constantly but the last payment is from 29.08.2013 after that nothing.... This is my BTC address 1HhnzLoam81FRcrjBJkGYVHoWduDwsqs6C

1Hek4mF4sHcpEJpQdeKwN2i1rVrK5JcZuy
IYFTech
Hero Member
*****
Offline Offline

Activity: 686


WANTED: Active dev to fix & re-write p2pool in C


View Profile
August 31, 2013, 12:00:55 PM
 #6540

Hey guys - looking for a bit of advice here. Just done a complete reinstall Xubuntu 12.04 after my SSD conked out. While doing so, I decided to move my wallet data to a separate SSD in an effort to reduce strain/latency/wear on the main system SSD. When I start my *coind's (merged mining) everything syncs up fine, but when I start the p2pool program it fails to load any shares, starts going straight to work & spits out py errors about still downloading shares. All my config files are exactly the same as before so I'm wondering if I need a different setting for p2pool because the data files are on a separate drive? I start my *coind's with the added command:

-datadir=/path/to/data  -  everything works there, is there something I need to add to the p2pool startup command as well?

This is the first time I've had my wallet data on a separate drive, and the first time I've had any problems with my configuration not working. All dependencies/packages are installed/checked/double checked. Any ideas/advice would be greatly appreciated  Wink

EDIT: I'm sure it's a basic, simple mistake I've made - I just can't see it....... Roll Eyes

EDIT1:  Or, am I the only person using a separate drive for their wallet data on p2pool.......and this is a bug?

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
Pages: « 1 ... 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 [327] 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 ... 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!