Question for the nerds!!!
will rented hash work ? or will it not cos this isn't the same Blake257 algo.
@wolf0
@ocminer
you know yourselves.
Well.. You should be able to rent out getwork rigs too.. It's just a matter of the rental service to integrate getwork instead/beside stratum but getwork is not really meant for such things, it's a old, http based protocol vs. stratum which ls lightweight, tcp based with calls/broadcasts like "mining.notify" when new blocks are seen on the network. Long time ago getwork was not able to tell when new blocks on the network showed up, so the miner literally continued to mine on the old block until the pool then lastly noticed there IS a new block and with the next http request the miner threw away the old work (stales) and started mining on the new block. This was later tried to fix with LP (LongPoll). LP uses a separate connection to the Pool (still http) which should notify about new blocks. This works, simplified, so that the miner pings the pool every 50 or 100ms "Is there a new block?" and the pool answers with "No" - or "Yes" if there's a new block which then leads to a refresh of the miners work.
Still you have a gap of 49 or 99ms between every LP check - which is quite a lot but setting this interval higher, like every 10ms, causes a big load on the pool, especially when you have lots of miners there. Just imagine 100 miners, polling every 10 ms "Is there a new Block?" from the pool.. It like sitting in a Subway and all the passengers shout "I want to get out here" every tenth of a second... The more people you have in there, the louder it gets, and at some point the pool is just overloaded and not working anymore.
Getwork is old and deprecated - definitely.
Stratum was introduced by slush as a websocket protocol. It's TCP based, miners don't poll the pool every 10ms or 100ms - they don't even need to make a second connection for long poll, they simply establish ONE connection over which they get data submitted from which they then generate their own work - so they don't need to ask the pool anymore for new work and if a new block at the network shows up - the pool does a broadcast "mining.notify" via this single TCP connection (every miner has) to notify them to poll new base work to work on - it's simply the way it should be.
I don't want to be boring here with such technical stuff, it's just a matter of time until stratum will be and shall be used IMHO - getwork will just not scale enough.
Read more here if you're interested in history and technical stuff
https://mining.bitcoin.cz/help/#!/manual/stratum-protocol#lp