Categories
Bitcoin Cryptocurrency Mastering Development

In Bitcoin, what happens if there is no viable nonce?

I’m assuming SHA is perfectly uniform. In bitcoin, there are $2^{32}$ possible inputs per block, which are mapped to $2^{256}$ possible outputs. So there is a $1/2^{224}$ chance that any randomly picked 256-bit string is a possible output hash of one of the possible nonce values. So that means there are $2^{32}$ possible output 256-bit […]