Bitcoin Forum
December 07, 2016, 06:36:42 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 ... 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 378 379 380 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2032475 times)
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
September 07, 2013, 12:22:46 PM
 #6581

p2pool already has several unique features that can be used to identify the blocks.

And if you want your signature in a block, the patch to bitcoind is trivial.  Smiley

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481135802
Hero Member
*
Offline Offline

Posts: 1481135802

View Profile Personal Message (Offline)

Ignore
1481135802
Reply with quote  #2

1481135802
Report to moderator
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
September 07, 2013, 01:13:03 PM
 #6582

p2pool already has several unique features that can be used to identify the blocks.

Are they the same every block or do they vary? Also, could you share what some of them are?

And if you want your signature in a block, the patch to bitcoind is trivial.  Smiley

Except I'm not a miner anymore Sad

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
ShadesOfMarble
Donator
Hero Member
*
Offline Offline

Activity: 543



View Profile
September 07, 2013, 04:33:35 PM
 #6583

And if you want your signature in a block, the patch to bitcoind is trivial.  Smiley
How is it done? Cheesy

Review of the Spondoolies-Tech SP10 „Dawson“ Bitcoin miner (1.4 TH/s)

[22:35] <Vinnie_win> Did anyone get paid yet? | [22:36] <Isokivi> pirate did!
kjj
Legendary
*
Offline Offline

Activity: 1302



View Profile
September 07, 2013, 05:07:29 PM
 #6584

And if you want your signature in a block, the patch to bitcoind is trivial.  Smiley
How is it done? Cheesy

I use this in the binary for p2pcoin's bitcoind:

Code: (init.cpp)
    const char* pszP2PCOIN = "[P2PCOINv0]";
    COINBASE_FLAGS << std::vector<unsigned char>(pszP2PCOIN, pszP2PCOIN+strlen(pszP2PCOIN));

I also have command line options for -addtag and -addhextag that I use to add my personal tags.  They are done pretty much the same way.

p2pcoin: a USB/CD/PXE p2pool miner - 1N8ZXx2cuMzqBYSK72X4DAy1UdDbZQNPLf - todo
I routinely ignore posters with paid advertising in their sigs.  You should too.
ShadesOfMarble
Donator
Hero Member
*
Offline Offline

Activity: 543



View Profile
September 07, 2013, 08:08:54 PM
 #6585

Thanks!

Review of the Spondoolies-Tech SP10 „Dawson“ Bitcoin miner (1.4 TH/s)

[22:35] <Vinnie_win> Did anyone get paid yet? | [22:36] <Isokivi> pirate did!
gmaxwell
Moderator
Legendary
*
Offline Offline

Activity: 2030



View Profile
September 08, 2013, 07:05:32 AM
 #6586

Are they the same every block or do they vary? Also, could you share what some of them are?
The last output in the coinbase is the special P2P hashchain commitment. It has zero value and it now looks like OP_RETURN PUSH <data>.
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
September 08, 2013, 07:25:13 AM
 #6587

Are they the same every block or do they vary? Also, could you share what some of them are?
The last output in the coinbase is the special P2P hashchain commitment. It has zero value and it now looks like OP_RETURN PUSH <data>.


Thanks gmaxwell. Is there anywhere a script could pull the special P2P hashchain commitment from if and when it changes (in order to do a regex search of the coinbase)? Or is that something you'd have to run a p2Pool node in order to do?

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
September 08, 2013, 08:08:42 AM
 #6588

Are they the same every block or do they vary? Also, could you share what some of them are?
The last output in the coinbase is the special P2P hashchain commitment. It has zero value and it now looks like OP_RETURN PUSH <data>.


Thanks gmaxwell. Is there anywhere a script could pull the special P2P hashchain commitment from if and when it changes (in order to do a regex search of the coinbase)? Or is that something you'd have to run a p2Pool node in order to do?

The <data> will always be different and depends entirely on P2Pool's sharechain, so I don't think it's too useful. Instead, the second to last txout will always be to the donation address (1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4) and then you can match the template of the last txout (0 value to OP_RETURN PUSH <data>). Either of those alone is probably good enough, but combined should work very well.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
organofcorti
Donator
Legendary
*
Offline Offline

Activity: 1960


Poor impulse control.


View Profile WWW
September 08, 2013, 09:23:49 AM
 #6589

