0

suppose for example if nonce is 32 bit then the total possibility of hashing attempts is 2^32 ( 4,294,967,296 ) times only, but why it is mentioned in every article as PH/s or EH/s (1,000,000,000,000,000,000) or even more. so the question is, is network hash rate different from total possible hash (2^32) expected to do by miner ?

1 Answer 1

0

I'm not sure if there is any standard for the nonce range. After a bit of digging Geth uses 64 bits: Will miners meet the situation that they can not find the nonce? and 2^64 is already a lot bigger number.

I'm not sure if you know how the mining actually works, but in any case let me clarify. The aim is to find a hash value which has small enough numerical value. This target numerical value changes between blocks and is called difficulty. So the miners try to find a nonce with which the block's hash has a numerical value below the target difficulty. If blocks start to take too long to mine the target difficulty goes up and it's again easier to to find the right nonce and blocks get faster - and vice versa.

So the hash rate always means how many hashes are tried per second - essentially how many different nonces are tried. Individual hash rate is simply the hash rate a single entity (computer?) produces and network hash rate is the combined hash rate of all miners.

There is no maximum for the network hash rate as in theory everyone can just try the same nonce all the time with lots of computing power - the same applies for individual maximum hash rate. The maximum amount of different nonces depends on the size of the nonce integer, and as mentioned above I'm not sure what is the standard for that. Also each miner chooses which transactions to include in his/her block so the input also changes per miner - therefore different miners using the same nonce get different output.

4
  • I know from here en.bitcoin.it/wiki/Block_hashing_algorithm the process of mining, how it works I read 2^32 + some padding if target not achieved, the question still remains what is difference between "network hash rate" and "max possible attempts miner can made by changing nonce + padding " ?
    – ashwin
    Aug 24, 2020 at 3:09
  • Bitcoin's mining is a bit different from Ethereum's, but the basic idea is the same. Modified answer to add info about theoretical maximums. Aug 24, 2020 at 4:59
  • OK got the difference , one last query comes out of it, while mining every individual ( individual or pool ) attempts hashing with same set of input, or it is mandatory to have different input for all or it depends on miner what set of transactions he picks up to create input ?
    – ashwin
    Aug 24, 2020 at 5:24
  • Each miner chooses which transactions to include in his/her block. Please post a new question if you have further questions, thanks. Aug 24, 2020 at 5:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.