Post
Topic
Board Pools
Re: [400GH/s] p2pool: Decentralized, DoS-resistant, Hop-Proof pool
by
kano
on 13/11/2012, 01:20:28 UTC
* Stratum support in the P2Pool protocol. Stratum mining will be enabled in a future patch to v9.
I think this is great news, allowing p2pool to scale to any size in the future, taking a lot of load off the local p2pool software itself, allowing it to concentrate on the business of getting those blocks and transactions out ASAP. Sending higher difficulty targets to the miner will take it even further.
I agree.  What I'm curious about is how it's there, but not enabled, and why?

I simply haven't written the code for a Stratum server yet. Getting support into the P2Pool protocol and everyone switched over so it will work once implemented was the priority.
Heh - I was arguing that it should just work then got corrected (pointed out I was wrong) and worked out why back here:
https://bitcointalk.org/index.php?topic=18313.msg1311688#msg1311688

You now seem to be saying it will 'just' work Tongue

Implementing Stratum in P2Pool without adding the extra p2pool coinbase rules to the miner will be no different to using GetWork as far as I see.
Since without those rules, the only thing the miner can do is roll the nonce and the time.
So in reality it will just be 'getwork' not 'stratum' going to the miner.

You will still only be using roll-n-time in the miner until the miner knows the P2Pool rules to add to Stratum - since stratum updates the secondary nonce in the coinbase but of course doesn't update anything else in there, since for non-share chain, nothing else is required - but for p2pool you do have to change something for the share-chain (I've no idea exactly where it is in there)