Are they the same every block or do they vary? Also, could you share what some of them are?
The last output in the coinbase is the special P2P hashchain commitment. It has zero value and it now looks like OP_RETURN PUSH <data>.


Thanks gmaxwell. Is there anywhere a script could pull the special P2P hashchain commitment from if and when it changes (in order to do a regex search of the coinbase)? Or is that something you'd have to run a p2Pool node in order to do?

The <data> will always be different and depends entirely on P2Pool's sharechain, so I don't think it's too useful. Instead, the second to last txout will always be to the donation address (1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4) and then you can match the template of the last txout (0 value to OP_RETURN PUSH <data>). Either of those alone is probably good enough, but combined should work very well.

Thanks forrestv. I didn't think of looking for the donation address to confirm.

Bitcoin network and pool analysis 12QxPHEuxDrs7mCyGSx1iVSozTwtquDB3r
follow @oocBlog for new post notifications
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
September 08, 2013, 05:07:40 PM
 #6590

Can I say I'm disappointed?

I went from an AMD Sempron (with the second core unlocked by BIOS) to a six core Phenom II and GBT time is the same!

http://imgur.com/St1vbAO

WTF?

spiccioli
HellDiverUK
Hero Member
*****
Offline Offline

Activity: 574


View Profile
September 08, 2013, 05:28:18 PM
 #6591

p2pool really needs a fast clockspeed.  More cores won't make any difference. 

Only time I got decent performance from it was running it on an i3-3220.  3.3GHz, running bitcoin-qt with high priority on Windows.  It floated around 0.2s latency then.  On a Celeron 847 (dual 1.1GHz) it ran around 0.6-1.0s, and a Sempron X2 190 it was about 0.5s on average.
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
September 08, 2013, 05:32:20 PM
 #6592

p2pool really needs a fast clockspeed.  More cores won't make any difference. 

Only time I got decent performance from it was running it on an i3-3220.  3.3GHz, running bitcoin-qt with high priority on Windows.  It floated around 0.2s latency then.  On a Celeron 847 (dual 1.1GHz) it ran around 0.6-1.0s, and a Sempron X2 190 it was about 0.5s on average.

I thought (hoped) that the bigger caches of the Phenom and the ability to run p2pool code and bitcoind (which has a lot of threads) on more cores would have ended helping up GBT times... I was wrong Smiley

spiccioli
gyverlb
Hero Member
*****
Offline Offline

Activity: 896



View Profile
September 08, 2013, 05:55:03 PM
 #6593

forrestv: maybe it's time to measure the Bitcoin p2pool hashrate in TH/s in the thread's title?

I suppose the current title reflects the weekly average (we are at 11.6TH/s for the last 24h).
Looking at the monthly graph we have a sustained rise over the month with a sudden spike 3 days ago. We are tailing Eligius/Bitminter/Ozcoin, not there yet but not so much to add to catch up, it's 10TH/s+ time !

Good job of making p2pool ASIC friendly, seems many miners have found out p2pool is working beautifully for them.

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
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
September 08, 2013, 06:04:45 PM
 #6594

forrestv: maybe it's time to measure the Bitcoin p2pool hashrate in TH/s in the thread's title?

I suppose the current title reflects the weekly average (we are at 11.6TH/s for the last 24h).
Looking at the monthly graph we have a sustained rise over the month with a sudden spike 3 days ago. We are tailing Eligius/Bitminter/Ozcoin, not there yet but not so much to add to catch up, it's 10TH/s+ time !

Good job of making p2pool ASIC friendly, seems many miners have found out p2pool is working beautifully for them.
Pyramining. Wink

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
gmaxwell
Moderator
Legendary
*
Offline Offline

Activity: 2030



View Profile
September 08, 2013, 09:35:33 PM
 #6595

I suppose the current title reflects the weekly average (we are at 11.6TH/s for the last 24h).
I've been updating it to reflect the weekly average... daily is kinda noisy and I'd rather understate it during growth than have it bounce all over or be accused of sandbagging.
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
September 08, 2013, 11:50:35 PM
 #6596

Are they the same every block or do they vary? Also, could you share what some of them are?
The last output in the coinbase is the special P2P hashchain commitment. It has zero value and it now looks like OP_RETURN PUSH <data>.


