Bitcoin mining long polling
I have a few machines mining litecoins, and I noticed a flag available to turn on and off called long poll. It's on by default with recent miners, but you can turn it off by entereing --no-longpoll in your command line. When Slush implemented long polls priority broadcast he said the following:
" I succesfully implemented prioritization of longpoll broadcasts. It means that crappy CPU miners don't block LP broadcasts for regular miners using GPU or strong rigs, because priority is calculated from average hashrate over last 10 blocks. This of course means that QoS is not instant - if you're new on the pool, you need to wait some time to get higher priority. You can watch average hashrate (that's the same number which longpolling daemon use for prioritization) on your profile. You don't need to do anything on your side, it's transparent for miners. "Here's another great explanation from btcmine.com "
The way a standard piece of mining software works:
1) When the miner is run, the operator passes in a number of seconds after which the program should ask for more "work" (called a "getwork request" or just "getwork") or the program uses whatever its default number is (usually 5 or 10 seconds). 2) The miner requests this "work" from the server it is connected to. 3) The miner hashes this "work" in search of a hash for the next block. 4) Whether the miner has searched this header thoroughly or not, after the number of seconds set in step one, the miner asks for a new piece of "work" in order to make sure the hash it is searching for is still the correct one.
Source: bitbash.blogspot.com
Related posts:
- Bitcoin Mining on Android
- Bitcoin mining i7 2600k
- Bitcoin mining odds
- Bitcoin mining whirlpool
- Bitcoin mining pool client