Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: Vince on July 04, 2011, 02:31:19 AM



Title: Hashing algorithm question
Post by: Vince on July 04, 2011, 02:31:19 AM
Just out of curiosity: do I need to find all nounces that produce a valid hash or can I just leave some out? I'm not going to annoy some pool, just connecting to the local client.


Title: Re: Hashing algorithm question
Post by: antares on July 04, 2011, 06:52:49 AM
no you don't have to search the entire nonce - in fact those basic clients don'T do it either. They go through nonce-space until their getwork time interval is reached. For example, if you use ufasoft miner(default getwork interval 15 sec) and have 11MH/s on your CPU, it will search until nonce is 11MH/s*15s = nonce[165000000] and then fetch another data block. If you want to be efficient though you should do search all of nonce.


Title: Re: Hashing algorithm question
Post by: Vince on July 04, 2011, 08:34:58 AM
Thank you!