Thanks gmaxwell. Is there anywhere a script could pull the special P2P hashchain commitment from if and when it changes (in order to do a regex search of the coinbase)? Or is that something you'd have to run a p2Pool node in order to do?

The <data> will always be different and depends entirely on P2Pool's sharechain, so I don't think it's too useful. Instead, the second to last txout will always be to the donation address (1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4) and then you can match the template of the last txout (0 value to OP_RETURN PUSH <data>). Either of those alone is probably good enough, but combined should work very well.

Thanks forrestv. I didn't think of looking for the donation address to confirm.

That's what p2pool.info does, essentially.  Note, I would also suggest excluding any blocks that do not have at least 25 outputs.  There are some non-main p2pool installations running out there (either forks, or someone running their own mini-pool with the p2pool codebase).  They all have only a few people mining on them, as far as I know, so their blocks only have a handful of outputs (besides the donation address and the special last transaction).

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
Krellan
Member
**
Offline Offline

Activity: 105


View Profile
September 09, 2013, 12:53:21 AM
 #6597

Are they the same every block or do they vary? Also, could you share what some of them are?
The last output in the coinbase is the special P2P hashchain commitment. It has zero value and it now looks like OP_RETURN PUSH <data>.


Thanks gmaxwell. Is there anywhere a script could pull the special P2P hashchain commitment from if and when it changes (in order to do a regex search of the coinbase)? Or is that something you'd have to run a p2Pool node in order to do?

The <data> will always be different and depends entirely on P2Pool's sharechain, so I don't think it's too useful. Instead, the second to last txout will always be to the donation address (1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4) and then you can match the template of the last txout (0 value to OP_RETURN PUSH <data>). Either of those alone is probably good enough, but combined should work very well.

Wow, that's great to know!  Good to know that there is a signature of sorts.

Curious if it would be a good feature for p2pool to add more of an obvious signature to its blocks?  I'm not that familiar with the block layout of Bitcoin, but going by previous blocks, there's certainly a facility there to embed some arbitrary text.  I would keep it very simple, just "P2Pool", so as not to take up much space.

Or, give the winning miner the opportunity to insert some text of their choice into their share/block (perhaps paid for out of their share, to make up for the loss of giving up space in the block that would otherwise hold more profitable transaction fees)?  I can see this being seriously misused, though, maybe best not to offer this feature.

Josh

1JUZr4TZ5zuB4WdEv4mrhZMaM7yttpJvLG Smiley
Krellan
Member
**
Offline Offline

Activity: 105


View Profile
September 09, 2013, 12:57:14 AM
 #6598

I use this in the binary for p2pcoin's bitcoind:

Code: (init.cpp)
    const char* pszP2PCOIN = "[P2PCOINv0]";
    COINBASE_FLAGS << std::vector<unsigned char>(pszP2PCOIN, pszP2PCOIN+strlen(pszP2PCOIN));

I also have command line options for -addtag and -addhextag that I use to add my personal tags.  They are done pretty much the same way.

Nice!  Sounds like a great idea.

1JUZr4TZ5zuB4WdEv4mrhZMaM7yttpJvLG Smiley
Krellan
Member
**
Offline Offline

Activity: 105


View Profile
September 09, 2013, 12:59:47 AM
 #6599

While I appreciate the props, p2Pool has been in the weekly pool stats on the blog since the start:

http://organofcorti.blogspot.com.au/2012/07/weekly-pool-statistics-29072012.html

This is the first time p2Pool was in my weekly stats.

Nice!  I stand corrected.  Didn't know you were lurking on this forum here Smiley

I checked back a few weeks on the blog entries, didn't see anything, and just assumed it hadn't been listed.  Didn't check all the way back to the start.

Very good charts/graphs.  Nice data crunching!

Josh

1JUZr4TZ5zuB4WdEv4mrhZMaM7yttpJvLG Smiley
daemondazz
Sr. Member
****
Offline Offline

Activity: 294



View Profile
September 10, 2013, 12:19:59 AM
 #6600

Erg, variance and luck suck:

Pool Hashrate: 10482.5 GH/s
Estimated Time to Block: 9h 53m
Current Round: 2d 1h 41m

Computers, Amateur Radio, Electronics, Aviation - 1dazzrAbMqNu6cUwh2dtYckNygG7jKs8S
Pages: « 1 ... 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 378 379 380 ... 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!