In btc mining, miners should guess a nonce that produce the right hash.
I just want to know the way of guessing.( in btc-wallet or in cgminer).
Does it begin with 0 and continue the increment(+1).
Does it just initial a random number and randomly change it.