4 ms·
>"Currently, a successful hash must start with approximately 17 zeros, so only one out of 1.4 x 10^20 hashes will be successful." Can someone elaborate on the
by bogomipz 9y ago
>"Currently, a successful hash must start with approximately 17 zeros, so only one out of 1.4 x 10^20 hashes will be successful."
Can someone elaborate on the math here? How do we get to 1 in 1.4 x 10^20 ?
- nerdlogic 9y agoAssuming uniformly random hashes, shouldn't it be 1/2^17?
- carry_bit 9y agoIt's probably 17 hexadecimal zeros.
- dmurray 9y agoYes, as shown in the second image in the article where the successful hash starts with sixteen hexadecimal zeros.
- bogomipz 9y agoI'm still not following can you break it down?
- dmurray 9y agoThe hash is a cryptographically random number. For it to be successful, it must start with seventeen zeros (base 16). The chance of a random number starting like that is 1 in 16^17, which is about equal to 1 in 3 x 10^20. I can't reproduce the calculation from the article that got 1.4 x 10^20. But it does say "approximately 17 zeros" so maybe it really meant "the first 16 hex digits must be zero and the 17th must be either zero or one". That would give close to the right numbers, if I haven't messed up.